ARM: dts: bcm2835_audio missing firmware reference
authorPhil Elwell <phil@raspberrypi.com>
Mon, 18 Oct 2021 10:12:42 +0000 (11:12 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Mon, 18 Oct 2021 10:12:42 +0000 (11:12 +0100)
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

index dc30224..efca672 100644 (file)
        /* Onboard audio */
        audio: bcm2835_audio {
                compatible = "brcm,bcm2835-audio";
+               brcm,firmware = <&firmware>;
                brcm,pwm-channels = <8>;
                status = "disabled";
        };