Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1505197pxa; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy71cbUSVr8bBaPpaqEGlADtfx3nWg1f+8bjWrGLK++Vjqnu0cdfBceF1WNTkAK5Lq8mw+G X-Received: by 2002:a17:907:405f:: with SMTP id ns23mr1234531ejb.511.1598186032726; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598186032; cv=none; d=google.com; s=arc-20160816; b=XY2MozjwwngrTByBORrKk6mf4HqFLkZaoT6cfG9suqFXR1eWl2Rr3PwiRJjNFS9UIo Y9OY34uVR0ZK7bxk+4YwoyD8kfn9twxOX1NSFvyQ1fEc3fhG9nPGnbfGCKuyjTvGpTPX MP7v5OE3FnIHL0mK3abvgms8ehwA5XOPHwgfC6H8mSuwbt7tuuy0rxYeI2xghXb1i6pu oWm7iAAhLUKZU9fblzJQMSZIj8C1lQU91KclpjS+FjGklkLomTDmTzMW/A7nibTaVWjt U4nYIY0iD5MgojVmoI2TU6FhNFNp+BT8A6ITmho3geAVfBgIej5hKmm+9KtzQ5M4OjrL tbfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=7Q2L3S0X681KZg/ZH6XV+6zI2irZ/XAke+lTkOfb128=; b=jQYwA0QebMrXZm74A0B6JKcl0uhzXNj3OkqrBAsEt+CmvfrX9CSA1Unonmc3CxVGlN JkYY0OVpQyNCDRnbY9hjbkMf8+q7LuMg2wG71Ie2fkxBrAxYFeiq0h20gOqe7DGYQCXC 7l5mq/kCIIJQHdI7hsDSXk5oyy0EejGptIxj/k/sFA+PYJJGm2KsmGMXJDRm1AwpkM3L eKl+pVLAwERxPtm2gRuLZqtqItG5LnfArvP5ywXBg2BhLFfHjctAXeBDtoUylDBvcLdu +Y3Zfa1jkt64VNhC5qRy1vZvbrLRbV6T8WfScHoUYZyyH39gE9meENLFYDELjWrqBsbQ h5bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RU5YtbIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c21si4901474edv.187.2020.08.23.05.33.06; Sun, 23 Aug 2020 05:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RU5YtbIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727047AbgHWLPf (ORCPT + 99 others); Sun, 23 Aug 2020 07:15:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:52852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbgHWLPX (ORCPT ); Sun, 23 Aug 2020 07:15:23 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 73B17207BB; Sun, 23 Aug 2020 11:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598181323; bh=/s6rlS3ucQ3ewRxqmyT9G1nLBvNtwJqGfOnCMXRZBuM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RU5YtbIZHeY1kpZRXH37e7ax8uejtwtvccHXJrv1sBqUebenoxx85jwYom2soE5aB FKyaPPG73h9wTYWSp6ak9Rq5X5CbaCYsnfZntvCAedv/Stz1jpNlTH1YJfmnpv74wV +dSDfxJsB1lGGSO1SEogFp90sSIfZVs7beOoI2oY= From: Krzysztof Kozlowski To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/5] arm64: dts: imx8mq-phanbell: Replace deprecated phy reset properties Date: Sun, 23 Aug 2020 13:15:06 +0200 Message-Id: <20200823111508.1165-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823111508.1165-1-krzk@kernel.org> References: <20200823111508.1165-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use preferred properties of phy node instead of deprecated phy-reset-gpios (and others). This avoids copying deprecated code into future DTSes. Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts index 77ab568fae67..3f541ddf0768 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts @@ -262,9 +262,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; - phy-reset-post-delay = <50>; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay"; @@ -275,6 +272,9 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <50000>; }; }; }; -- 2.17.1