asoc: Add Hostless DAI for WSA CDC DMA Rx interface
Enable hostless DAI for WSA CDC DMA Rx interface for hands free profile use case. Change-Id: I3c4246414dc477cdad382b46a6dbe6770dc5b89e Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
This commit is contained in:
@@ -14485,6 +14485,11 @@ static const struct snd_kcontrol_new slim4_fm_switch_mixer_controls =
|
||||
0, 1, 0, msm_routing_get_switch_mixer,
|
||||
msm_routing_put_switch_mixer);
|
||||
|
||||
static const struct snd_kcontrol_new cdc_dma_fm_switch_mixer_controls =
|
||||
SOC_SINGLE_EXT("Switch", SND_SOC_NOPM,
|
||||
0, 1, 0, msm_routing_get_switch_mixer,
|
||||
msm_routing_put_switch_mixer);
|
||||
|
||||
static const struct snd_kcontrol_new slim6_fm_switch_mixer_controls =
|
||||
SOC_SINGLE_EXT("Switch", SND_SOC_NOPM,
|
||||
0, 1, 0, msm_routing_get_switch_mixer,
|
||||
@@ -15755,6 +15760,10 @@ static const struct snd_soc_dapm_widget msm_qdsp6_widgets[] = {
|
||||
0, 0, 0, 0),
|
||||
SND_SOC_DAPM_AIF_OUT("SLIM0_UL_HL", "SLIMBUS0_HOSTLESS Capture",
|
||||
0, 0, 0, 0),
|
||||
SND_SOC_DAPM_AIF_IN("CDC_DMA_DL_HL", "CDC_DMA_HOSTLESS Playback",
|
||||
0, 0, 0, 0),
|
||||
SND_SOC_DAPM_AIF_OUT("CDC_DMA_UL_HL", "CDC_DMA_HOSTLESS Capture",
|
||||
0, 0, 0, 0),
|
||||
SND_SOC_DAPM_AIF_OUT("CPE_LSM_UL_HL", "CPE LSM capture",
|
||||
0, 0, 0, 0),
|
||||
SND_SOC_DAPM_AIF_IN("SLIM1_DL_HL", "SLIMBUS1_HOSTLESS Playback",
|
||||
@@ -16464,6 +16473,8 @@ static const struct snd_soc_dapm_widget msm_qdsp6_widgets[] = {
|
||||
&usb_switch_mixer_controls),
|
||||
SND_SOC_DAPM_SWITCH("A2DP_SLIM7_UL_HL", SND_SOC_NOPM, 0, 0,
|
||||
&a2dp_slim7_switch_mixer_controls),
|
||||
SND_SOC_DAPM_SWITCH("WSA_CDC_DMA_RX_0_DL_HL", SND_SOC_NOPM, 0, 0,
|
||||
&cdc_dma_fm_switch_mixer_controls),
|
||||
|
||||
/* Mixer definitions */
|
||||
SND_SOC_DAPM_MIXER("PRI_RX Audio Mixer", SND_SOC_NOPM, 0, 0,
|
||||
@@ -18845,7 +18856,9 @@ static const struct snd_soc_dapm_route intercon[] = {
|
||||
{"SLIM3_UL_HL", NULL, "SLIMBUS_3_TX"},
|
||||
{"SLIM4_UL_HL", NULL, "SLIMBUS_4_TX"},
|
||||
{"SLIM8_UL_HL", NULL, "SLIMBUS_8_TX"},
|
||||
|
||||
{"WSA_CDC_DMA_RX_0_DL_HL", "Switch", "CDC_DMA_DL_HL"},
|
||||
{"WSA_CDC_DMA_RX_0", NULL, "WSA_CDC_DMA_RX_0_DL_HL"},
|
||||
{"CDC_DMA_UL_HL", NULL, "VA_CDC_DMA_TX_0"},
|
||||
{"LSM1 Mixer", "SLIMBUS_0_TX", "SLIMBUS_0_TX"},
|
||||
{"LSM1 Mixer", "SLIMBUS_1_TX", "SLIMBUS_1_TX"},
|
||||
{"LSM1 Mixer", "SLIMBUS_3_TX", "SLIMBUS_3_TX"},
|
||||
|
Reference in New Issue
Block a user