linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys
@ 2021-07-21 16:39 Marek Vasut
  2021-07-21 17:10 ` Fabio Estevam
  2021-07-23  8:30 ` [PATCH] arm64: dts: imx8m: Replace deprecated fsl,usbphy " Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2021-07-21 16:39 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Marek Vasut, Fabio Estevam, NXP Linux Team, Shawn Guo

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++++--
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index e7648c3b83905..ddaab25b6bdb0 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -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";
 			};
diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index d4231e061403f..43763d9abc848 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -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>;
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys
  2021-07-21 16:39 [PATCH] arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys Marek Vasut
@ 2021-07-21 17:10 ` Fabio Estevam
  2021-07-23  8:30 ` [PATCH] arm64: dts: imx8m: Replace deprecated fsl,usbphy " Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2021-07-21 17:10 UTC (permalink / raw)
  To: Marek Vasut
  Cc: moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	NXP Linux Team, Shawn Guo

Hi Marek,

On Wed, Jul 21, 2021 at 1:40 PM Marek Vasut <marex@denx.de> wrote:
>
> 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.

Reviewed-by: Fabio Estevam <festevam@gmail.com>

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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: dts: imx8m: Replace deprecated fsl,usbphy DT props with phys
  2021-07-21 16:39 [PATCH] arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys Marek Vasut
  2021-07-21 17:10 ` Fabio Estevam
@ 2021-07-23  8:30 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2021-07-23  8:30 UTC (permalink / raw)
  To: Marek Vasut; +Cc: linux-arm-kernel, Fabio Estevam, NXP Linux Team

On Wed, Jul 21, 2021 at 06:39:55PM +0200, Marek Vasut wrote:
> The fsl,usbphy DT property is deprecated, replace it with phys DT
> property and specify #phy-cells. No functional change.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP Linux Team <linux-imx@nxp.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> To: linux-arm-kernel@lists.infradead.org

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-07-23  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 16:39 [PATCH] arm64: dts: imx8m: Replace deprecated fsl, usbphy DT props with phys Marek Vasut
2021-07-21 17:10 ` Fabio Estevam
2021-07-23  8:30 ` [PATCH] arm64: dts: imx8m: Replace deprecated fsl,usbphy " 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).