mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: Chen-Yu Tsai <wens@csie.org>,
	alsa-devel@alsa-project.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Mylene Josserand <mylene.josserand@free-electrons.com>
Subject: [PATCH v2 8/8] ARM: dts: sun8i-h3: orange-pi-pc: Enable audio codec
Date: Fri, 25 Nov 2016 20:34:42 +0800	[thread overview]
Message-ID: <20161125123442.28410-9-wens@csie.org> (raw)
In-Reply-To: <20161125123442.28410-1-wens@csie.org>

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

  parent reply	other threads:[~2016-11-25 12:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 12:34 [PATCH v2 0/8] ASoC: sunxi: Add support for audio codec in A23/H3 SoCs Chen-Yu Tsai
2016-11-25 12:34 ` [PATCH v2 1/8] mfd: sun6i-prcm: Add codec analog controls sub-device for Allwinner A23 Chen-Yu Tsai
2016-11-25 12:57   ` Maxime Ripard
2016-12-09 11:22   ` Lee Jones
2016-11-25 12:34 ` [PATCH v2 2/8] ASoC: sun4i-codec: Add support for A23 codec Chen-Yu Tsai
2016-11-25 12:57   ` Maxime Ripard
2016-11-25 12:34 ` [PATCH v2 3/8] ARM: dts: sun8i: Add codec analog path controls node in PRCM for A23/A33 Chen-Yu Tsai
2016-11-25 12:34 ` [PATCH v2 4/8] ARM: dts: sun8i-a23: Add device node for internal audio codec Chen-Yu Tsai
2016-11-25 12:34 ` [PATCH v2 5/8] ARM: dts: sun8i-a23: q8-tablet: Enable " Chen-Yu Tsai
2016-11-25 12:34 ` [PATCH v2 6/8] ASoC: sun4i-codec: Add support for H3 codec Chen-Yu Tsai
2016-11-25 12:58   ` Maxime Ripard
2016-11-25 12:34 ` [PATCH v2 7/8] ARM: dts: sun8i-h3: Add device nodes for audio codec and its analog controls Chen-Yu Tsai
2016-11-25 12:34 ` Chen-Yu Tsai [this message]
2017-01-07 19:00 ` [PATCH v2 0/8] ASoC: sunxi: Add support for audio codec in A23/H3 SoCs Chen-Yu Tsai
2017-01-08 21:56   ` Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161125123442.28410-9-wens@csie.org \
    --to=wens@csie.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mylene.josserand@free-electrons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®