Commit 8f103167 authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 91e20854
...@@ -147,11 +147,21 @@ static struct snd_soc_dai_link littlemill_dai[] = { ...@@ -147,11 +147,21 @@ static struct snd_soc_dai_link littlemill_dai[] = {
static struct snd_soc_dapm_widget widgets[] = { static struct snd_soc_dapm_widget widgets[] = {
SND_SOC_DAPM_HP("Headphone", NULL), SND_SOC_DAPM_HP("Headphone", NULL),
SND_SOC_DAPM_MIC("AMIC", NULL),
SND_SOC_DAPM_MIC("DMIC", NULL),
}; };
static struct snd_soc_dapm_route audio_paths[] = { static struct snd_soc_dapm_route audio_paths[] = {
{ "Headphone", NULL, "HPOUT1L" }, { "Headphone", NULL, "HPOUT1L" },
{ "Headphone", NULL, "HPOUT1R" }, { "Headphone", NULL, "HPOUT1R" },
{ "AMIC", NULL, "MICBIAS1" }, /* Default for AMICBIAS jumper */
{ "IN1LN", NULL, "AMIC" },
{ "DMIC", NULL, "MICBIAS2" }, /* Default for DMICBIAS jumper */
{ "DMIC1DAT", NULL, "DMIC" },
{ "DMIC2DAT", NULL, "DMIC" },
}; };
static struct snd_soc_jack littlemill_headset; static struct snd_soc_jack littlemill_headset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment