ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036
authorRob Herring <robh@kernel.org>
Thu, 13 Sep 2018 18:12:36 +0000 (13:12 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 17 Sep 2018 07:41:56 +0000 (09:41 +0200)
dtc has new checks for SPI buses. The rk3036 dts file has a node named
spi' which causes false positive warnings. As the node is a pinctrl child
node, change the node name to be 'spi-pins' to fix the warnings.

arch/arm/boot/dts/rk3036-evb.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus
arch/arm/boot/dts/rk3036-kylin.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus
arch/arm/boot/dts/rk3036-evb.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus
arch/arm/boot/dts/rk3036-kylin.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus

Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3036.dtsi

index 67f5720..d560fc4 100644 (file)
                        /* no rts / cts for uart2 */
                };
 
-               spi {
+               spi-pins {
                        spi_txd:spi-txd {
                                rockchip,pins = <1 29 RK_FUNC_3 &pcfg_pull_default>;
                        };