ASoC: Intel: kbl: Add map for Maxim IV Feedback
authorNaveen Manohar <naveen.m@intel.com>
Fri, 25 Aug 2017 21:51:39 +0000 (03:21 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 29 Aug 2017 18:47:37 +0000 (19:47 +0100)
MAX98927 provides IV feedback on the capture widget.
Here we are connecting the capture widget to SSP0_RX and
SSP0_RX to the algorithm running on host.

Signed-off-by: Naveen M <naveen.m@intel.com>
Signed-off-by: Sathya Prakash M R <sathya.prakash.m.r@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

index 3fa85c3..7f76074 100644 (file)
@@ -105,6 +105,11 @@ static const struct snd_soc_dapm_route kabylake_map[] = {
        { "hs_in", NULL, "ssp1 Rx" },
        { "ssp1 Rx", NULL, "AIF Capture" },
 
+       /* IV feedback path */
+       { "codec0_fb_in", NULL, "ssp0 Rx"},
+       { "ssp0 Rx", NULL, "Left HiFi Capture" },
+       { "ssp0 Rx", NULL, "Right HiFi Capture" },
+
        /* DMIC */
        { "dmic01_hifi", NULL, "DMIC01 Rx" },
        { "DMIC01 Rx", NULL, "DMIC AIF" },
index 11bd5ef..4689991 100644 (file)
@@ -117,6 +117,11 @@ static const struct snd_soc_dapm_route kabylake_map[] = {
        { "codec1_in", NULL, "ssp0 Rx" },
        { "ssp0 Rx", NULL, "AIF1 Capture" },
 
+       /* IV feedback path */
+       { "codec0_fb_in", NULL, "ssp0 Rx"},
+       { "ssp0 Rx", NULL, "Left HiFi Capture" },
+       { "ssp0 Rx", NULL, "Right HiFi Capture" },
+
        /* DMIC */
        { "DMIC1L", NULL, "DMIC" },
        { "DMIC1R", NULL, "DMIC" },