openwrt/target/linux/bcm27xx/patches-6.6/950-0972-ARM-dts-bcm2712-Move-soc-sound-to-bcm2712-rpi.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

45 lines
1.3 KiB
Diff

From 82f410643cb9bdb18be919c06e9a7cba5f2a3783 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 18 Mar 2024 15:00:55 +0000
Subject: [PATCH 0972/1085] ARM: dts: bcm2712: Move /soc/sound to bcm2712-rpi
The /soc/sound node is not a feature of the bcm2712 hardware, rather a
Raspberry Pi convention of where to declare soundcards. Move it to
bcm2712-rpi.dtsi accordingly, at the same time marking it as disabled
so that runtime overlay application causes the soundcard device to be
created.
See: https://forums.raspberrypi.com/viewtopic.php?t=367530
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi | 4 ++++
arch/arm/boot/dts/broadcom/bcm2712.dtsi | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
--- a/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi
@@ -158,6 +158,10 @@ pciex4: &pcie2 { };
reg = <0x7d510700 0x20>;
chardev-name = "gpiomem4";
};
+
+ sound: sound {
+ status = "disabled";
+ };
};
i2c0: &rp1_i2c0 { };
--- a/arch/arm/boot/dts/broadcom/bcm2712.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2712.dtsi
@@ -720,9 +720,6 @@
dma-names = "audio-rx";
status = "disabled";
};
-
- sound: sound {
- };
};
arm-pmu {