All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: shawnguo@kernel.org
Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam <festevam@denx.de>
Subject: [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus
Date: Wed,  6 Dec 2023 12:00:21 -0300	[thread overview]
Message-ID: <20231206150023.2305685-4-festevam@gmail.com> (raw)
In-Reply-To: <20231206150023.2305685-1-festevam@gmail.com>

From: Fabio Estevam <festevam@denx.de>

The USB PHY nodes should not be described under 'simple-bus'.

Move it out of simple-bus.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 .../dts/nxp/imx/imx27-phytec-phycore-rdk.dts  | 15 ++++++--------
 .../dts/nxp/imx/imx27-phytec-phycore-som.dtsi | 20 +++++++------------
 2 files changed, 13 insertions(+), 22 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts
index 7f0cd4d3ec2d..b7df7f20ec04 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts
@@ -48,15 +48,12 @@ regulator-2 {
 		regulator-always-on;
 	};
 
-	usbphy {
-		usbphy2: usbphy@2 {
-			compatible = "usb-nop-xceiv";
-			reg = <2>;
-			vcc-supply = <&reg_5v0>;
-			clocks = <&clks IMX27_CLK_DUMMY>;
-			clock-names = "main_clk";
-			#phy-cells = <0>;
-		};
+	usbphy2: usbphy {
+		compatible = "usb-nop-xceiv";
+		vcc-supply = <&reg_5v0>;
+		clocks = <&clks IMX27_CLK_DUMMY>;
+		clock-names = "main_clk";
+		#phy-cells = <0>;
 	};
 };
 
diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
index dc316358a7d4..0e527d1f9e55 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi
@@ -29,19 +29,13 @@ reg_5v0: regulator-1 {
 		regulator-max-microvolt = <5000000>;
 	};
 
-	usbphy {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		usbphy0: usbphy@0 {
-			compatible = "usb-nop-xceiv";
-			reg = <0>;
-			vcc-supply = <&sw3_reg>;
-			clocks = <&clks IMX27_CLK_DUMMY>;
-			clock-names = "main_clk";
-			#phy-cells = <0>;
-		};
+
+	usbphy0: usbphy {
+		compatible = "usb-nop-xceiv";
+		vcc-supply = <&sw3_reg>;
+		clocks = <&clks IMX27_CLK_DUMMY>;
+		clock-names = "main_clk";
+		#phy-cells = <0>;
 	};
 };
 
-- 
2.34.1


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

  parent reply	other threads:[~2023-12-06 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-06 15:00 [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Fabio Estevam
2023-12-06 15:00 ` [PATCH 2/6] ARM: dts: imx27: Use 'bus' for EMI bus Fabio Estevam
2023-12-06 15:00 ` [PATCH 3/6] ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus Fabio Estevam
2023-12-06 15:00 ` Fabio Estevam [this message]
2023-12-06 15:00 ` [PATCH 5/6] ARM: dts: imx1: Use 'bus' for AIPI bus Fabio Estevam
2023-12-06 15:00 ` [PATCH 6/6] ARM: dts: imx25: Move usbphy nodes out of simple-bus Fabio Estevam
2023-12-13 11:05 ` [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231206150023.2305685-4-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=festevam@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.