aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/littlemill.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-02 12:36:06 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-02 12:37:54 -0500
commit8f103167fecb1f4b5888fbcfc81b67e3c810dee0 (patch)
tree61a5ec7345be8280b6763733c48d43efc18beef5 /sound/soc/samsung/littlemill.c
parent91e20854e58075231c72a9c63d4454616787557e (diff)
ASoC: Map microphones on Littlemill
Littlemill has one analogue microphone on the board (connected to IN1LN) and an array of four DMICs connected to both DMICDAT lines. The biases can be selected by jumpers but pick the default jumper fit. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/littlemill.c')
-rw-r--r--sound/soc/samsung/littlemill.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c
index 5d7680f4b7c1..5cea59beec9f 100644
--- a/sound/soc/samsung/littlemill.c
+++ b/sound/soc/samsung/littlemill.c
@@ -147,11 +147,21 @@ static struct snd_soc_dai_link littlemill_dai[] = {
147 147
148static struct snd_soc_dapm_widget widgets[] = { 148static struct snd_soc_dapm_widget widgets[] = {
149 SND_SOC_DAPM_HP("Headphone", NULL), 149 SND_SOC_DAPM_HP("Headphone", NULL),
150
151 SND_SOC_DAPM_MIC("AMIC", NULL),
152 SND_SOC_DAPM_MIC("DMIC", NULL),
150}; 153};
151 154
152static struct snd_soc_dapm_route audio_paths[] = { 155static struct snd_soc_dapm_route audio_paths[] = {
153 { "Headphone", NULL, "HPOUT1L" }, 156 { "Headphone", NULL, "HPOUT1L" },
154 { "Headphone", NULL, "HPOUT1R" }, 157 { "Headphone", NULL, "HPOUT1R" },
158
159 { "AMIC", NULL, "MICBIAS1" }, /* Default for AMICBIAS jumper */
160 { "IN1LN", NULL, "AMIC" },
161
162 { "DMIC", NULL, "MICBIAS2" }, /* Default for DMICBIAS jumper */
163 { "DMIC1DAT", NULL, "DMIC" },
164 { "DMIC2DAT", NULL, "DMIC" },
155}; 165};
156 166
157static struct snd_soc_jack littlemill_headset; 167static struct snd_soc_jack littlemill_headset;