|
@@ -1,6 +1,6 @@
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
/*
|
|
|
- * Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#include <sound/soc.h>
|
|
@@ -51,70 +51,70 @@ SND_SOC_DAILINK_DEFS(auxpcm_tx,
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(wsa_dma_rx0,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_rx1"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx1"),
|
|
|
COMP_CODEC("wsa-codec1", "wsa_rx1"),
|
|
|
COMP_CODEC("wsa-codec2", "wsa_rx2")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(wsa_dma_rx1,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_rx_mix"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx_mix"),
|
|
|
COMP_CODEC("wsa-codec1", "wsa_rx1"),
|
|
|
COMP_CODEC("wsa-codec2", "wsa_rx2")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(wsa_dma_tx1,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_echo"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_echo"),
|
|
|
COMP_CODEC("wsa-codec1", "wsa_rx1"),
|
|
|
COMP_CODEC("wsa-codec2", "wsa_rx2")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx0,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx1"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx1"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx1,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx2"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx2"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx2,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx3"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx3"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx3,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx4"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx4"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx5,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx5"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx5"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(rx_dma_rx6,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx6"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx6"),
|
|
|
COMP_CODEC("swr-haptics", "swr_haptics")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(tx_dma_tx3,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx1"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx1"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(tx_dma_tx4,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx2"),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx2"),
|
|
|
COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
|
|
|
COMP_CODEC("swr-dmic.01", "swr_dmic_tx0"),
|
|
|
COMP_CODEC("swr-dmic.02", "swr_dmic_tx1"),
|
|
@@ -124,17 +124,17 @@ SND_SOC_DAILINK_DEFS(tx_dma_tx4,
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(va_dma_tx0,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx1")),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx1")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(va_dma_tx1,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx2")),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx2")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(va_dma_tx2,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx3")),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx3")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(proxy_tx,
|
|
@@ -169,7 +169,7 @@ SND_SOC_DAILINK_DEFS(pri_tdm_tx_0,
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(vi_feedback,
|
|
|
DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
|
|
|
- DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_vifeedback")),
|
|
|
+ DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_vifeedback")),
|
|
|
DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
|
|
|
|
|
|
SND_SOC_DAILINK_DEFS(tavil_i2s_rx1,
|