aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-08-09 19:22:36 -0400
committerMark Brown <broonie@kernel.org>2019-08-12 09:02:38 -0400
commit79631210fc413546d0ed73632ff904ded5192cc9 (patch)
tree1d8be41acfbdc7d5e76166296b9162ff705dbec6 /sound
parent0181d2853126db0717de6bd5b3287f1c87faf7c3 (diff)
ASoC: Intel: skl-hda-dsp-generic: add dmic dapm widget and route
Adding DAPM MIC endpoint widget "SoC DMIC" and route, to enable DMIC DAPM support with hda generic machine. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190809232236.21182-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/boards/skl_hda_dsp_generic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/skl_hda_dsp_generic.c b/sound/soc/intel/boards/skl_hda_dsp_generic.c
index 9ed68eb4f058..1778acdc367c 100644
--- a/sound/soc/intel/boards/skl_hda_dsp_generic.c
+++ b/sound/soc/intel/boards/skl_hda_dsp_generic.c
@@ -23,6 +23,7 @@ static const struct snd_soc_dapm_widget skl_hda_widgets[] = {
23 SND_SOC_DAPM_MIC("Alt Analog In", NULL), 23 SND_SOC_DAPM_MIC("Alt Analog In", NULL),
24 SND_SOC_DAPM_SPK("Digital Out", NULL), 24 SND_SOC_DAPM_SPK("Digital Out", NULL),
25 SND_SOC_DAPM_MIC("Digital In", NULL), 25 SND_SOC_DAPM_MIC("Digital In", NULL),
26 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
26}; 27};
27 28
28static const struct snd_soc_dapm_route skl_hda_map[] = { 29static const struct snd_soc_dapm_route skl_hda_map[] = {
@@ -41,6 +42,9 @@ static const struct snd_soc_dapm_route skl_hda_map[] = {
41 { "Codec Input Pin2", NULL, "Digital In" }, 42 { "Codec Input Pin2", NULL, "Digital In" },
42 { "Codec Input Pin3", NULL, "Alt Analog In" }, 43 { "Codec Input Pin3", NULL, "Alt Analog In" },
43 44
45 /* digital mics */
46 {"DMic", NULL, "SoC DMIC"},
47
44 /* CODEC BE connections */ 48 /* CODEC BE connections */
45 { "Analog Codec Playback", NULL, "Analog CPU Playback" }, 49 { "Analog Codec Playback", NULL, "Analog CPU Playback" },
46 { "Analog CPU Playback", NULL, "codec0_out" }, 50 { "Analog CPU Playback", NULL, "codec0_out" },