From: Chen-Yu Tsai Date: Mon, 7 Nov 2016 10:07:03 +0000 (+0800) Subject: ARM: dts: sun6i: sina31s: Enable internal audio codec X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=caed8b581578da50b90d484d85b7e06e437bc999;p=linux-beck.git ARM: dts: sun6i: sina31s: Enable internal audio codec 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 Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts index 6ead2f5c847a..c35ec112f5a0 100644 --- a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts +++ b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts @@ -65,6 +65,14 @@ }; }; +&codec { + allwinner,audio-routing = + "Line Out", "LINEOUT", + "MIC1", "Mic", + "Mic", "MBIAS"; + status = "okay"; +}; + &ehci0 { /* USB 2.0 4 port hub IC */ status = "okay";