From: Adam Sampson Date: Fri, 23 Oct 2015 22:36:27 +0000 (+0100) Subject: ARM: sun7i: dt: Enable audio codec on pcDuino V3 Nano X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e04a61c04a4ac242682820be7c89da5dbb183851;p=linux-beck.git ARM: sun7i: dt: Enable audio codec on pcDuino V3 Nano The pcDuino V3 Nano has a 3.5mm TRRS jack socket for audio, using the CTIA standard pinout, connected to HPOUTL, HPOUTR, HPCOM/HPCOMFB and MICIN1/VMIC (via appropriate RC networks) on the A20. The PH00 GPIO is wired for headphone plug detection: it reads 0 when nothing's plugged in, and 1 when a plug is inserted. LINEINL/R and FMINL/R are not connected. Signed-off-by: Adam Sampson Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts index 1757a6ad74e9..ddac7328b852 100644 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts @@ -82,6 +82,10 @@ status = "okay"; }; +&codec { + status = "okay"; +}; + &cpu0 { cpu-supply = <®_dcdc2>; };