]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec
authorChen-Yu Tsai <wens@csie.org>
Fri, 25 Nov 2016 12:34:42 +0000 (20:34 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 10 Jan 2017 17:52:53 +0000 (18:52 +0100)
The Orange Pi PC routes the LINEOUT pins to the audio out jack on the
board. The onboard microphone is routed to MIC1, with MBIAS providing
power.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts

index 98b85be61e17d68b43e24c66bf851aaa2999f254..d43978d3294e57c6cce1cb97b9d534d8c182e7e2 100644 (file)
        };
 };
 
+&codec {
+       allwinner,audio-routing =
+               "Line Out", "LINEOUT",
+               "MIC1", "Mic",
+               "Mic",  "MBIAS";
+       status = "okay";
+};
+
 &ehci1 {
        status = "okay";
 };