[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <698a7d6d-eceb-6c27-cca2-517218aec78f@huawei.com>
Date: Fri, 4 Dec 2020 15:48:41 +0800
From: "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>
To: Rob Herring <robh+dt@...nel.org>, Pavel Machek <pavel@....cz>,
Dan Murphy <dmurphy@...com>,
linux-leds <linux-leds@...r.kernel.org>,
Lee Jones <lee.jones@...aro.org>,
Benson Leung <bleung@...omium.org>,
"Enric Balletbo i Serra" <enric.balletbo@...labora.com>,
Guenter Roeck <groeck@...omium.org>,
Mark Brown <broonie@...nel.org>,
linux-spi <linux-spi@...r.kernel.org>,
Lubomir Rintel <lkundrak@...sk>,
devicetree <devicetree@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/6] ARM: dts: mmp2-olpc-xo-1-75: explicitly add
#address-cells=<0> for slave mode
Hi everybody:
Can somebody apply this patch? When I do any YAML dtbs_check on arm, below Warnings always reported.
arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): /soc/apb@...00000/spi@...37000: incorrect #address-cells for SPI bus
also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3
arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): /soc/apb@...00000/spi@...37000: incorrect #size-cells for SPI bus
also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3
arch/arm/boot/dts/mmp2-olpc-xo-1-75.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
On 2020/10/14 0:08, Zhen Lei wrote:
> Delete the old property "#address-cells" and then explicitly add it with
> zero value. The value of "#size-cells" is already zero, so keep it no
> change.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
> ---
> arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
> index f1a41152e9dd70d..be88b6e551d58e9 100644
> --- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
> +++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts
> @@ -224,7 +224,7 @@
>
> &ssp3 {
> /delete-property/ #address-cells;
> - /delete-property/ #size-cells;
> + #address-cells = <0>;
> spi-slave;
> status = "okay";
> ready-gpio = <&gpio 125 GPIO_ACTIVE_HIGH>;
>
Powered by blists - more mailing lists