mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 08:11:45 +00:00
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From e04a61c04a4ac242682820be7c89da5dbb183851 Mon Sep 17 00:00:00 2001
|
|
From: Adam Sampson <ats@offog.org>
|
|
Date: Fri, 23 Oct 2015 23:36:27 +0100
|
|
Subject: 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>
|
|
---
|
|
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
|
|
index 1757a6a..ddac732 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>;
|
|
};
|
|
--
|
|
cgit v0.11.2
|
|
|