Skip to contentSkip to conversation

ASoC: Intel: kbl: Add map for Maxim IV Feedback

PATCH Superseded Naveen M 2 participants 2 messages Aug 23, 2017 – Aug 25, 2017

Subsystems (3)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Naveen M

author
#0 lore raw

PATCH v3 1/1 ASoC: Intel: kbl: Add map for Maxim IV Feedback

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.

v2: rebased on newer kernel (d46b182)
v3: moved version changelog info after s-o-b lines

---
 sound/soc/intel/boards/kbl_rt5663_max98927.c        | 5 +++++
 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 5 +++++
 2 files changed, 10 insertions(+)
sound/soc/intel/boards/kbl_rt5663_max98927.c +5 -0
index c144214..8d2a1c0 100644
@@ -107,6 +107,11 @@ enum {
 	{ "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" },
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +5 -0
index c2ef538..8d19da9 100644
@@ -119,6 +119,11 @@ enum {
 	{ "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" },
Signature · 1 line
1.9.1
#1 lore raw
Quoted 10 lines · Naveen M

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.

v2: rebased on newer kernel (d46b182)
v3: moved version changelog info after s-o-b lines
---

it should be:

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.

---
v2: rebased on newer kernel (d46b182)
v3: moved version changelog info after s-o-b lines

sound/soc/intel/boards/kbl_rt5663_max98927.c | 5 +++++
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 5 +++++

2 files changed, 10 insertions(+)

and so on...

Quoted 35 lines
sound/soc/intel/boards/kbl_rt5663_max98927.c +5 -0
index c144214..8d2a1c0 100644
@@ -107,6 +107,11 @@ enum {
 	{ "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" },
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +5 -0
index c2ef538..8d19da9 100644
@@ -119,6 +119,11 @@ enum {
 	{ "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" },
Signature · 1 line
1.9.1
Signature · 1 line
~Vinod