Re: [PATCH v3] ARM: dts: Add support for Liebherr's BK4 device (vf610 based)
From: Fabio Estevam
Date: Wed Dec 05 2018 - 18:12:46 EST
Hi Lukasz/Rob,
On Tue, Oct 9, 2018 at 7:50 AM Lukasz Majewski <lukma@xxxxxxx> wrote:
> +&dspi3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_dspi3>;
> + bus-num = <3>;
> + status = "okay";
> + spi-slave;
> +
> + slave@0 {
> + compatible = "lwn,bk4";
> + spi-max-frequency = <30000000>;
> + reg = <0>;
> + };
> +};
This is causing the following dtc warning in linux-next:
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:106.8-118.3
arch/arm/boot/dts/vf610-bk4.dtb: Warning (spi_bus_reg): Failed
prerequisite 'spi_bus_bridge'
If spi-slave property is removed the warning is gone.
Looking at drivers/spi/spi-fsl-dspi.c I don't see the "spi-slave"
property being handled there.
Any ideas on how to fix this?
Thanks