From: Chen-Yu Tsai Date: Fri, 25 Nov 2016 12:34:42 +0000 (+0800) Subject: ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=282d45ba4788f98e3cf056cfadb9875db7d3b7f6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec 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 Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts index 98b85be61e17..d43978d3294e 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts @@ -90,6 +90,14 @@ }; }; +&codec { + allwinner,audio-routing = + "Line Out", "LINEOUT", + "MIC1", "Mic", + "Mic", "MBIAS"; + status = "okay"; +}; + &ehci1 { status = "okay"; };