arm64: dts: meson-axg: add linein codec
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 24 Jul 2018 12:52:34 +0000 (14:52 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 25 Jul 2018 11:38:21 +0000 (04:38 -0700)
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>
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

index 5c16788..942a89c 100644 (file)
                        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 {