]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: dts: vf610-bk4: fix incorrect #address-cells for dspi3
authorShawn Guo <shawnguo@kernel.org>
Sat, 12 Jan 2019 01:02:51 +0000 (09:02 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jan 2019 01:12:58 +0000 (09:12 +0800)
commit00ccd4532c8a61e6c65ca62eb7b6da6a272c30f1
tree4af44a27edc3de005551e3d016372c18291b4ac4
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
ARM: dts: vf610-bk4: fix incorrect #address-cells for dspi3

The dspi3 is used as slave controller on vf610-bk4, and the default
'#address-cells = <1>;' setting in vfxxx.dtsi causes the following DTC
warning.

  DTC     arch/arm/boot/dts/vf610-bk4.dtb
../arch/arm/boot/dts/vfxxx.dtsi:550.24-563.6: Warning (spi_bus_bridge): /soc/aips-bus@40080000/spi@400ad000: incorrect #address-cells for SPI bus
  also defined at ../arch/arm/boot/dts/vf610-bk4.dts:107.8-119.3
arch/arm/boot/dts/vf610-bk4.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'

For spi device used as slave controller, '#address-cells' should be 0.
Let's overwrite the property in vf610-bk4.dts to fix the warning.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-bk4.dts