From 88dd96900754b7ff83427b2477e2785af0881db7 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 24 Jun 2024 17:03:23 +0200 Subject: [PATCH] 6.1-stable patches added patches: mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch --- ...d-missing-properties-to-the-twd-node.patch | 40 +++++++++++++++++++ queue-6.1/series | 1 + 2 files changed, 41 insertions(+) create mode 100644 queue-6.1/mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch diff --git a/queue-6.1/mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch b/queue-6.1/mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch new file mode 100644 index 00000000000..a80ca707ab6 --- /dev/null +++ b/queue-6.1/mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch @@ -0,0 +1,40 @@ +From 24b333a866a10d4be47b9968b9c05a3e9f326ff5 Mon Sep 17 00:00:00 2001 +From: Florian Fainelli +Date: Tue, 20 Dec 2022 11:09:46 -0800 +Subject: MIPS: dts: bcm63268: Add missing properties to the TWD node +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Florian Fainelli + +commit 24b333a866a10d4be47b9968b9c05a3e9f326ff5 upstream. + +We currently have a DTC warning with the current DTS due to the lack of +a suitable #address-cells and #size-cells property: + + DTC arch/mips/boot/dts/brcm/bcm63268-comtrend-vr-3032u.dtb +arch/mips/boot/dts/brcm/bcm63268.dtsi:115.5-22: Warning (reg_format): /ubus/timer-mfd@10000080/timer@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) +arch/mips/boot/dts/brcm/bcm63268.dtsi:120.5-22: Warning (reg_format): /ubus/timer-mfd@10000080/watchdog@1c:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) +arch/mips/boot/dts/brcm/bcm63268.dtsi:111.4-35: Warning (ranges_format): /ubus/timer-mfd@10000080:ranges: "ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) + +Fixes: d3db4b96ab7f ("mips: dts: bcm63268: add TWD block timer") +Signed-off-by: Florian Fainelli +Reviewed-by: Philippe Mathieu-Daudé +Signed-off-by: Thomas Bogendoerfer +Signed-off-by: Greg Kroah-Hartman +--- + arch/mips/boot/dts/brcm/bcm63268.dtsi | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/arch/mips/boot/dts/brcm/bcm63268.dtsi ++++ b/arch/mips/boot/dts/brcm/bcm63268.dtsi +@@ -109,6 +109,8 @@ + compatible = "brcm,bcm7038-twd", "simple-mfd", "syscon"; + reg = <0x10000080 0x30>; + ranges = <0x0 0x10000080 0x30>; ++ #address-cells = <1>; ++ #size-cells = <1>; + + wdt: watchdog@1c { + compatible = "brcm,bcm7038-wdt"; diff --git a/queue-6.1/series b/queue-6.1/series index aac4c8418ea..ba4843d2ce6 100644 --- a/queue-6.1/series +++ b/queue-6.1/series @@ -90,3 +90,4 @@ acpica-revert-acpica-avoid-info-mapping-multiple-bar.patch firmware-psci-fix-return-value-from-psci_system_susp.patch rdma-mlx5-add-check-for-srq-max_sge-attribute.patch kbuild-remove-support-for-clang-s-thinlto-caching.patch +mips-dts-bcm63268-add-missing-properties-to-the-twd-node.patch -- 2.47.3