msm_dailink.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  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(wsa_cdcdma0_capture,
  140. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45057")),
  141. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_vifeedback")),
  142. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  143. SND_SOC_DAILINK_DEFS(multimedia6,
  144. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia6")),
  145. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  146. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-loopback")));
  147. SND_SOC_DAILINK_DEFS(usbaudio_hostless,
  148. DAILINK_COMP_ARRAY(COMP_CPU("USBAUDIO_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(slimbus7_hostless,
  152. DAILINK_COMP_ARRAY(COMP_CPU("SLIMBUS7_HOSTLESS")),
  153. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  154. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  155. SND_SOC_DAILINK_DEFS(multimedia17,
  156. DAILINK_COMP_ARRAY(COMP_CPU("MultiMedia17")),
  157. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  158. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-compress-dsp")));
  159. SND_SOC_DAILINK_DEFS(slimbus8_hostless,
  160. DAILINK_COMP_ARRAY(COMP_CPU("SLIMBUS8_HOSTLESS")),
  161. DAILINK_COMP_ARRAY(COMP_CODEC("snd-soc-dummy", "snd-soc-dummy-dai")),
  162. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  163. SND_SOC_DAILINK_DEFS(tx_cdcdma5_tx,
  164. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45115")),
  165. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx3")),
  166. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-hostless")));
  167. /* BE dai-links */
  168. SND_SOC_DAILINK_DEFS(afe_pcm_rx,
  169. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.224")),
  170. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  171. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  172. SND_SOC_DAILINK_DEFS(afe_pcm_tx,
  173. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.225")),
  174. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  175. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  176. SND_SOC_DAILINK_DEFS(incall_record_tx,
  177. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32772")),
  178. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  179. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  180. SND_SOC_DAILINK_DEFS(incall_record_rx,
  181. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32771")),
  182. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  183. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  184. SND_SOC_DAILINK_DEFS(voice_playback_tx,
  185. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32773")),
  186. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  187. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  188. SND_SOC_DAILINK_DEFS(voice2_playback_tx,
  189. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.32770")),
  190. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  191. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  192. SND_SOC_DAILINK_DEFS(usb_audio_rx,
  193. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.28672")),
  194. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  195. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  196. SND_SOC_DAILINK_DEFS(usb_audio_tx,
  197. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.28673")),
  198. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  199. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  200. SND_SOC_DAILINK_DEFS(pri_tdm_rx_0,
  201. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36864")),
  202. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  203. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  204. SND_SOC_DAILINK_DEFS(pri_tdm_tx_0,
  205. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36865")),
  206. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  207. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  208. SND_SOC_DAILINK_DEFS(sec_tdm_rx_0,
  209. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36880")),
  210. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  211. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  212. SND_SOC_DAILINK_DEFS(sec_tdm_tx_0,
  213. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36881")),
  214. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  215. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  216. SND_SOC_DAILINK_DEFS(tert_tdm_rx_0,
  217. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36896")),
  218. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  219. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  220. SND_SOC_DAILINK_DEFS(tert_tdm_tx_0,
  221. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36897")),
  222. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  223. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  224. SND_SOC_DAILINK_DEFS(quat_tdm_rx_0,
  225. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36912")),
  226. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  227. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  228. SND_SOC_DAILINK_DEFS(quat_tdm_tx_0,
  229. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36913")),
  230. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  231. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  232. SND_SOC_DAILINK_DEFS(quin_tdm_rx_0,
  233. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36928")),
  234. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  235. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  236. SND_SOC_DAILINK_DEFS(quin_tdm_tx_0,
  237. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36929")),
  238. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  239. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  240. SND_SOC_DAILINK_DEFS(sen_tdm_rx_0,
  241. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36944")),
  242. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  243. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  244. SND_SOC_DAILINK_DEFS(sen_tdm_tx_0,
  245. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-tdm.36945")),
  246. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  247. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  248. SND_SOC_DAILINK_DEFS(slimbus_7_rx,
  249. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16398")),
  250. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  251. "btfm_bt_sco_a2dp_slim_rx")),
  252. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  253. SND_SOC_DAILINK_DEFS(slimbus_7_tx,
  254. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16399")),
  255. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  256. "btfm_bt_sco_slim_tx")),
  257. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  258. SND_SOC_DAILINK_DEFS(slimbus_8_tx,
  259. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.16401")),
  260. DAILINK_COMP_ARRAY(COMP_CODEC("btfmslim_slave",
  261. "btfm_bt_sco_a2dp_slim_rx")),
  262. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  263. SND_SOC_DAILINK_DEFS(display_port,
  264. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dp.0")),
  265. DAILINK_COMP_ARRAY(COMP_CODEC("msm-ext-disp-audio-codec-rx",
  266. "msm_dp_audio_codec_rx_dai")),
  267. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  268. SND_SOC_DAILINK_DEFS(display_port1,
  269. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dp.1")),
  270. DAILINK_COMP_ARRAY(COMP_CODEC("msm-ext-disp-audio-codec-rx",
  271. "msm_dp_audio_codec_rx1_dai")),
  272. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  273. SND_SOC_DAILINK_DEFS(pri_mi2s_rx,
  274. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.0")),
  275. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  276. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  277. SND_SOC_DAILINK_DEFS(pri_mi2s_tx,
  278. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.0")),
  279. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  280. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  281. SND_SOC_DAILINK_DEFS(sec_mi2s_rx,
  282. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.1")),
  283. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  284. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  285. SND_SOC_DAILINK_DEFS(sec_mi2s_tx,
  286. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.1")),
  287. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  288. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  289. SND_SOC_DAILINK_DEFS(tert_mi2s_rx,
  290. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.2")),
  291. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  292. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  293. SND_SOC_DAILINK_DEFS(tert_mi2s_tx,
  294. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.2")),
  295. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  296. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  297. SND_SOC_DAILINK_DEFS(quat_mi2s_rx,
  298. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.3")),
  299. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  300. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  301. SND_SOC_DAILINK_DEFS(quat_mi2s_tx,
  302. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.3")),
  303. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  304. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  305. SND_SOC_DAILINK_DEFS(quin_mi2s_rx,
  306. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.4")),
  307. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  308. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  309. SND_SOC_DAILINK_DEFS(quin_mi2s_tx,
  310. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.4")),
  311. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  312. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  313. SND_SOC_DAILINK_DEFS(sen_mi2s_rx,
  314. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.5")),
  315. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  316. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  317. SND_SOC_DAILINK_DEFS(sen_mi2s_tx,
  318. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-mi2s.5")),
  319. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  320. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  321. SND_SOC_DAILINK_DEFS(auxpcm_rx,
  322. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.1")),
  323. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  324. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  325. SND_SOC_DAILINK_DEFS(auxpcm_tx,
  326. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.1")),
  327. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  328. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  329. SND_SOC_DAILINK_DEFS(sec_auxpcm_rx,
  330. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.2")),
  331. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  332. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  333. SND_SOC_DAILINK_DEFS(sec_auxpcm_tx,
  334. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.2")),
  335. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  336. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  337. SND_SOC_DAILINK_DEFS(tert_auxpcm_rx,
  338. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.3")),
  339. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  340. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  341. SND_SOC_DAILINK_DEFS(tert_auxpcm_tx,
  342. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.3")),
  343. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  344. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  345. SND_SOC_DAILINK_DEFS(quat_auxpcm_rx,
  346. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.4")),
  347. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  348. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  349. SND_SOC_DAILINK_DEFS(quat_auxpcm_tx,
  350. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.4")),
  351. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  352. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  353. SND_SOC_DAILINK_DEFS(quin_auxpcm_rx,
  354. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.5")),
  355. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  356. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  357. SND_SOC_DAILINK_DEFS(quin_auxpcm_tx,
  358. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.5")),
  359. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  360. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  361. SND_SOC_DAILINK_DEFS(sen_auxpcm_rx,
  362. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.6")),
  363. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-rx")),
  364. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  365. SND_SOC_DAILINK_DEFS(sen_auxpcm_tx,
  366. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-auxpcm.6")),
  367. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  368. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  369. SND_SOC_DAILINK_DEFS(wsa_dma_rx0,
  370. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45056")),
  371. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_rx1")),
  372. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  373. SND_SOC_DAILINK_DEFS(wsa_dma_rx1,
  374. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45058")),
  375. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_rx_mix")),
  376. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  377. SND_SOC_DAILINK_DEFS(wsa_dma_tx1,
  378. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45059")),
  379. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "wsa_macro_echo")),
  380. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  381. SND_SOC_DAILINK_DEFS(rx_dma_rx0,
  382. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45104")),
  383. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx1")),
  384. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  385. SND_SOC_DAILINK_DEFS(rx_dma_rx1,
  386. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45106")),
  387. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx2")),
  388. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  389. SND_SOC_DAILINK_DEFS(rx_dma_rx2,
  390. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45108")),
  391. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx3")),
  392. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  393. SND_SOC_DAILINK_DEFS(rx_dma_rx3,
  394. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45110")),
  395. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "rx_macro_rx4")),
  396. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  397. SND_SOC_DAILINK_DEFS(tx_dma_tx3,
  398. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45111")),
  399. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx1")),
  400. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  401. SND_SOC_DAILINK_DEFS(tx_dma_tx4,
  402. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45113")),
  403. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "tx_macro_tx2")),
  404. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  405. SND_SOC_DAILINK_DEFS(va_dma_tx0,
  406. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45089")),
  407. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx1")),
  408. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  409. SND_SOC_DAILINK_DEFS(va_dma_tx1,
  410. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45091")),
  411. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx2")),
  412. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  413. SND_SOC_DAILINK_DEFS(va_dma_tx2,
  414. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-cdc-dma-dev.45093")),
  415. DAILINK_COMP_ARRAY(COMP_CODEC("bolero_codec", "va_macro_tx3")),
  416. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));
  417. SND_SOC_DAILINK_DEFS(afe_loopback_tx,
  418. DAILINK_COMP_ARRAY(COMP_CPU("msm-dai-q6-dev.24577")),
  419. DAILINK_COMP_ARRAY(COMP_CODEC("msm-stub-codec.1", "msm-stub-tx")),
  420. DAILINK_COMP_ARRAY(COMP_PLATFORM("msm-pcm-routing")));