diff mbox series

[RESEND] ARM: bcm47094: add missing #cells for mdio-bus-mux

Message ID 20190722145618.1155492-1-arnd@arndb.de (mailing list archive)
State Mainlined, archived
Commit 3a9d2569e45cb02769cda26fee4a02126867c934
Headers show
Series [RESEND] ARM: bcm47094: add missing #cells for mdio-bus-mux | expand

Commit Message

Arnd Bergmann July 22, 2019, 2:55 p.m. UTC
The mdio-bus-mux has no #address-cells/#size-cells property,
which causes a few dtc warnings:

arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning (reg_format): /mdio-bus-mux/mdio@200:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #address-cells value
arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #size-cells value

Add the normal cell numbers.

Fixes: 2bebdfcdcd0f ("ARM: dts: BCM5301X: Add support for Linksys EA9500")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
As Florian is apparently on vacation at the moment, let's merge this
as a bugfix through arm-soc directly to get closer to clean allmodconfig
build.
---
 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 +++
 1 file changed, 3 insertions(+)

Comments

via Linux.Kernel.Org July 22, 2019, 3:31 p.m. UTC | #1
On Mon, Jul 22, 2019, 16:56 Arnd Bergmann <arnd@arndb.de> wrote:

> The mdio-bus-mux has no #address-cells/#size-cells property,
> which causes a few dtc warnings:
>
> arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning
> (reg_format): /mdio-bus-mux/mdio@200:reg: property has invalid length (4
> bytes) (#address-cells == 2, #size-cells == 1)
> arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning
> (pci_device_bus_num): Failed prerequisite 'reg_format'
> arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (i2c_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (spi_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning
> (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default
> #address-cells value
> arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning
> (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default
> #size-cells value
>
> Add the normal cell numbers.
>
> Fixes: 2bebdfcdcd0f ("ARM: dts: BCM5301X: Add support for Linksys EA9500")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> As Florian is apparently on vacation at the moment, let's merge this
> as a bugfix through arm-soc directly to get closer to clean allmodconfig
> build.
>

Please fix up the subject to be ARM: dts: bcm for the prefix thanks

>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#189): https://linux.kernel.org/g/patchwork-soc/message/189
Mute This Topic: https://linux.kernel.org/mt/32559630/1554929
Mute #cells: https://linux.kernel.org/mk?hashtag=cells&subid=3438807
Group Owner: patchwork-soc+owner@linux.kernel.org
Unsubscribe: https://linux.kernel.org/g/patchwork-soc/unsub  [patchwork-linux-kernel-org@patchwork.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
index 18d0ae46e76c..0faae8950375 100644
--- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
@@ -124,6 +124,9 @@ 
 	};
 
 	mdio-bus-mux {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
 		/* BIT(9) = 1 => external mdio */
 		mdio_ext: mdio@200 {
 			reg = <0x200>;