summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
diff options
context:
space:
mode:
authorAdam Sampson <ats@offog.org>2015-10-23 23:36:27 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-11-17 09:40:07 +0100
commite04a61c04a4ac242682820be7c89da5dbb183851 (patch)
tree8ff9d2a75fafadfa62519dab6049879ea2da5828 /arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
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 <ats@offog.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts4
1 files changed, 4 insertions, 0 deletions
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 = <&reg_dcdc2>;
};