Kconfig 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SND_SOC_MEDIATEK
  3. tristate
  4. select REGMAP_MMIO
  5. config SND_SOC_MT2701
  6. tristate "ASoC support for Mediatek MT2701 chip"
  7. depends on ARCH_MEDIATEK
  8. select SND_SOC_MEDIATEK
  9. help
  10. This adds ASoC driver for Mediatek MT2701 boards
  11. that can be used with other codecs.
  12. Select Y if you have such device.
  13. If unsure select "N".
  14. config SND_SOC_MT2701_CS42448
  15. tristate "ASoc Audio driver for MT2701 with CS42448 codec"
  16. depends on SND_SOC_MT2701 && I2C
  17. select SND_SOC_CS42XX8_I2C
  18. select SND_SOC_BT_SCO
  19. help
  20. This adds ASoC driver for Mediatek MT2701 boards
  21. with the CS42448 codecs.
  22. Select Y if you have such device.
  23. If unsure select "N".
  24. config SND_SOC_MT2701_WM8960
  25. tristate "ASoc Audio driver for MT2701 with WM8960 codec"
  26. depends on SND_SOC_MT2701 && I2C
  27. select SND_SOC_WM8960
  28. help
  29. This adds ASoC driver for Mediatek MT2701 boards
  30. with the WM8960 codecs.
  31. Select Y if you have such device.
  32. If unsure select "N".
  33. config SND_SOC_MT6797
  34. tristate "ASoC support for Mediatek MT6797 chip"
  35. depends on ARCH_MEDIATEK
  36. select SND_SOC_MEDIATEK
  37. help
  38. This adds ASoC driver for Mediatek MT6797 boards
  39. that can be used with other codecs.
  40. Select Y if you have such device.
  41. If unsure select "N".
  42. config SND_SOC_MT6797_MT6351
  43. tristate "ASoc Audio driver for MT6797 with MT6351 codec"
  44. depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
  45. select SND_SOC_MT6351
  46. help
  47. This adds ASoC driver for Mediatek MT6797 boards
  48. with the MT6351 codecs.
  49. Select Y if you have such device.
  50. If unsure select "N".
  51. config SND_SOC_MT7986
  52. tristate "ASoC support for Mediatek MT7986 chip"
  53. depends on ARCH_MEDIATEK
  54. select SND_SOC_MEDIATEK
  55. help
  56. This adds ASoC platform driver support for MediaTek MT7986 chip
  57. that can be used with other codecs.
  58. Select Y if you have such device.
  59. If unsure select "N".
  60. config SND_SOC_MT7986_WM8960
  61. tristate "ASoc Audio driver for MT7986 with WM8960 codec"
  62. depends on SND_SOC_MT7986 && I2C
  63. select SND_SOC_WM8960
  64. help
  65. This adds support for ASoC machine driver for MediaTek MT7986
  66. boards with the WM8960 codecs.
  67. Select Y if you have such device.
  68. If unsure select "N".
  69. config SND_SOC_MT8173
  70. tristate "ASoC support for Mediatek MT8173 chip"
  71. depends on ARCH_MEDIATEK
  72. select SND_SOC_MEDIATEK
  73. help
  74. This adds ASoC platform driver support for Mediatek MT8173 chip
  75. that can be used with other codecs.
  76. Select Y if you have such device.
  77. Ex: MT8173
  78. config SND_SOC_MT8173_MAX98090
  79. tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
  80. depends on SND_SOC_MT8173 && I2C
  81. select SND_SOC_MAX98090
  82. help
  83. This adds ASoC driver for Mediatek MT8173 boards
  84. with the MAX98090 audio codec.
  85. Select Y if you have such device.
  86. If unsure select "N".
  87. config SND_SOC_MT8173_RT5650
  88. tristate "ASoC Audio driver for MT8173 with RT5650 codec"
  89. depends on SND_SOC_MT8173 && I2C
  90. select SND_SOC_RT5645
  91. select SND_SOC_HDMI_CODEC
  92. help
  93. This adds ASoC driver for Mediatek MT8173 boards
  94. with the RT5650 audio codec.
  95. Select Y if you have such device.
  96. If unsure select "N".
  97. config SND_SOC_MT8173_RT5650_RT5514
  98. tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
  99. depends on SND_SOC_MT8173 && I2C
  100. select SND_SOC_RT5645
  101. select SND_SOC_RT5514
  102. help
  103. This adds ASoC driver for Mediatek MT8173 boards
  104. with the RT5650 and RT5514 codecs.
  105. Select Y if you have such device.
  106. If unsure select "N".
  107. config SND_SOC_MT8173_RT5650_RT5676
  108. tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
  109. depends on SND_SOC_MT8173 && I2C
  110. select SND_SOC_RT5645
  111. select SND_SOC_RT5677
  112. select SND_SOC_HDMI_CODEC
  113. help
  114. This adds ASoC driver for Mediatek MT8173 boards
  115. with the RT5650 and RT5676 codecs.
  116. Select Y if you have such device.
  117. If unsure select "N".
  118. config SND_SOC_MT8183
  119. tristate "ASoC support for Mediatek MT8183 chip"
  120. depends on ARCH_MEDIATEK
  121. select SND_SOC_MEDIATEK
  122. help
  123. This adds ASoC platform driver support for Mediatek MT8183 chip
  124. that can be used with other codecs.
  125. Select Y if you have such device.
  126. If unsure select "N".
  127. config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
  128. tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
  129. depends on I2C && GPIOLIB
  130. depends on SND_SOC_MT8183
  131. select SND_SOC_MT6358
  132. select SND_SOC_MAX98357A
  133. select SND_SOC_RT1015
  134. select SND_SOC_RT1015P
  135. select SND_SOC_BT_SCO
  136. select SND_SOC_TS3A227E
  137. select SND_SOC_CROS_EC_CODEC if CROS_EC
  138. select SND_SOC_HDMI_CODEC
  139. help
  140. This adds ASoC driver for Mediatek MT8183 boards
  141. with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
  142. Select Y if you have such device.
  143. If unsure select "N".
  144. config SND_SOC_MT8183_DA7219_MAX98357A
  145. tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
  146. depends on SND_SOC_MT8183 && I2C && GPIOLIB
  147. select SND_SOC_MT6358
  148. select SND_SOC_MAX98357A
  149. select SND_SOC_RT1015
  150. select SND_SOC_RT1015P
  151. select SND_SOC_DA7219
  152. select SND_SOC_BT_SCO
  153. select SND_SOC_HDMI_CODEC
  154. help
  155. This adds ASoC driver for Mediatek MT8183 boards
  156. with the DA7219 MAX98357A RT1015 audio codec.
  157. Select Y if you have such device.
  158. If unsure select "N".
  159. config SND_SOC_MT8186
  160. tristate "ASoC support for Mediatek MT8186 chip"
  161. depends on ARCH_MEDIATEK || COMPILE_TEST
  162. depends on COMMON_CLK
  163. select SND_SOC_MEDIATEK
  164. select SND_SOC_MT6358
  165. select MFD_SYSCON if SND_SOC_MT6358
  166. help
  167. This adds ASoC driver for Mediatek MT8186 boards
  168. that can be used with other codecs.
  169. Select Y if you have such device.
  170. If unsure select "N".
  171. config SND_SOC_MT8186_MT6366
  172. tristate "ASoC Audio driver for MT8186 with MT6366 and I2S codecs"
  173. depends on I2C && GPIOLIB
  174. depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
  175. select SND_SOC_DA7219
  176. select SND_SOC_MT6358
  177. select SND_SOC_MAX98357A
  178. select SND_SOC_RT1015P
  179. select SND_SOC_RT5682S
  180. select SND_SOC_RT5645
  181. select SND_SOC_BT_SCO
  182. select SND_SOC_DMIC
  183. select SND_SOC_HDMI_CODEC
  184. help
  185. This adds the ASoC machine driver for Mediatek MT8186 boards
  186. with the MT6366(MT6358) and other I2S audio codecs.
  187. Select Y if you have such device.
  188. If unsure select "N".
  189. config SND_SOC_MTK_BTCVSD
  190. tristate "ALSA BT SCO CVSD/MSBC Driver"
  191. help
  192. This is for software BTCVSD. This enable
  193. the function for transferring/receiving
  194. BT encoded data to/from BT firmware.
  195. Select Y if you have such device.
  196. If unsure select "N".
  197. config SND_SOC_MT8188
  198. tristate "ASoC support for MediaTek MT8188 chip"
  199. depends on ARCH_MEDIATEK || COMPILE_TEST
  200. depends on COMMON_CLK
  201. select SND_SOC_MEDIATEK
  202. select MFD_SYSCON if SND_SOC_MT6359
  203. help
  204. This adds ASoC platform driver support for MediaTek MT8188 chip
  205. that can be used with other codecs.
  206. Select Y if you have such device.
  207. If unsure select "N".
  208. config SND_SOC_MT8188_MT6359
  209. tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
  210. depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
  211. depends on I2C
  212. select SND_SOC_MT6359
  213. select SND_SOC_HDMI_CODEC
  214. select SND_SOC_DMIC
  215. select SND_SOC_MAX98390
  216. select SND_SOC_NAU8315
  217. select SND_SOC_NAU8825
  218. select SND_SOC_RT5682S
  219. select SND_SOC_ES8326
  220. help
  221. This adds support for ASoC machine driver for MediaTek MT8188
  222. boards with the MT6359 and other I2S audio codecs.
  223. Select Y if you have such device.
  224. If unsure select "N".
  225. config SND_SOC_MT8192
  226. tristate "ASoC support for Mediatek MT8192 chip"
  227. depends on ARCH_MEDIATEK
  228. select SND_SOC_MEDIATEK
  229. help
  230. This adds ASoC platform driver support for Mediatek MT8192 chip
  231. that can be used with other codecs.
  232. Select Y if you have such device.
  233. If unsure select "N".
  234. config SND_SOC_MT8192_MT6359_RT1015_RT5682
  235. tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
  236. depends on I2C && GPIOLIB
  237. depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
  238. select SND_SOC_MT6359
  239. select SND_SOC_RT1015
  240. select SND_SOC_RT1015P
  241. select SND_SOC_RT5682_I2C
  242. select SND_SOC_RT5682S
  243. select SND_SOC_DMIC
  244. help
  245. This adds ASoC driver for Mediatek MT8192 boards
  246. with the MT6359 RT1015 RT5682 audio codec.
  247. Select Y if you have such device.
  248. If unsure select "N".
  249. config SND_SOC_MT8195
  250. tristate "ASoC support for Mediatek MT8195 chip"
  251. depends on ARCH_MEDIATEK || COMPILE_TEST
  252. depends on COMMON_CLK
  253. select SND_SOC_MEDIATEK
  254. select MFD_SYSCON if SND_SOC_MT6359
  255. help
  256. This adds ASoC platform driver support for Mediatek MT8195 chip
  257. that can be used with other codecs.
  258. Select Y if you have such device.
  259. If unsure select "N".
  260. config SND_SOC_MT8195_MT6359
  261. tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
  262. depends on I2C && GPIOLIB
  263. depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
  264. select SND_SOC_MT6359
  265. select SND_SOC_RT1011
  266. select SND_SOC_RT1015P
  267. select SND_SOC_RT5682_I2C
  268. select SND_SOC_RT5682S
  269. select SND_SOC_MAX98390
  270. select SND_SOC_DMIC
  271. select SND_SOC_HDMI_CODEC
  272. help
  273. This adds support for ASoC machine driver for Mediatek MT8195
  274. boards with the MT6359 and other I2S audio codecs.
  275. Select Y if you have such device.
  276. If unsure select "N".
  277. config SND_SOC_MT8365
  278. tristate "ASoC support for MediaTek MT8365 chip"
  279. depends on ARCH_MEDIATEK || COMPILE_TEST
  280. select SND_SOC_MEDIATEK
  281. help
  282. This adds ASoC platform driver support for MediaTek MT8365 chip
  283. that can be used with other codecs.
  284. Select Y if you have such device.
  285. If unsure select "N".
  286. config SND_SOC_MT8365_MT6357
  287. tristate "ASoC Audio driver for MT8365 with MT6357 codec"
  288. depends on SND_SOC_MT8365 && MTK_PMIC_WRAP
  289. select SND_SOC_MT6357
  290. help
  291. This adds support for ASoC machine driver for MediaTek MT8365
  292. boards with the MT6357 PMIC codec.
  293. Select Y if you have such device.
  294. If unsure select "N".