devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] arm64: dts: imx8mm-evk: Replace deprecated phy reset properties
@ 2020-08-23 11:15 Krzysztof Kozlowski
  2020-08-23 11:15 ` [PATCH 2/5] arm64: dts: imx8mq-evk: " Krzysztof Kozlowski
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-23 11:15 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, devicetree, linux-arm-kernel,
	linux-kernel
  Cc: Krzysztof Kozlowski

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 <krzk@kernel.org>

---

Not tested on HW.
---
 arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
index 19a22d0d0730..c1f7d44651df 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts
@@ -119,8 +119,6 @@
 	pinctrl-0 = <&pinctrl_fec1>;
 	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
-	phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
-	phy-reset-duration = <10>;
 	fsl,magic-packet;
 	status = "okay";
 
@@ -131,6 +129,8 @@
 		ethphy0: ethernet-phy@0 {
 			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
+			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
+			reset-assert-us = <10000>;
 		};
 	};
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-30  6:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-23 11:15 [PATCH 1/5] arm64: dts: imx8mm-evk: Replace deprecated phy reset properties Krzysztof Kozlowski
2020-08-23 11:15 ` [PATCH 2/5] arm64: dts: imx8mq-evk: " Krzysztof Kozlowski
2020-08-23 11:15 ` [PATCH 3/5] arm64: dts: imx8mq-phanbell: " Krzysztof Kozlowski
2020-08-23 11:15 ` [PATCH 4/5] arm64: dts: imx8mq-sr-som: " Krzysztof Kozlowski
2020-08-23 11:15 ` [PATCH 5/5] arm64: dts: imx8mq-thor96: " Krzysztof Kozlowski
2020-08-30  6:53 ` [PATCH 1/5] arm64: dts: imx8mm-evk: " Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).