ASoC: Intel: Skylake: Add IVI feedback path in nau88125_ssm4567 machine
authorJeeja KP <jeeja.kp@intel.com>
Tue, 1 Mar 2016 02:29:11 +0000 (07:59 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 03:54:23 +0000 (12:54 +0900)
We can enable the IVI feedback path by connecting Left/Right
speaker sensors (codec) to  ssp0 Rx (soc-dsp). This way aDSP gets
feedback data from codec to DSP algorithms

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_nau88l25_ssm4567.c

index a75c093..f6a672c 100644 (file)
@@ -132,6 +132,8 @@ static const struct snd_soc_dapm_route skylake_map[] = {
 
        /* IV feedback path */
        { "codec0_lp_in", NULL, "ssp0 Rx"},
+       { "ssp0 Rx", NULL, "Left Capture Sense" },
+       { "ssp0 Rx", NULL, "Right Capture Sense" },
 
        { "Playback", NULL, "ssp1 Tx"},
        { "ssp1 Tx", NULL, "codec1_out"},
@@ -534,6 +536,7 @@ static struct snd_soc_dai_link skylake_dais[] = {
                .ignore_pmdown_time = 1,
                .be_hw_params_fixup = skylake_ssp_fixup,
                .dpcm_playback = 1,
+               .dpcm_capture = 1,
        },
        {
                /* SSP1 - Codec */