Skip to contentSkip to conversation

arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys

PATCH Applied Marek Vasut 3 participants 3 messages Jul 21, 2021 – Jul 23, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys

The fsl,usbphy DT property is deprecated, replace it with phys DT property and specify #phy-cells. No functional change.

Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Shawn Guo <[email protected]>

To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++++--
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +4 -2
index e7648c3b83905..ddaab25b6bdb0 100644
@@ -241,6 +241,7 @@ map0 {
 	};
 
 	usbphynop1: usbphynop1 {
+		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
 		clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
 		assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
@@ -249,6 +250,7 @@ usbphynop1: usbphynop1 {
 	};
 
 	usbphynop2: usbphynop2 {
+		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
 		clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
 		assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
@@ -968,7 +970,7 @@ usbotg1: usb@32e40000 {
 				clock-names = "usb1_ctrl_root_clk";
 				assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
 				assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
-				fsl,usbphy = <&usbphynop1>;
+				phys = <&usbphynop1>;
 				fsl,usbmisc = <&usbmisc1 0>;
 				status = "disabled";
 			};
@@ -987,7 +989,7 @@ usbotg2: usb@32e50000 {
 				clock-names = "usb1_ctrl_root_clk";
 				assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
 				assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
-				fsl,usbphy = <&usbphynop2>;
+				phys = <&usbphynop2>;
 				fsl,usbmisc = <&usbmisc2 0>;
 				status = "disabled";
 			};
arch/arm64/boot/dts/freescale/imx8mn.dtsi +2 -1
index d4231e061403f..43763d9abc848 100644
@@ -971,7 +971,7 @@ usbotg1: usb@32e40000 {
 				clock-names = "usb1_ctrl_root_clk";
 				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
 				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
-				fsl,usbphy = <&usbphynop1>;
+				phys = <&usbphynop1>;
 				fsl,usbmisc = <&usbmisc1 0>;
 				status = "disabled";
 			};
@@ -1039,6 +1039,7 @@ ddr-pmu@3d800000 {
 	};
 
 	usbphynop1: usbphynop1 {
+		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
 		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
 		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by on v1 1/1
#1 lore raw

Hi Marek,

Quoted 3 lines · Marek Vasut

The fsl,usbphy DT property is deprecated, replace it with phys DT property and specify #phy-cells. No functional change.

Yes, this is what Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt states as well.

Probably good to convert the other imx dtsi files too.

I will try to convert the other imx dtsi files when I have a chance.

Thanks

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#2 lore raw

Re: [PATCH] arm64: dts: imx8m: Replace deprecated fsl,usbphy DT props with phys

In reply to Marek Vasut
Quoted 8 lines · Marek Vasut

The fsl,usbphy DT property is deprecated, replace it with phys DT property and specify #phy-cells. No functional change.

Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Shawn Guo <[email protected]>

To: [email protected]

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel