ARM: dts: sun8i-h3: orange-pi-2: Enable audio codec
Subsystems (2)
PATCH 1/1 ARM: dts: sun8i-h3: orange-pi-2: Enable audio codec
From: Marcus Cooper <[email protected]>
The Orange Pi 2 routes the LINEOUT pins through a SGM8900 PA which needs to be enabled. The onboard microphone is routed to MIC1, with MBIAS providing power.
Signed-off-by Marcus Cooper <[email protected]>
--- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +9 -0
@@ -104,6 +104,15 @@ }; }; +&codec { + allwinner,pa-gpios = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */ + allwinner,audio-routing = + "Speaker", "LINEOUT", + "MIC1", "Mic", + "Mic", "MBIAS"; + status = "okay"; +}; + &ehci1 { status = "okay"; };
Signature · 1 line
2.12.2
Maxime Ripard
AppliedPATCH 1/1 ARM: dts: sun8i-h3: orange-pi-2: Enable audio codec
Quoted 7 lines · codekipper at gmail.com
From: Marcus Cooper <[email protected]>
The Orange Pi 2 routes the LINEOUT pins through a SGM8900 PA which needs to be enabled. The onboard microphone is routed to MIC1, with MBIAS providing power.
Signed-off-by Marcus Cooper <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170510/1a3dfe55/attachment.sig>