* [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus
@ 2023-12-06 15:00 Fabio Estevam
2023-12-06 15:00 ` [PATCH 2/6] ARM: dts: imx27: Use 'bus' for EMI bus Fabio Estevam
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
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#
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm/boot/dts/nxp/imx/imx27.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx27.dtsi b/arch/arm/boot/dts/nxp/imx/imx27.dtsi
index cac4b3d68986..ec472695c71e 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx27.dtsi
@@ -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>;
--
2.34.1
_______________________________________________
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] 7+ messages in thread
* [PATCH 2/6] ARM: dts: imx27: Use 'bus' for EMI bus
2023-12-06 15:00 [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Fabio Estevam
@ 2023-12-06 15:00 ` Fabio Estevam
2023-12-06 15:00 ` [PATCH 3/6] ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus Fabio Estevam
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
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#
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm/boot/dts/nxp/imx/imx25.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx25.dtsi b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
index 21c968341b3c..d0193d6f2d08 100644
--- a/arch/arm/boot/dts/nxp/imx/imx25.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
@@ -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>;
--
2.34.1
_______________________________________________
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] 7+ messages in thread
* [PATCH 3/6] ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus
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 ` Fabio Estevam
2023-12-06 15:00 ` [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes " Fabio Estevam
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The USB PHY should not be described under 'simple-bus'.
Move it out of simple-bus.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm/boot/dts/nxp/imx/imx27-pdk.dts | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx27-pdk.dts b/arch/arm/boot/dts/nxp/imx/imx27-pdk.dts
index 35123b7cb6b3..21d436972aa4 100644
--- a/arch/arm/boot/dts/nxp/imx/imx27-pdk.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx27-pdk.dts
@@ -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>;
};
};
--
2.34.1
_______________________________________________
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] 7+ messages in thread
* [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus
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
2023-12-06 15:00 ` [PATCH 5/6] ARM: dts: imx1: Use 'bus' for AIPI bus Fabio Estevam
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
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 = <®_5v0>;
- clocks = <&clks IMX27_CLK_DUMMY>;
- clock-names = "main_clk";
- #phy-cells = <0>;
- };
+ usbphy2: usbphy {
+ compatible = "usb-nop-xceiv";
+ vcc-supply = <®_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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/6] ARM: dts: imx1: Use 'bus' for AIPI bus
2023-12-06 15:00 [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Fabio Estevam
` (2 preceding siblings ...)
2023-12-06 15:00 ` [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes " Fabio Estevam
@ 2023-12-06 15:00 ` 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
5 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
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#
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm/boot/dts/nxp/imx/imx1.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx1.dtsi b/arch/arm/boot/dts/nxp/imx/imx1.dtsi
index 4aeb74479f44..1ac10965fdfd 100644
--- a/arch/arm/boot/dts/nxp/imx/imx1.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx1.dtsi
@@ -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>;
--
2.34.1
_______________________________________________
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] 7+ messages in thread
* [PATCH 6/6] ARM: dts: imx25: Move usbphy nodes out of simple-bus
2023-12-06 15:00 [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Fabio Estevam
` (3 preceding siblings ...)
2023-12-06 15:00 ` [PATCH 5/6] ARM: dts: imx1: Use 'bus' for AIPI bus Fabio Estevam
@ 2023-12-06 15:00 ` Fabio Estevam
2023-12-13 11:05 ` [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2023-12-06 15:00 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, Fabio Estevam
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>
---
arch/arm/boot/dts/nxp/imx/imx25.dtsi | 28 ++++++++++------------------
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx25.dtsi b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
index d0193d6f2d08..e7b7f22b5e89 100644
--- a/arch/arm/boot/dts/nxp/imx/imx25.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx25.dtsi
@@ -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>;
- };
- };
};
--
2.34.1
_______________________________________________
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] 7+ messages in thread
* Re: [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus
2023-12-06 15:00 [PATCH 1/6] ARM: dts: imx27: Use 'bus' for AIPI bus Fabio Estevam
` (4 preceding siblings ...)
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 ` Shawn Guo
5 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2023-12-13 11:05 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-arm-kernel, Fabio Estevam
On Wed, Dec 06, 2023 at 12:00:18PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> 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#
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Applied all, 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] 7+ messages in thread
end of thread, other threads:[~2023-12-13 11:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 4/6] ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes " Fabio Estevam
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
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).