msm_holi_dailink.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  4. */
  5. #include <sound/soc.h>
  6. /* FE dai-links */
  7. SND_SOC_DAILINK_DEFS(multimedia1,
  8. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia1")),
  9. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  10. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.0")));
  11. SND_SOC_DAILINK_DEFS(multimedia2,
  12. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia2")),
  13. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  14. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.0")));
  15. SND_SOC_DAILINK_DEFS(voicemmode1,
  16. DAILINK_COMP_ARRAY(COMP_CPU("VoiceMMode1")),
  17. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  18. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-voice")));
  19. SND_SOC_DAILINK_DEFS(msmvoip,
  20. DAILINK_COMP_ARRAY(COMP_CPU("VoIP")),
  21. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  22. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-voip-dsp")));
  23. SND_SOC_DAILINK_DEFS(multimedia3,
  24. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia3")),
  25. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  26. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.2")));
  27. SND_SOC_DAILINK_DEFS(afepcm_rx,
  28. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.241")),
  29. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  30. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-afe")));
  31. SND_SOC_DAILINK_DEFS(afepcm_tx,
  32. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.240")),
  33. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  34. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-afe")));
  35. SND_SOC_DAILINK_DEFS(multimedia4,
  36. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia4")),
  37. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  38. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  39. SND_SOC_DAILINK_DEFS(auxpcm_hostless,
  40. DAILINK_COMP_ARRAY(COMP_CPU("AUXPCM_HOSTLESS")),
  41. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  42. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  43. SND_SOC_DAILINK_DEFS(multimedia5,
  44. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia5")),
  45. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  46. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.1")));
  47. SND_SOC_DAILINK_DEFS(listen1,
  48. DAILINK_COMP_ARRAY(COMP_CPU("LSM1")),
  49. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  50. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  51. SND_SOC_DAILINK_DEFS(multimedia7,
  52. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia7")),
  53. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  54. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  55. SND_SOC_DAILINK_DEFS(multimedia10,
  56. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia10")),
  57. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  58. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.1")));
  59. SND_SOC_DAILINK_DEFS(multimedia8,
  60. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia8")),
  61. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  62. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp-noirq")));
  63. SND_SOC_DAILINK_DEFS(hdmi_rx_hostless,
  64. DAILINK_COMP_ARRAY(COMP_CPU("HDMI_HOSTLESS")),
  65. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  66. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  67. SND_SOC_DAILINK_DEFS(voicemmode2,
  68. DAILINK_COMP_ARRAY(COMP_CPU("VoiceMMode2")),
  69. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  70. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-voice")));
  71. SND_SOC_DAILINK_DEFS(listen2,
  72. DAILINK_COMP_ARRAY(COMP_CPU("LSM2")),
  73. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  74. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  75. SND_SOC_DAILINK_DEFS(listen3,
  76. DAILINK_COMP_ARRAY(COMP_CPU("LSM3")),
  77. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  78. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  79. SND_SOC_DAILINK_DEFS(listen4,
  80. DAILINK_COMP_ARRAY(COMP_CPU("LSM4")),
  81. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  82. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  83. SND_SOC_DAILINK_DEFS(listen5,
  84. DAILINK_COMP_ARRAY(COMP_CPU("LSM5")),
  85. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  86. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  87. SND_SOC_DAILINK_DEFS(listen6,
  88. DAILINK_COMP_ARRAY(COMP_CPU("LSM6")),
  89. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  90. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  91. SND_SOC_DAILINK_DEFS(listen7,
  92. DAILINK_COMP_ARRAY(COMP_CPU("LSM7")),
  93. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  94. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  95. SND_SOC_DAILINK_DEFS(listen8,
  96. DAILINK_COMP_ARRAY(COMP_CPU("LSM8")),
  97. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  98. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-lsm-client")));
  99. SND_SOC_DAILINK_DEFS(multimedia9,
  100. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia9")),
  101. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  102. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.0")));
  103. SND_SOC_DAILINK_DEFS(multimedia11,
  104. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia11")),
  105. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  106. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  107. SND_SOC_DAILINK_DEFS(multimedia12,
  108. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia12")),
  109. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  110. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  111. SND_SOC_DAILINK_DEFS(multimedia13,
  112. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia13")),
  113. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  114. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  115. SND_SOC_DAILINK_DEFS(multimedia14,
  116. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia14")),
  117. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  118. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  119. SND_SOC_DAILINK_DEFS(multimedia15,
  120. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia15")),
  121. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  122. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  123. SND_SOC_DAILINK_DEFS(multimedia16,
  124. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia16")),
  125. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  126. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp-noirq")));
  127. SND_SOC_DAILINK_DEFS(cdcdma_hostless,
  128. DAILINK_COMP_ARRAY(COMP_CPU("CDC_DMA_HOSTLESS")),
  129. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  130. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  131. SND_SOC_DAILINK_DEFS(tx3_cdcdma_hostless,
  132. DAILINK_COMP_ARRAY(COMP_CPU("TX3_CDC_DMA_HOSTLESS")),
  133. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  134. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  135. SND_SOC_DAILINK_DEFS(tert_mi2s_tx_hostless,
  136. DAILINK_COMP_ARRAY(COMP_CPU("TERT_MI2S_TX_HOSTLESS")),
  137. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  138. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  139. SND_SOC_DAILINK_DEFS(multimedia6,
  140. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia6")),
  141. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  142. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-loopback")));
  143. SND_SOC_DAILINK_DEFS(usbaudio_hostless,
  144. DAILINK_COMP_ARRAY(COMP_CPU("USBAUDIO_HOSTLESS")),
  145. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  146. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  147. SND_SOC_DAILINK_DEFS(slimbus7_hostless,
  148. DAILINK_COMP_ARRAY(COMP_CPU("SLIMBUS7_HOSTLESS")),
  149. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  150. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  151. SND_SOC_DAILINK_DEFS(multimedia17,
  152. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia17")),
  153. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  154. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  155. SND_SOC_DAILINK_DEFS(slimbus8_hostless,
  156. DAILINK_COMP_ARRAY(COMP_CPU("SLIMBUS8_HOSTLESS")),
  157. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  158. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  159. SND_SOC_DAILINK_DEFS(tx_cdcdma5_tx,
  160. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45115")),
  161. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx3"),
  162. COMP_CODEC("wcd938x_codec", "wcd938x_cdc")),
  163. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  164. SND_SOC_DAILINK_DEFS(multimedia31,
  165. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia31")),
  166. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  167. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.0")));
  168. SND_SOC_DAILINK_DEFS(multimedia32,
  169. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia32")),
  170. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  171. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-dsp.0")));
  172. SND_SOC_DAILINK_DEFS(afepcm_tx1,
  173. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.242")),
  174. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  175. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-afe")));
  176. /* BE dai-links */
  177. SND_SOC_DAILINK_DEFS(afe_pcm_rx,
  178. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.224")),
  179. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  180. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  181. SND_SOC_DAILINK_DEFS(afe_pcm_tx,
  182. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.225")),
  183. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  184. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  185. SND_SOC_DAILINK_DEFS(incall_record_tx,
  186. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32772")),
  187. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  188. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  189. SND_SOC_DAILINK_DEFS(incall_record_rx,
  190. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32771")),
  191. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  192. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  193. SND_SOC_DAILINK_DEFS(voice_playback_tx,
  194. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32773")),
  195. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  196. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  197. SND_SOC_DAILINK_DEFS(voice2_playback_tx,
  198. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32770")),
  199. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  200. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  201. SND_SOC_DAILINK_DEFS(usb_audio_rx,
  202. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.28672")),
  203. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  204. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  205. SND_SOC_DAILINK_DEFS(usb_audio_tx,
  206. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.28673")),
  207. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  208. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  209. SND_SOC_DAILINK_DEFS(pri_tdm_rx_0,
  210. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36864")),
  211. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  212. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  213. SND_SOC_DAILINK_DEFS(pri_tdm_tx_0,
  214. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36865")),
  215. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  216. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  217. SND_SOC_DAILINK_DEFS(sec_tdm_rx_0,
  218. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36880")),
  219. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  220. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  221. SND_SOC_DAILINK_DEFS(sec_tdm_tx_0,
  222. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36881")),
  223. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  224. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  225. SND_SOC_DAILINK_DEFS(tert_tdm_rx_0,
  226. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36896")),
  227. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  228. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  229. SND_SOC_DAILINK_DEFS(tert_tdm_tx_0,
  230. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36897")),
  231. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  232. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  233. SND_SOC_DAILINK_DEFS(quat_tdm_rx_0,
  234. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36912")),
  235. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  236. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  237. SND_SOC_DAILINK_DEFS(quat_tdm_tx_0,
  238. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36913")),
  239. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  240. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  241. SND_SOC_DAILINK_DEFS(slimbus_7_rx,
  242. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16398")),
  243. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  244. "btfm_bt_sco_a2dp_slim_rx")),
  245. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  246. SND_SOC_DAILINK_DEFS(slimbus_7_tx,
  247. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16399")),
  248. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  249. "btfm_bt_sco_slim_tx")),
  250. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  251. SND_SOC_DAILINK_DEFS(slimbus_8_tx,
  252. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16401")),
  253. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  254. "btfm_fm_slim_tx")),
  255. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  256. SND_SOC_DAILINK_DEFS(pri_mi2s_rx,
  257. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.0")),
  258. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  259. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  260. SND_SOC_DAILINK_DEFS(pri_mi2s_tx,
  261. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.0")),
  262. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  263. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  264. SND_SOC_DAILINK_DEFS(sec_mi2s_rx,
  265. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.1")),
  266. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  267. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  268. SND_SOC_DAILINK_DEFS(sec_mi2s_tx,
  269. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.1")),
  270. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  271. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  272. SND_SOC_DAILINK_DEFS(tert_mi2s_rx,
  273. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.2")),
  274. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  275. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  276. SND_SOC_DAILINK_DEFS(tert_mi2s_tx,
  277. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.2")),
  278. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  279. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  280. SND_SOC_DAILINK_DEFS(quat_mi2s_rx,
  281. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.3")),
  282. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  283. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  284. SND_SOC_DAILINK_DEFS(quat_mi2s_tx,
  285. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.3")),
  286. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  287. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  288. SND_SOC_DAILINK_DEFS(auxpcm_rx,
  289. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.1")),
  290. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  291. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  292. SND_SOC_DAILINK_DEFS(auxpcm_tx,
  293. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.1")),
  294. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  295. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  296. SND_SOC_DAILINK_DEFS(sec_auxpcm_rx,
  297. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.2")),
  298. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  299. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  300. SND_SOC_DAILINK_DEFS(sec_auxpcm_tx,
  301. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.2")),
  302. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  303. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  304. SND_SOC_DAILINK_DEFS(tert_auxpcm_rx,
  305. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.3")),
  306. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  307. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  308. SND_SOC_DAILINK_DEFS(tert_auxpcm_tx,
  309. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.3")),
  310. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  311. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  312. SND_SOC_DAILINK_DEFS(quat_auxpcm_rx,
  313. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.4")),
  314. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  315. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  316. SND_SOC_DAILINK_DEFS(quat_auxpcm_tx,
  317. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.4")),
  318. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  319. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  320. SND_SOC_DAILINK_DEFS(rx_dma_rx0,
  321. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45104")),
  322. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx1"),
  323. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  324. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  325. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  326. SND_SOC_DAILINK_DEFS(rx_dma_rx1,
  327. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45106")),
  328. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx2"),
  329. COMP_CODEC("wsa-codec0", "wsa_rx0"),
  330. COMP_CODEC("wsa-codec1", "wsa_rx1"),
  331. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  332. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  333. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  334. SND_SOC_DAILINK_DEFS(rx_dma_rx2,
  335. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45108")),
  336. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx3"),
  337. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  338. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  339. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  340. SND_SOC_DAILINK_DEFS(rx_dma_rx3,
  341. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45110")),
  342. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx4"),
  343. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  344. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  345. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  346. SND_SOC_DAILINK_DEFS(tx_dma_tx3,
  347. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45111")),
  348. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx1"),
  349. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  350. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  351. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  352. SND_SOC_DAILINK_DEFS(tx_dma_tx4,
  353. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45113")),
  354. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx2"),
  355. COMP_CODEC("wcd938x_codec", "wcd938x_cdc"),
  356. COMP_CODEC("wcd937x_codec", "wcd937x_cdc")),
  357. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  358. SND_SOC_DAILINK_DEFS(va_dma_tx0,
  359. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45089")),
  360. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx1")),
  361. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  362. SND_SOC_DAILINK_DEFS(va_dma_tx1,
  363. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45091")),
  364. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx2")),
  365. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  366. SND_SOC_DAILINK_DEFS(va_dma_tx2,
  367. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45093")),
  368. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx3")),
  369. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  370. SND_SOC_DAILINK_DEFS(afe_loopback_tx,
  371. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.24577")),
  372. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  373. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  374. SND_SOC_DAILINK_DEFS(proxy_tx,
  375. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.8195")),
  376. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  377. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  378. SND_SOC_DAILINK_DEFS(proxy_rx,
  379. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.8194")),
  380. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  381. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));