Skip to contentSkip to conversation

ARM: dts: imx27: Use 'bus' for AIPI bus

PATCH Applied Fabio Estevam 2 participants 7 messages Dec 6, 2023 – Dec 13, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/6 ARM: dts: imx27: Use 'bus' for AIPI bus

From: Fabio Estevam <[email protected]>

Per simple-bus.yaml, 'aipi' is not a valid node name.

Change it to 'bus' to fix the following dt-schema warning:

imx27-pdk.dtb: aipi@10020000: $nodename:0: 'aipi@10020000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
 arch/arm/boot/dts/nxp/imx/imx27.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx27.dtsi +2 -2
index cac4b3d68986..ec472695c71e 100644
@@ -81,7 +81,7 @@ soc: soc {
 		interrupt-parent = <&aitc>;
 		ranges;
 
-		aipi1: aipi@10000000 { /* AIPI1 */
+		aipi1: bus@10000000 { /* AIPI1 */
 			compatible = "fsl,aipi-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -453,7 +453,7 @@ gpt6: timer@1001f000 {
 			};
 		};
 
-		aipi2: aipi@10020000 { /* AIPI2 */
+		aipi2: bus@10020000 { /* AIPI2 */
 			compatible = "fsl,aipi-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
Signature · 7 lines
2.34.1


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

PATCH 2/6 ARM: dts: imx27: Use 'bus' for EMI bus

From: Fabio Estevam <[email protected]>

Per simple-bus.yaml, 'emi' is not a valid node name.

Change it to 'bus' to fix the following dt-schema warning:

imx25-pdk.dtb: emi@80000000: $nodename:0: 'emi@80000000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
 arch/arm/boot/dts/nxp/imx/imx25.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx25.dtsi +1 -1
index 21c968341b3c..d0193d6f2d08 100644
@@ -597,7 +597,7 @@ iram: sram@78000000 {
 			#size-cells = <1>;
 		};
 
-		emi@80000000 {
+		bus@80000000 {
 			compatible = "fsl,emi-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#2 lore raw

PATCH 3/6 ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Move it out of simple-bus.

---
 arch/arm/boot/dts/nxp/imx/imx27-pdk.dts | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
arch/arm/boot/dts/nxp/imx/imx27-pdk.dts +6 -12
index 35123b7cb6b3..21d436972aa4 100644
@@ -14,18 +14,12 @@ memory@a0000000 {
 		reg = <0xa0000000 0x08000000>;
 	};
 
-	usbphy {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		usbphy0: usbphy@0 {
-			compatible = "usb-nop-xceiv";
-			reg = <0>;
-			clocks = <&clks IMX27_CLK_DUMMY>;
-			clock-names = "main_clk";
-			#phy-cells = <0>;
-		};
+
+	usbphy0: usbphy {
+		compatible = "usb-nop-xceiv";
+		clocks = <&clks IMX27_CLK_DUMMY>;
+		clock-names = "main_clk";
+		#phy-cells = <0>;
 	};
 };
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#3 lore raw

PATCH 4/6 ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Move it out of simple-bus.

---
 .../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(-)
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dts +6 -9
index 7f0cd4d3ec2d..b7df7f20ec04 100644
@@ -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>;
 	};
 };
 
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi +7 -13
index dc316358a7d4..0e527d1f9e55 100644
@@ -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>;
 	};
 };
 
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#4 lore raw

PATCH 5/6 ARM: dts: imx1: Use 'bus' for AIPI bus

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Per simple-bus.yaml, 'aipi' is not a valid node name.

Change it to 'bus' to fix the following dt-schema warning:

imx1-apf9328.dtb: aipi@200000: $nodename:0: 'aipi@200000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

---
 arch/arm/boot/dts/nxp/imx/imx1.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx1.dtsi +2 -2
index 4aeb74479f44..1ac10965fdfd 100644
@@ -68,7 +68,7 @@ soc {
 		interrupt-parent = <&aitc>;
 		ranges;
 
-		aipi@200000 {
+		bus@200000 {
 			compatible = "fsl,aipi-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -155,7 +155,7 @@ uart3: serial@20a000 {
 			};
 		};
 
-		aipi@210000 {
+		bus@210000 {
 			compatible = "fsl,aipi-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#5 lore raw

PATCH 6/6 ARM: dts: imx25: Move usbphy nodes out of simple-bus

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Move it out of simple-bus.

---
 arch/arm/boot/dts/nxp/imx/imx25.dtsi | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)
arch/arm/boot/dts/nxp/imx/imx25.dtsi +10 -18
index d0193d6f2d08..e7b7f22b5e89 100644
@@ -68,6 +68,16 @@ osc {
 		};
 	};
 
+	usbphy0: usb-phy0 {
+		compatible = "usb-nop-xceiv";
+		#phy-cells = <0>;
+	};
+
+	usbphy1: usb-phy1 {
+		compatible = "usb-nop-xceiv";
+		#phy-cells = <0>;
+	};
+
 	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
@@ -617,22 +627,4 @@ nfc: nand@bb000000 {
 			};
 		};
 	};
-
-	usbphy {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		usbphy0: usb-phy@0 {
-			reg = <0>;
-			compatible = "usb-nop-xceiv";
-			#phy-cells = <0>;
-		};
-
-		usbphy1: usb-phy@1 {
-			reg = <1>;
-			compatible = "usb-nop-xceiv";
-			#phy-cells = <0>;
-		};
-	};
 };
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#6 lore raw
In reply to Fabio Estevam
Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per simple-bus.yaml, 'aipi' is not a valid node name.

Change it to 'bus' to fix the following dt-schema warning:

imx27-pdk.dtb: aipi@10020000: $nodename:0: 'aipi@10020000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#

Applied all, thanks!

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