ARM: dts: sun6i: sina31s: Enable internal audio codec
authorChen-Yu Tsai <wens@csie.org>
Mon, 7 Nov 2016 10:07:03 +0000 (18:07 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 22 Nov 2016 14:34:04 +0000 (15:34 +0100)
The SinA31s routes the SoC's LINEOUT pins to a line out jack, and MIC1
to a microphone jack, with MBIAS providing phantom power.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31s-sina31s.dts

index 6ead2f5..c35ec11 100644 (file)
        };
 };
 
+&codec {
+       allwinner,audio-routing =
+               "Line Out", "LINEOUT",
+               "MIC1", "Mic",
+               "Mic",  "MBIAS";
+       status = "okay";
+};
+
 &ehci0 {
        /* USB 2.0 4 port hub IC */
        status = "okay";