ARM: sun7i: dt: Enable audio codec on pcDuino V3 Nano
Subsystems (2)
PATCH 1/1 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.
--- arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +4 -0
@@ -82,6 +82,10 @@ status = "okay"; }; +&codec { + status = "okay"; +}; + &cpu0 { cpu-supply = <®_dcdc2>; };
Signature · 1 line
2.1.4
PATCH 1/1 ARM: sun7i: dt: Enable audio codec on pcDuino V3 Nano
Hi,
Quoted 7 lines · Adam Sampson
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.
Ah, so there's a design out there with headphone detect. Cool :)
Do you feel like writing the headphone detection code?
Anyway, queued for 4.5, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151027/2bba340d/attachment.sig>