[SRU][H/raspi][PATCH 3/5] ARM: dts: Give sdhost a firmware reference

Juerg Haefliger juerg.haefliger at canonical.com
Fri Nov 12 12:04:09 UTC 2021


From: Phil Elwell <phil at raspberrypi.com>

BugLink: https://bugs.launchpad.net/bugs/1950064

Using the rpi_firmware API as intended allows proper reference counting
of the firmware device and means we can remove a downstream patch to
the firmware driver.

Signed-off-by: Phil Elwell <phil at raspberrypi.com>
(cherry picked from commit 74973b1d3255bd42cc13fb5fc59c491a965302c7 linux-rpi)
Signed-off-by: Juerg Haefliger <juergh at canonical.com>
---
 arch/arm/boot/dts/bcm270x.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/bcm270x.dtsi b/arch/arm/boot/dts/bcm270x.dtsi
index 8a0e2f200997..badcf341ecd2 100644
--- a/arch/arm/boot/dts/bcm270x.dtsi
+++ b/arch/arm/boot/dts/bcm270x.dtsi
@@ -208,6 +208,7 @@ &sdhost {
 	bus-width = <4>;
 	brcm,overclock-50 = <0>;
 	brcm,pio-limit = <1>;
+	firmware = <&firmware>;
 };
 
 &spi0 {
-- 
2.30.2




More information about the kernel-team mailing list