ARM: sun7i: dt: Enable audio codec on pcDuino V3 Nano
authorAdam Sampson <ats@offog.org>
Fri, 23 Oct 2015 22:36:27 +0000 (23:36 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 17 Nov 2015 08:40:07 +0000 (09:40 +0100)
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 <ats@offog.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts

index 1757a6ad74e9c80ea59e527d7c568fb87828b950..ddac7328b852c1593fd269eca8c74ba8505a17fb 100644 (file)
        status = "okay";
 };
 
+&codec {
+       status = "okay";
+};
+
 &cpu0 {
        cpu-supply = <&reg_dcdc2>;
 };