Skip to content

Commit 855bdca

Browse files
Johan Jonkermmind
authored andcommitted
ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi
A test with the command below gives these errors: arch/arm/boot/dts/rk3229-evb.dt.yaml: spi-0: '#address-cells' is a required property arch/arm/boot/dts/rk3229-evb.dt.yaml: spi-1: '#address-cells' is a required property arch/arm/boot/dts/rk3229-xms6.dt.yaml: spi-0: '#address-cells' is a required property arch/arm/boot/dts/rk3229-xms6.dt.yaml: spi-1: '#address-cells' is a required property The $nodename pattern for spi nodes is "^spi(@.*|-[0-9a-f])*$". To prevent warnings rename 'spi-0' and 'spi-1' pinctrl sub nodenames to 'spi0' and 'spi1' in 'rk322x.dtsi'. make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/spi-controller.yaml Signed-off-by: Johan Jonker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 89ee3ac commit 855bdca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/rk322x.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@
10201020
};
10211021
};
10221022

1023-
spi-0 {
1023+
spi0 {
10241024
spi0_clk: spi0-clk {
10251025
rockchip,pins = <0 RK_PB1 2 &pcfg_pull_up>;
10261026
};
@@ -1038,7 +1038,7 @@
10381038
};
10391039
};
10401040

1041-
spi-1 {
1041+
spi1 {
10421042
spi1_clk: spi1-clk {
10431043
rockchip,pins = <0 RK_PC7 2 &pcfg_pull_up>;
10441044
};

0 commit comments

Comments
 (0)