[Letux-kernel] [Internal RFC 16/16] arm: dts: omap3pandora: Create new DT node for the sound card

H. Nikolaus Schaller hns at goldelico.com
Wed Sep 7 20:01:55 CEST 2022


From: Grond <grond66 at riseup.net>

This means that the sound card driver (snd-soc-omap3pandora) will get
loaded by default.

Signed-off-by: Grond <grond66 at riseup.net>
Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
 arch/arm/boot/dts/omap3-pandora-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-pandora-common.dtsi b/arch/arm/boot/dts/omap3-pandora-common.dtsi
index 23cc3f3606ad7..56d7b3126ea53 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -49,6 +49,13 @@ dac: pcm1773-codec {
 		status = "okay";
 	};
 
+	sound: omap3pandora-sound {
+		compatible = "openpandora,omap3pandora-sound";
+		amp-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
+		opnd,amp-supply = <&regen>;
+		status = "okay";
+	};
+
 	gpio-leds {
 
 		compatible = "gpio-leds";
-- 
2.33.0



More information about the Letux-kernel mailing list