ARM: dts: imx27: Use 'bus' for AIPI bus
Subsystems (2)
Fabio Estevam
reviewerPATCH 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
@@ -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
Fabio Estevam
reviewerPATCH 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
@@ -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
Fabio Estevam
reviewerPATCH 3/6 ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus
In reply to Fabio EstevamFrom: 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
@@ -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
Fabio Estevam
reviewerPATCH 4/6 ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus
In reply to Fabio EstevamFrom: 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
@@ -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>; }; };
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi +7 -13
@@ -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
Fabio Estevam
reviewerPATCH 5/6 ARM: dts: imx1: Use 'bus' for AIPI bus
In reply to Fabio EstevamFrom: 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
@@ -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
Fabio Estevam
reviewerPATCH 6/6 ARM: dts: imx25: Move usbphy nodes out of simple-bus
In reply to Fabio EstevamFrom: 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
@@ -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
Shawn Guo
AppliedQuoted 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#Signed-off-by Fabio Estevam <[email protected]>
Applied all, thanks!
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel