ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi
authorJohan Jonker <jbx6244@gmail.com>
Fri, 24 Apr 2020 12:39:23 +0000 (14:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 27 Apr 2020 19:36:31 +0000 (21:36 +0200)
commit855bdca1781c79eb661f89c8944c4a719ce720e8
tree9ff737d1b112fc4c239257c63dc974e7b506020e
parent89ee3ace7292d94539aae156fb6fee65460b8bc0
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 <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200424123923.8192-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk322x.dtsi