Browse Source

arm64: dts: meson-axg: add linein codec

Add the es7241 analog to digital converter which is fed by the
lienin jack of the s400

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Jerome Brunet 7 years ago
parent
commit
cfc34f041b
1 changed files with 10 additions and 0 deletions
  1. 10 0
      arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

+ 10 - 0
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

@@ -178,6 +178,16 @@
 			gpios = <&gpio_speaker 2 0>;
 		};
 	};
+
+	linein: audio-codec@0 {
+		#sound-dai-cells = <0>;
+		compatible = "everest,es7241";
+		VDDA-supply = <&vcc_3v3>;
+		VDDP-supply = <&vcc_3v3>;
+		VDDD-supply = <&vcc_3v3>;
+		status = "okay";
+		sound-name-prefix = "Linein";
+	};
 };
 
 &ethmac {