* [PATCH] ASoC: tegra: support a Mic Jack in the Tegra+RT5640 machine driver
@ 2013-08-14 20:26 Stephen Warren
2013-08-15 10:08 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2013-08-14 20:26 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown
Cc: alsa-devel, linux-tegra, Rob Herring, Pawel Moll, Mark Rutland,
Ian Campbell, devicetree, Stephen Warren
From: Stephen Warren <swarren@nvidia.com>
Add a Mic Jack widget to the Tegra+RT5640 machine driver, and document
this in the DT binding. This enables the DT to include the Mic Jack in
the audio routing table, and hence enables capture of audio, in addition
to the previously-working playback.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt | 1 +
sound/soc/tegra/tegra_rt5640.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt
index cba4f88..dc62249 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt
@@ -16,6 +16,7 @@ Required properties:
* Headphones
* Speakers
+ * Mic Jack
- nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
connected to the CODEC.
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index 08794f9..4511c5a 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -99,6 +99,7 @@ static struct snd_soc_jack_gpio tegra_rt5640_hp_jack_gpio = {
static const struct snd_soc_dapm_widget tegra_rt5640_dapm_widgets[] = {
SND_SOC_DAPM_HP("Headphones", NULL),
SND_SOC_DAPM_SPK("Speakers", NULL),
+ SND_SOC_DAPM_MIC("Mic Jack", NULL),
};
static const struct snd_kcontrol_new tegra_rt5640_controls[] = {
--
1.8.1.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: tegra: support a Mic Jack in the Tegra+RT5640 machine driver
2013-08-14 20:26 [PATCH] ASoC: tegra: support a Mic Jack in the Tegra+RT5640 machine driver Stephen Warren
@ 2013-08-15 10:08 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-08-15 10:08 UTC (permalink / raw)
To: Stephen Warren
Cc: Liam Girdwood, alsa-devel, linux-tegra, Rob Herring, Pawel Moll,
Mark Rutland, Ian Campbell, devicetree, Stephen Warren
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
On Wed, Aug 14, 2013 at 02:26:29PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> Add a Mic Jack widget to the Tegra+RT5640 machine driver, and document
> this in the DT binding. This enables the DT to include the Mic Jack in
> the audio routing table, and hence enables capture of audio, in addition
> to the previously-working playback.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-15 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 20:26 [PATCH] ASoC: tegra: support a Mic Jack in the Tegra+RT5640 machine driver Stephen Warren
2013-08-15 10:08 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).