openwrt/target/linux/bcm27xx/patches-5.15/950-0532-ARM-dts-bcm2835_audio-missing-firmware-reference.patch
Álvaro Fernández Rojas 20ea6adbf1 bcm27xx: add support for linux v5.15
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B

Signed-off-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 15:11:22 +02:00

30 lines
1.0 KiB
Diff

From ad987063207b77763e541f57535ea6b681e4ef3b Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 18 Oct 2021 11:12:42 +0100
Subject: [PATCH] ARM: dts: bcm2835_audio missing firmware reference
The firmware driver has been changed to count its clients. An earlier
commit removed the downstream patch permitting the hacky technique of
passing NULL to rpi_firmware_get to pick up the last instace, but
failed to add the necessary "firmware" property to the bcm2835_audio
node. Correct that omission.
See: https://github.com/raspberrypi/linux/issues/4634
https://github.com/raspberrypi/linux/issues/4635
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/bcm270x-rpi.dtsi | 1 +
1 file changed, 1 insertion(+)
--- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
@@ -148,6 +148,7 @@
/* Onboard audio */
audio: bcm2835_audio {
compatible = "brcm,bcm2835-audio";
+ brcm,firmware = <&firmware>;
brcm,pwm-channels = <8>;
status = "disabled";
};