Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1530191

[PATCH v2 8/8] ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH v2 8/8] ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec
Date 2016-11-25 13:50 +0100
Message-ID <sHo70-CC-49@gated-at.bofh.it> (permalink)
References <sHo6Z-CC-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The Orange Pi PC routes the LINEOUT pins to the audio out jack on the
board. The onboard microphone is routed to MIC1, with MBIAS providing
power.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
index 98b85be61e17..d43978d3294e 100644
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
@@ -90,6 +90,14 @@
 	};
 };
 
+&codec {
+	allwinner,audio-routing =
+		"Line Out", "LINEOUT",
+		"MIC1", "Mic",
+		"Mic",  "MBIAS";
+	status = "okay";
+};
+
 &ehci1 {
 	status = "okay";
 };
-- 
2.10.2

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/8] ASoC: sunxi: Add support for audio codec in A23/H3 SoCs Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100
  [PATCH v2 3/8] ARM: dts: sun8i: Add codec analog path controls node in PRCM for A23/A33 Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100
  [PATCH v2 2/8] ASoC: sun4i-codec: Add support for A23 codec Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100
    Re: [PATCH v2 2/8] ASoC: sun4i-codec: Add support for A23 codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-11-25 14:00 +0100
  [PATCH v2 7/8] ARM: dts: sun8i-h3: Add device nodes for audio codec and its analog controls Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100
  [PATCH v2 8/8] ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec Chen-Yu Tsai <wens@csie.org> - 2016-11-25 13:50 +0100

csiph-web