asoc: add routing for FM playback on sm6150
Add routes to support FM playback over speaker and headphones. Change-Id: I36b992a38602a460319551ba473cbaac604021c0 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
This commit is contained in:
@@ -13296,6 +13296,10 @@ static const struct snd_kcontrol_new wsa_cdc_dma_rx_0_port_mixer_controls[] = {
|
||||
MSM_BACKEND_DAI_WSA_CDC_DMA_RX_0,
|
||||
MSM_BACKEND_DAI_TX_CDC_DMA_TX_3, 1, 0, msm_routing_get_port_mixer,
|
||||
msm_routing_put_port_mixer),
|
||||
SOC_DOUBLE_EXT("SLIM_8_TX", SND_SOC_NOPM,
|
||||
MSM_BACKEND_DAI_WSA_CDC_DMA_RX_0,
|
||||
MSM_BACKEND_DAI_SLIMBUS_8_TX, 1, 0, msm_routing_get_port_mixer,
|
||||
msm_routing_put_port_mixer),
|
||||
};
|
||||
|
||||
static const struct snd_kcontrol_new rx_cdc_dma_rx_0_port_mixer_controls[] = {
|
||||
@@ -13303,6 +13307,10 @@ static const struct snd_kcontrol_new rx_cdc_dma_rx_0_port_mixer_controls[] = {
|
||||
MSM_BACKEND_DAI_RX_CDC_DMA_RX_0,
|
||||
MSM_BACKEND_DAI_TX_CDC_DMA_TX_3, 1, 0, msm_routing_get_port_mixer,
|
||||
msm_routing_put_port_mixer),
|
||||
SOC_DOUBLE_EXT("SLIM_8_TX", SND_SOC_NOPM,
|
||||
MSM_BACKEND_DAI_RX_CDC_DMA_RX_0,
|
||||
MSM_BACKEND_DAI_SLIMBUS_8_TX, 1, 0, msm_routing_get_port_mixer,
|
||||
msm_routing_put_port_mixer),
|
||||
};
|
||||
|
||||
static const struct snd_kcontrol_new sbus_0_rx_port_mixer_controls[] = {
|
||||
@@ -21755,6 +21763,9 @@ static const struct snd_soc_dapm_route intercon[] = {
|
||||
{"WSA_CDC_DMA_RX_0 Port Mixer", "VA_CDC_DMA_TX_0", "VA_CDC_DMA_TX_0"},
|
||||
{"WSA_CDC_DMA_RX_0 Port Mixer", "TX_CDC_DMA_TX_3", "TX_CDC_DMA_TX_3"},
|
||||
{"RX_CDC_DMA_RX_0 Port Mixer", "TX_CDC_DMA_TX_3", "TX_CDC_DMA_TX_3"},
|
||||
{"WSA_CDC_DMA_RX_0 Port Mixer", "SLIM_8_TX", "SLIMBUS_8_TX"},
|
||||
{"RX_CDC_DMA_RX_0 Port Mixer", "SLIM_8_TX", "SLIMBUS_8_TX"},
|
||||
|
||||
|
||||
{"SLIMBUS_0_RX Port Mixer", "INTERNAL_FM_TX", "INT_FM_TX"},
|
||||
{"SLIMBUS_0_RX Port Mixer", "SLIM_0_TX", "SLIMBUS_0_TX"},
|
||||
|
Reference in New Issue
Block a user