msm_dailink.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2022-2023 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(btfm_0_rx,
  30. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  31. DAILINK_COMP_ARRAY(COMP_CODEC("btfmcodec_dev",
  32. "btaudio_rx")),
  33. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  34. SND_SOC_DAILINK_DEFS(btfm_0_tx,
  35. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  36. DAILINK_COMP_ARRAY(COMP_CODEC("btfmcodec_dev",
  37. "btaudio_tx")),
  38. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  39. SND_SOC_DAILINK_DEFS(display_port,
  40. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  41. DAILINK_COMP_ARRAY(COMP_CODEC(
  42. "soc:qcom,msm-ext-disp:qcom,msm-ext-disp-audio-codec-rx",
  43. "msm_dp_audio_codec_rx_dai")),
  44. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  45. SND_SOC_DAILINK_DEFS(display_port1,
  46. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  47. DAILINK_COMP_ARRAY(COMP_CODEC(
  48. "soc:qcom,msm-ext-disp:qcom,msm-ext-disp-audio-codec-rx",
  49. "msm_dp_audio_codec_rx1_dai")),
  50. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  51. SND_SOC_DAILINK_DEFS(auxpcm_rx,
  52. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  53. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  54. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  55. SND_SOC_DAILINK_DEFS(auxpcm_tx,
  56. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  57. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  58. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  59. SND_SOC_DAILINK_DEFS(wsa_dma_rx0,
  60. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  61. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx1"),
  62. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  63. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  64. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  65. SND_SOC_DAILINK_DEFS(wsa_dma_rx1,
  66. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  67. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx_mix"),
  68. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  69. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  70. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  71. SND_SOC_DAILINK_DEFS(wsa_dma_tx1,
  72. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  73. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_echo"),
  74. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  75. COMP_CODEC("wsa-codec2", "wsa_rx2")),
  76. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  77. SND_SOC_DAILINK_DEFS(wsa2_dma_rx0,
  78. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  79. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_rx1"),
  80. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  81. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  82. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  83. SND_SOC_DAILINK_DEFS(wsa2_dma_rx1,
  84. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  85. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_rx_mix"),
  86. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  87. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  88. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  89. SND_SOC_DAILINK_DEFS(wsa2_dma_tx1,
  90. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  91. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_echo"),
  92. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  93. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  94. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  95. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_rx0,
  96. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  97. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx1"),
  98. COMP_CODEC("lpass-cdc", "wsa2_macro_rx1"),
  99. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  100. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  101. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  102. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  103. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  104. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_rx1,
  105. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  106. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_rx_mix"),
  107. COMP_CODEC("lpass-cdc", "wsa2_macro_rx_mix"),
  108. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  109. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  110. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  111. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  112. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  113. SND_SOC_DAILINK_DEFS(wsa_wsa2_dma_tx1,
  114. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  115. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_echo"),
  116. COMP_CODEC("lpass-cdc", "wsa2_macro_echo"),
  117. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  118. COMP_CODEC("wsa-codec2", "wsa_rx2"),
  119. COMP_CODEC("wsa-codec3", "wsa_rx3"),
  120. COMP_CODEC("wsa-codec4", "wsa_rx4")),
  121. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  122. SND_SOC_DAILINK_DEFS(rx_dma_rx0,
  123. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  124. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx1"),
  125. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  126. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  127. SND_SOC_DAILINK_DEFS(rx_dma_rx1,
  128. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  129. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx2"),
  130. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  131. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  132. SND_SOC_DAILINK_DEFS(rx_dma_rx2,
  133. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  134. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx3"),
  135. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  136. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  137. SND_SOC_DAILINK_DEFS(rx_dma_rx3,
  138. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  139. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx4"),
  140. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  141. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  142. SND_SOC_DAILINK_DEFS(rx_dma_rx5,
  143. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  144. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx5"),
  145. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  146. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  147. SND_SOC_DAILINK_DEFS(rx_dma_rx6,
  148. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  149. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "rx_macro_rx6"),
  150. COMP_CODEC("swr-haptics", "swr_haptics")),
  151. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  152. SND_SOC_DAILINK_DEFS(tx_dma_tx3,
  153. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  154. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx1"),
  155. COMP_CODEC("wcd939x_codec", "wcd939x_cdc")),
  156. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  157. SND_SOC_DAILINK_DEFS(tx_dma_tx4,
  158. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  159. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "tx_macro_tx2"),
  160. COMP_CODEC("wcd939x_codec", "wcd939x_cdc"),
  161. COMP_CODEC("swr-dmic.01", "swr_dmic_tx0"),
  162. COMP_CODEC("swr-dmic.02", "swr_dmic_tx1"),
  163. COMP_CODEC("swr-dmic.03", "swr_dmic_tx2"),
  164. COMP_CODEC("swr-dmic.04", "swr_dmic_tx3")),
  165. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  166. SND_SOC_DAILINK_DEFS(va_dma_tx0,
  167. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  168. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx1")),
  169. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  170. SND_SOC_DAILINK_DEFS(va_dma_tx1,
  171. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  172. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx2")),
  173. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  174. SND_SOC_DAILINK_DEFS(va_dma_tx2,
  175. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  176. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "va_macro_tx3")),
  177. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  178. SND_SOC_DAILINK_DEFS(proxy_tx,
  179. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  180. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  181. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  182. SND_SOC_DAILINK_DEFS(proxy_rx,
  183. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  184. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  185. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  186. SND_SOC_DAILINK_DEFS(pri_mi2s_rx,
  187. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  188. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  189. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  190. SND_SOC_DAILINK_DEFS(pri_mi2s_tx,
  191. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  192. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  193. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  194. SND_SOC_DAILINK_DEFS(sec_mi2s_rx,
  195. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  196. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  197. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  198. SND_SOC_DAILINK_DEFS(sec_mi2s_tx,
  199. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  200. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  201. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  202. SND_SOC_DAILINK_DEFS(tert_mi2s_rx,
  203. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  204. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  205. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  206. SND_SOC_DAILINK_DEFS(tert_mi2s_tx,
  207. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  208. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  209. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  210. SND_SOC_DAILINK_DEFS(quat_mi2s_rx,
  211. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  212. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  213. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  214. SND_SOC_DAILINK_DEFS(quat_mi2s_tx,
  215. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  216. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  217. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  218. SND_SOC_DAILINK_DEFS(quin_mi2s_rx,
  219. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  220. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  221. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  222. SND_SOC_DAILINK_DEFS(quin_mi2s_tx,
  223. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  224. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  225. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  226. SND_SOC_DAILINK_DEFS(sen_mi2s_rx,
  227. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  228. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  229. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  230. SND_SOC_DAILINK_DEFS(sen_mi2s_tx,
  231. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  232. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  233. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  234. SND_SOC_DAILINK_DEFS(sep_mi2s_rx,
  235. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  236. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  237. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  238. SND_SOC_DAILINK_DEFS(sep_mi2s_tx,
  239. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  240. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  241. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  242. SND_SOC_DAILINK_DEFS(pri_tdm_rx_0,
  243. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  244. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  245. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  246. SND_SOC_DAILINK_DEFS(pri_tdm_tx_0,
  247. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  248. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  249. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  250. SND_SOC_DAILINK_DEFS(sec_tdm_rx_0,
  251. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  252. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  253. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  254. SND_SOC_DAILINK_DEFS(sec_tdm_tx_0,
  255. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  256. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  257. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  258. SND_SOC_DAILINK_DEFS(tert_tdm_rx_0,
  259. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  260. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  261. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  262. SND_SOC_DAILINK_DEFS(tert_tdm_tx_0,
  263. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  264. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  265. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  266. SND_SOC_DAILINK_DEFS(quat_tdm_rx_0,
  267. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  268. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  269. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  270. SND_SOC_DAILINK_DEFS(quat_tdm_tx_0,
  271. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  272. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  273. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  274. SND_SOC_DAILINK_DEFS(quin_tdm_rx_0,
  275. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  276. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  277. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  278. SND_SOC_DAILINK_DEFS(quin_tdm_tx_0,
  279. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  280. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  281. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  282. SND_SOC_DAILINK_DEFS(sen_tdm_rx_0,
  283. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  284. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  285. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  286. SND_SOC_DAILINK_DEFS(sen_tdm_tx_0,
  287. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  288. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  289. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  290. SND_SOC_DAILINK_DEFS(sep_tdm_rx_0,
  291. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  292. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  293. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  294. SND_SOC_DAILINK_DEFS(sep_tdm_tx_0,
  295. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  296. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  297. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  298. SND_SOC_DAILINK_DEFS(vi_feedback,
  299. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  300. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_vifeedback")),
  301. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  302. SND_SOC_DAILINK_DEFS(wsa2_vi_feedback,
  303. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  304. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_vifeedback")),
  305. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  306. SND_SOC_DAILINK_DEFS(wsa_wsa2_vi_feedback,
  307. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  308. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_vifeedback"),
  309. COMP_CODEC("lpass-cdc", "wsa2_macro_vifeedback")),
  310. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  311. SND_SOC_DAILINK_DEFS(cps_feedback,
  312. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  313. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_cpsfeedback")),
  314. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  315. SND_SOC_DAILINK_DEFS(wsa2_cps_feedback,
  316. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  317. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa2_macro_cpsfeedback")),
  318. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  319. SND_SOC_DAILINK_DEFS(wsa_wsa2_cps_feedback,
  320. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  321. DAILINK_COMP_ARRAY(COMP_CODEC("lpass-cdc", "wsa_macro_cpsfeedback"),
  322. COMP_CODEC("lpass-cdc", "wsa2_macro_cpsfeedback")),
  323. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  324. SND_SOC_DAILINK_DEFS(tavil_i2s_rx1,
  325. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  326. DAILINK_COMP_ARRAY(COMP_CODEC("tavil_codec", "tavil_i2s_rx1")),
  327. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  328. SND_SOC_DAILINK_DEFS(tavil_i2s_tx1,
  329. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  330. DAILINK_COMP_ARRAY(COMP_CODEC("tavil_codec", "tavil_i2s_tx1")),
  331. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  332. SND_SOC_DAILINK_DEFS(pcm_dummy_rx0,
  333. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  334. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  335. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  336. SND_SOC_DAILINK_DEFS(pcm_dummy_tx1,
  337. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  338. DAILINK_COMP_ARRAY(COMP_DUMMY()),
  339. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  340. SND_SOC_DAILINK_DEFS(primary_tdm_rx_0_dummy,
  341. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  342. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  343. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  344. SND_SOC_DAILINK_DEFS(primary_tdm_tx_0_dummy,
  345. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  346. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  347. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  348. SND_SOC_DAILINK_DEFS(secondary_tdm_rx_0_dummy,
  349. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  350. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  351. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  352. SND_SOC_DAILINK_DEFS(secondary_tdm_tx_0_dummy,
  353. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  354. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  355. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  356. SND_SOC_DAILINK_DEFS(tert_tdm_rx_0_dummy,
  357. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  358. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  359. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  360. SND_SOC_DAILINK_DEFS(tert_tdm_tx_0_dummy,
  361. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  362. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  363. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  364. SND_SOC_DAILINK_DEFS(quat_tdm_rx_0_dummy,
  365. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  366. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  367. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  368. SND_SOC_DAILINK_DEFS(quat_tdm_tx_0_dummy,
  369. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  370. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  371. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  372. SND_SOC_DAILINK_DEFS(quin_tdm_rx_0_dummy,
  373. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  374. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  375. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  376. SND_SOC_DAILINK_DEFS(quin_tdm_tx_0_dummy,
  377. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  378. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  379. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  380. SND_SOC_DAILINK_DEFS(sen_tdm_rx_0_dummy,
  381. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  382. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  383. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  384. SND_SOC_DAILINK_DEFS(sen_tdm_tx_0_dummy,
  385. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  386. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  387. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  388. SND_SOC_DAILINK_DEFS(sep_tdm_rx_0_dummy,
  389. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  390. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  391. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  392. SND_SOC_DAILINK_DEFS(sep_tdm_tx_0_dummy,
  393. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  394. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  395. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  396. SND_SOC_DAILINK_DEFS(oct_tdm_rx_0_dummy,
  397. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  398. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  399. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  400. SND_SOC_DAILINK_DEFS(oct_tdm_tx_0_dummy,
  401. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  402. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  403. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  404. SND_SOC_DAILINK_DEFS(hs_if0_tdm_rx_0_dummy,
  405. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  406. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  407. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  408. SND_SOC_DAILINK_DEFS(hs_if0_tdm_tx_0_dummy,
  409. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  410. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  411. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  412. SND_SOC_DAILINK_DEFS(hs_if1_tdm_rx_0_dummy,
  413. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  414. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  415. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  416. SND_SOC_DAILINK_DEFS(hs_if1_tdm_tx_0_dummy,
  417. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  418. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  419. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  420. SND_SOC_DAILINK_DEFS(hs_if2_tdm_rx_0_dummy,
  421. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  422. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  423. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  424. SND_SOC_DAILINK_DEFS(hs_if2_tdm_tx_0_dummy,
  425. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  426. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  427. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  428. SND_SOC_DAILINK_DEFS(hs_if3_tdm_rx_0_dummy,
  429. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  430. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  431. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  432. SND_SOC_DAILINK_DEFS(hs_if3_tdm_tx_0_dummy,
  433. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  434. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  435. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  436. SND_SOC_DAILINK_DEFS(hs_if4_tdm_rx_0_dummy,
  437. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  438. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  439. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));
  440. SND_SOC_DAILINK_DEFS(hs_if4_tdm_tx_0_dummy,
  441. DAILINK_COMP_ARRAY(COMP_CPU("snd-soc-dummy-dai")),
  442. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  443. DAILINK_COMP_ARRAY(COMP_PLATFORM("snd-soc-dummy")));