ASoC: Intel: board: Add BE DAI link for WoV and update DAPM machine map.
authorPawse, GuruprasadX <guruprasadx.pawse@intel.com>
Sat, 27 Jan 2018 04:20:23 +0000 (09:50 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 1 Mar 2018 19:40:04 +0000 (19:40 +0000)
Create BE DAI link for WoV and accordingly update the DAPM machine map

Signed-off-by: Pawse, GuruprasadX <guruprasadx.pawse@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bxt_rt298.c

index 875d851..c7e9024 100644 (file)
@@ -146,6 +146,9 @@ static const struct snd_soc_dapm_route geminilake_rt298_map[] = {
        { "dmic01_hifi", NULL, "DMIC01 Rx" },
        { "DMIC01 Rx", NULL, "Capture" },
 
+       { "dmic_voice", NULL, "DMIC16k Rx" },
+       { "DMIC16k Rx", NULL, "Capture" },
+
        { "hifi3", NULL, "iDisp3 Tx"},
        { "iDisp3 Tx", NULL, "iDisp3_out"},
        { "hifi2", NULL, "iDisp2 Tx"},
@@ -457,6 +460,18 @@ static struct snd_soc_dai_link broxton_rt298_dais[] = {
                .no_pcm = 1,
        },
        {
+               .name = "dmic16k",
+               .id = 2,
+               .cpu_dai_name = "DMIC16k Pin",
+               .codec_name = "dmic-codec",
+               .codec_dai_name = "dmic-hifi",
+               .platform_name = "0000:00:0e.0",
+               .be_hw_params_fixup = broxton_dmic_fixup,
+               .ignore_suspend = 1,
+               .dpcm_capture = 1,
+               .no_pcm = 1,
+       },
+       {
                .name = "iDisp1",
                .id = 3,
                .cpu_dai_name = "iDisp1 Pin",