msm_dailink.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #include <sound/soc.h>
  7. SND_SOC_DAILINK_DEFS(usb_audio_rx,
  8. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  9. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  10. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  11. SND_SOC_DAILINK_DEFS(usb_audio_tx,
  12. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  13. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  14. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  15. SND_SOC_DAILINK_DEFS(pcm_dummy_tx0,
  16. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  17. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  18. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  19. SND_SOC_DAILINK_DEFS(slimbus_7_rx,
  20. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  21. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  22. "btfm_bt_sco_a2dp_slim_rx")),
  23. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  24. SND_SOC_DAILINK_DEFS(slimbus_7_tx,
  25. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  26. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  27. "btfm_bt_sco_slim_tx")),
  28. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  29. SND_SOC_DAILINK_DEFS(display_port,
  30. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  31. DAILINK_COMP_ARRAY(COMP_CODEC(
  32. "soc:qcom,msm-ext-disp:qcom,msm-ext-disp-audio-codec-rx",
  33. "msm_dp_audio_codec_rx_dai")),
  34. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  35. SND_SOC_DAILINK_DEFS(display_port1,
  36. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  37. DAILINK_COMP_ARRAY(COMP_CODEC(
  38. "soc:qcom,msm-ext-disp:qcom,msm-ext-disp-audio-codec-rx",
  39. "msm_dp_audio_codec_rx1_dai")),
  40. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  41. SND_SOC_DAILINK_DEFS(auxpcm_rx,
  42. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  43. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  44. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  45. SND_SOC_DAILINK_DEFS(auxpcm_tx,
  46. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  47. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  48. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  49. SND_SOC_DAILINK_DEFS(wsa_dma_rx0,
  50. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  51. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx1"),
  52. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  53. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  54. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  55. SND_SOC_DAILINK_DEFS(wsa_dma_rx1,
  56. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  57. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx_mix"),
  58. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  59. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  60. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  61. SND_SOC_DAILINK_DEFS(wsa_dma_tx1,
  62. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  63. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_echo"),
  64. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  65. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  66. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  67. SND_SOC_DAILINK_DEFS(wsa2_dma_rx0,
  68. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  69. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_rx1"),
  70. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  71. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  72. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  73. SND_SOC_DAILINK_DEFS(wsa2_dma_rx1,
  74. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  75. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_rx_mix"),
  76. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  77. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  78. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  79. SND_SOC_DAILINK_DEFS(wsa2_dma_tx1,
  80. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  81. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_echo"),
  82. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  83. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  84. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  85. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_rx0,
  86. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  87. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx1"),
  88. COMP_CODEC("lpass-cdc", "wsa2_macro_rx1"),
  89. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  90. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  91. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  92. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  93. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  94. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_rx1,
  95. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  96. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx_mix"),
  97. COMP_CODEC("lpass-cdc", "wsa2_macro_rx_mix"),
  98. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  99. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  100. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  101. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  102. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  103. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_tx1,
  104. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  105. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_echo"),
  106. COMP_CODEC("lpass-cdc", "wsa2_macro_echo"),
  107. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  108. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  109. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  110. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  111. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  112. SND_SOC_DAILINK_DEFS(rx_dma_rx0,
  113. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  114. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx1"),
  115. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  116. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  117. SND_SOC_DAILINK_DEFS(rx_dma_rx1,
  118. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  119. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx2"),
  120. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  121. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  122. SND_SOC_DAILINK_DEFS(rx_dma_rx2,
  123. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  124. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx3"),
  125. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  126. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  127. SND_SOC_DAILINK_DEFS(rx_dma_rx3,
  128. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  129. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx4"),
  130. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  131. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  132. SND_SOC_DAILINK_DEFS(rx_dma_rx5,
  133. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  134. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx5"),
  135. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  136. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  137. SND_SOC_DAILINK_DEFS(rx_dma_rx6,
  138. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  139. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx6"),
  140. COMP_CODEC("swr-haptics", "swr_haptics")),
  141. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  142. SND_SOC_DAILINK_DEFS(tx_dma_tx3,
  143. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  144. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx1"),
  145. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  146. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  147. SND_SOC_DAILINK_DEFS(tx_dma_tx4,
  148. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  149. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx2"),
  150. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  151. COMP_CODEC("swr-dmic.01", "swr_dmic_tx0"),
  152. COMP_CODEC("swr-dmic.02", "swr_dmic_tx1"),
  153. COMP_CODEC("swr-dmic.03", "swr_dmic_tx2"),
  154. COMP_CODEC("swr-dmic.04", "swr_dmic_tx3")),
  155. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  156. SND_SOC_DAILINK_DEFS(va_dma_tx0,
  157. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  158. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx1")),
  159. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  160. SND_SOC_DAILINK_DEFS(va_dma_tx1,
  161. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  162. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx2")),
  163. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  164. SND_SOC_DAILINK_DEFS(va_dma_tx2,
  165. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  166. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx3")),
  167. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  168. SND_SOC_DAILINK_DEFS(proxy_tx,
  169. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  170. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  171. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  172. SND_SOC_DAILINK_DEFS(proxy_rx,
  173. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  174. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  175. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  176. SND_SOC_DAILINK_DEFS(pri_mi2s_rx,
  177. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  178. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  179. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  180. SND_SOC_DAILINK_DEFS(pri_mi2s_tx,
  181. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  182. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  183. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  184. SND_SOC_DAILINK_DEFS(sec_mi2s_rx,
  185. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  186. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  187. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  188. SND_SOC_DAILINK_DEFS(sec_mi2s_tx,
  189. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  190. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  191. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  192. SND_SOC_DAILINK_DEFS(tert_mi2s_rx,
  193. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  194. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  195. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  196. SND_SOC_DAILINK_DEFS(tert_mi2s_tx,
  197. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  198. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  199. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  200. SND_SOC_DAILINK_DEFS(quat_mi2s_rx,
  201. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  202. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  203. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  204. SND_SOC_DAILINK_DEFS(quat_mi2s_tx,
  205. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  206. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  207. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  208. SND_SOC_DAILINK_DEFS(quin_mi2s_rx,
  209. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  210. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  211. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  212. SND_SOC_DAILINK_DEFS(quin_mi2s_tx,
  213. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  214. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  215. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  216. SND_SOC_DAILINK_DEFS(sen_mi2s_rx,
  217. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  218. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  219. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  220. SND_SOC_DAILINK_DEFS(sen_mi2s_tx,
  221. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  222. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  223. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  224. SND_SOC_DAILINK_DEFS(sep_mi2s_rx,
  225. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  226. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  227. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  228. SND_SOC_DAILINK_DEFS(sep_mi2s_tx,
  229. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  230. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  231. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  232. SND_SOC_DAILINK_DEFS(pri_tdm_rx_0,
  233. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  234. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  235. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  236. SND_SOC_DAILINK_DEFS(pri_tdm_tx_0,
  237. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  238. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  239. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  240. SND_SOC_DAILINK_DEFS(sec_tdm_rx_0,
  241. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  242. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  243. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  244. SND_SOC_DAILINK_DEFS(sec_tdm_tx_0,
  245. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  246. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  247. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  248. SND_SOC_DAILINK_DEFS(tert_tdm_rx_0,
  249. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  250. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  251. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  252. SND_SOC_DAILINK_DEFS(tert_tdm_tx_0,
  253. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  254. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  255. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  256. SND_SOC_DAILINK_DEFS(quat_tdm_rx_0,
  257. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  258. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  259. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  260. SND_SOC_DAILINK_DEFS(quat_tdm_tx_0,
  261. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  262. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  263. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  264. SND_SOC_DAILINK_DEFS(quin_tdm_rx_0,
  265. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  266. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  267. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  268. SND_SOC_DAILINK_DEFS(quin_tdm_tx_0,
  269. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  270. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  271. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  272. SND_SOC_DAILINK_DEFS(sen_tdm_rx_0,
  273. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  274. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  275. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  276. SND_SOC_DAILINK_DEFS(sen_tdm_tx_0,
  277. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  278. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  279. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  280. SND_SOC_DAILINK_DEFS(sep_tdm_rx_0,
  281. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  282. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  283. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  284. SND_SOC_DAILINK_DEFS(sep_tdm_tx_0,
  285. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  286. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  287. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  288. SND_SOC_DAILINK_DEFS(vi_feedback,
  289. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  290. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_vifeedback")),
  291. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  292. SND_SOC_DAILINK_DEFS(wsa2_vi_feedback,
  293. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  294. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_vifeedback")),
  295. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  296. SND_SOC_DAILINK_DEFS(wsa_wsa2_vi_feedback,
  297. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  298. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_vifeedback"),
  299. COMP_CODEC("lpass-cdc", "wsa2_macro_vifeedback")),
  300. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  301. SND_SOC_DAILINK_DEFS(cps_feedback,
  302. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  303. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_cpsfeedback")),
  304. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  305. SND_SOC_DAILINK_DEFS(wsa2_cps_feedback,
  306. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  307. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_cpsfeedback")),
  308. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  309. SND_SOC_DAILINK_DEFS(wsa_wsa2_cps_feedback,
  310. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  311. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_cpsfeedback"),
  312. COMP_CODEC("lpass-cdc", "wsa2_macro_cpsfeedback")),
  313. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  314. SND_SOC_DAILINK_DEFS(tavil_i2s_rx1,
  315. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  316. DAILINK_COMP_ARRAY(COMP_CODEC("tavil_codec", "tavil_i2s_rx1")),
  317. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  318. SND_SOC_DAILINK_DEFS(tavil_i2s_tx1,
  319. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  320. DAILINK_COMP_ARRAY(COMP_CODEC("tavil_codec", "tavil_i2s_tx1")),
  321. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));