[Letux-kernel] [PATCH 3/8] arm: dts: omap3pandora: Add device node for PCM1773 codec

Grond grond66 at riseup.net
Fri Dec 31 01:58:09 CET 2021


This will ensure that the new PCM1773 driver gets loaded automatically.

Signed-off-by: Grond <grond66 at riseup.net>
---
 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 391f53ed28d2..e251ca9efc12 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -297,6 +297,13 @@ bat: battery {
 		energy-full-design-microwatt-hours = <14800000>;
 		charge-full-design-microamp-hours = <4000000>;
 	};
+
+	dac: pcm1773-codec {
+		compatible = "ti,pcm1773";
+		vcc-supply = <&vsim>;
+		enable-gpio = <&gpio4 22 GPIO_ACTIVE_HIGH>; /* GPIO 118 */
+		status = "okay";
+	};
 };
 
 &omap3_pmx_core {
-- 
2.30.2



More information about the Letux-kernel mailing list