Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-08-16 22:01:45 +0200
committerJiri Slaby <jslaby@suse.cz>2019-08-16 22:25:10 +0200
commit7e2a0086df822c06a482fda3184e62459c7e764d (patch)
tree06d46b06fab4aa8846ee0c0de7a566107a166112
parent2e1a9eb726068178ba02918fdcfd29e4e7133edc (diff)
ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
-rw-r--r--patches.kernel.org/5.2.9-106-ARM-dts-bcm-bcm47094-add-missing-cells-for-mdio.patch48
-rw-r--r--series.conf1
2 files changed, 49 insertions, 0 deletions
diff --git a/patches.kernel.org/5.2.9-106-ARM-dts-bcm-bcm47094-add-missing-cells-for-mdio.patch b/patches.kernel.org/5.2.9-106-ARM-dts-bcm-bcm47094-add-missing-cells-for-mdio.patch
new file mode 100644
index 0000000000..09faffb288
--- /dev/null
+++ b/patches.kernel.org/5.2.9-106-ARM-dts-bcm-bcm47094-add-missing-cells-for-mdio.patch
@@ -0,0 +1,48 @@
+From: Arnd Bergmann <arnd@arndb.de>
+Date: Mon, 22 Jul 2019 16:55:52 +0200
+Subject: [PATCH] ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
+References: bnc#1012628
+Patch-mainline: 5.2.9
+Git-commit: 3a9d2569e45cb02769cda26fee4a02126867c934
+
+[ Upstream commit 3a9d2569e45cb02769cda26fee4a02126867c934 ]
+
+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.
+
+Link: https://lore.kernel.org/r/20190722145618.1155492-1-arnd@arndb.de
+Fixes: 2bebdfcdcd0f ("ARM: dts: BCM5301X: Add support for Linksys EA9500")
+Signed-off-by: Arnd Bergmann <arnd@arndb.de>
+Signed-off-by: Olof Johansson <olof@lixom.net>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+---
+ arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+index 5fd47eec4407..1679959a3654 100644
+--- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
++++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+@@ -126,6 +126,9 @@
+ };
+
+ mdio-bus-mux {
++ #address-cells = <1>;
++ #size-cells = <0>;
++
+ /* BIT(9) = 1 => external mdio */
+ mdio_ext: mdio@200 {
+ reg = <0x200>;
+--
+2.22.0
+
diff --git a/series.conf b/series.conf
index 2e509b6f71..4e85ed0ed2 100644
--- a/series.conf
+++ b/series.conf
@@ -1126,6 +1126,7 @@
patches.kernel.org/5.2.9-103-nvme-ignore-subnqn-for-ADATA-SX6000LNP.patch
patches.kernel.org/5.2.9-104-nvme-fix-memory-leak-caused-by-incorrect-subsys.patch
patches.kernel.org/5.2.9-105-ARM-davinci-fix-sleep.S-build-error-on-ARMv4.patch
+ patches.kernel.org/5.2.9-106-ARM-dts-bcm-bcm47094-add-missing-cells-for-mdio.patch
########################################################
# Build fixes that apply to the vanilla kernel too.