Kconfig 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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_MT8173
  52. tristate "ASoC support for Mediatek MT8173 chip"
  53. depends on ARCH_MEDIATEK
  54. select SND_SOC_MEDIATEK
  55. help
  56. This adds ASoC platform driver support for Mediatek MT8173 chip
  57. that can be used with other codecs.
  58. Select Y if you have such device.
  59. Ex: MT8173
  60. config SND_SOC_MT8173_MAX98090
  61. tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
  62. depends on SND_SOC_MT8173 && I2C
  63. select SND_SOC_MAX98090
  64. help
  65. This adds ASoC driver for Mediatek MT8173 boards
  66. with the MAX98090 audio codec.
  67. Select Y if you have such device.
  68. If unsure select "N".
  69. config SND_SOC_MT8173_RT5650
  70. tristate "ASoC Audio driver for MT8173 with RT5650 codec"
  71. depends on SND_SOC_MT8173 && I2C
  72. select SND_SOC_RT5645
  73. select SND_SOC_HDMI_CODEC
  74. help
  75. This adds ASoC driver for Mediatek MT8173 boards
  76. with the RT5650 audio codec.
  77. Select Y if you have such device.
  78. If unsure select "N".
  79. config SND_SOC_MT8173_RT5650_RT5514
  80. tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
  81. depends on SND_SOC_MT8173 && I2C
  82. select SND_SOC_RT5645
  83. select SND_SOC_RT5514
  84. help
  85. This adds ASoC driver for Mediatek MT8173 boards
  86. with the RT5650 and RT5514 codecs.
  87. Select Y if you have such device.
  88. If unsure select "N".
  89. config SND_SOC_MT8173_RT5650_RT5676
  90. tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
  91. depends on SND_SOC_MT8173 && I2C
  92. select SND_SOC_RT5645
  93. select SND_SOC_RT5677
  94. select SND_SOC_HDMI_CODEC
  95. help
  96. This adds ASoC driver for Mediatek MT8173 boards
  97. with the RT5650 and RT5676 codecs.
  98. Select Y if you have such device.
  99. If unsure select "N".
  100. config SND_SOC_MT8183
  101. tristate "ASoC support for Mediatek MT8183 chip"
  102. depends on ARCH_MEDIATEK
  103. select SND_SOC_MEDIATEK
  104. help
  105. This adds ASoC platform driver support for Mediatek MT8183 chip
  106. that can be used with other codecs.
  107. Select Y if you have such device.
  108. If unsure select "N".
  109. config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
  110. tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
  111. depends on I2C && GPIOLIB
  112. depends on SND_SOC_MT8183
  113. select SND_SOC_MT6358
  114. select SND_SOC_MAX98357A
  115. select SND_SOC_RT1015
  116. select SND_SOC_RT1015P
  117. select SND_SOC_BT_SCO
  118. select SND_SOC_TS3A227E
  119. select SND_SOC_CROS_EC_CODEC if CROS_EC
  120. select SND_SOC_HDMI_CODEC
  121. help
  122. This adds ASoC driver for Mediatek MT8183 boards
  123. with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
  124. Select Y if you have such device.
  125. If unsure select "N".
  126. config SND_SOC_MT8183_DA7219_MAX98357A
  127. tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
  128. depends on SND_SOC_MT8183 && I2C && GPIOLIB
  129. select SND_SOC_MT6358
  130. select SND_SOC_MAX98357A
  131. select SND_SOC_RT1015
  132. select SND_SOC_RT1015P
  133. select SND_SOC_DA7219
  134. select SND_SOC_BT_SCO
  135. select SND_SOC_HDMI_CODEC
  136. help
  137. This adds ASoC driver for Mediatek MT8183 boards
  138. with the DA7219 MAX98357A RT1015 audio codec.
  139. Select Y if you have such device.
  140. If unsure select "N".
  141. config SND_SOC_MT8186
  142. tristate "ASoC support for Mediatek MT8186 chip"
  143. depends on ARCH_MEDIATEK || COMPILE_TEST
  144. depends on COMMON_CLK
  145. select SND_SOC_MEDIATEK
  146. select SND_SOC_MT6358
  147. select MFD_SYSCON if SND_SOC_MT6358
  148. help
  149. This adds ASoC driver for Mediatek MT8186 boards
  150. that can be used with other codecs.
  151. Select Y if you have such device.
  152. If unsure select "N".
  153. config SND_SOC_MT8186_MT6366_DA7219_MAX98357
  154. tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
  155. depends on I2C && GPIOLIB
  156. depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
  157. select SND_SOC_MT6358
  158. select SND_SOC_MAX98357A
  159. select SND_SOC_DA7219
  160. select SND_SOC_BT_SCO
  161. select SND_SOC_DMIC
  162. select SND_SOC_HDMI_CODEC
  163. help
  164. This adds ASoC driver for Mediatek MT8186 boards
  165. with the MT6366(MT6358) DA7219 MAX98357A codecs.
  166. Select Y if you have such device.
  167. If unsure select "N".
  168. config SND_SOC_MT8186_MT6366_RT1019_RT5682S
  169. tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec"
  170. depends on I2C && GPIOLIB
  171. depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
  172. select SND_SOC_MAX98357A
  173. select SND_SOC_MT6358
  174. select SND_SOC_MAX98357A
  175. select SND_SOC_RT1015P
  176. select SND_SOC_RT5682S
  177. select SND_SOC_BT_SCO
  178. select SND_SOC_DMIC
  179. select SND_SOC_HDMI_CODEC
  180. help
  181. This adds ASoC driver for Mediatek MT8186 boards
  182. with the MT6366(MT6358) RT1019 RT5682S codecs.
  183. Select Y if you have such device.
  184. If unsure select "N".
  185. config SND_SOC_MTK_BTCVSD
  186. tristate "ALSA BT SCO CVSD/MSBC Driver"
  187. help
  188. This is for software BTCVSD. This enable
  189. the function for transferring/receiving
  190. BT encoded data to/from BT firmware.
  191. Select Y if you have such device.
  192. If unsure select "N".
  193. config SND_SOC_MT8192
  194. tristate "ASoC support for Mediatek MT8192 chip"
  195. depends on ARCH_MEDIATEK
  196. select SND_SOC_MEDIATEK
  197. help
  198. This adds ASoC platform driver support for Mediatek MT8192 chip
  199. that can be used with other codecs.
  200. Select Y if you have such device.
  201. If unsure select "N".
  202. config SND_SOC_MT8192_MT6359_RT1015_RT5682
  203. tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
  204. depends on I2C && GPIOLIB
  205. depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
  206. select SND_SOC_MT6359
  207. select SND_SOC_RT1015
  208. select SND_SOC_RT1015P
  209. select SND_SOC_RT5682_I2C
  210. select SND_SOC_RT5682S
  211. select SND_SOC_DMIC
  212. help
  213. This adds ASoC driver for Mediatek MT8192 boards
  214. with the MT6359 RT1015 RT5682 audio codec.
  215. Select Y if you have such device.
  216. If unsure select "N".
  217. config SND_SOC_MT8195
  218. tristate "ASoC support for Mediatek MT8195 chip"
  219. depends on ARCH_MEDIATEK || COMPILE_TEST
  220. depends on COMMON_CLK
  221. select SND_SOC_MEDIATEK
  222. select MFD_SYSCON if SND_SOC_MT6359
  223. help
  224. This adds ASoC platform driver support for Mediatek MT8195 chip
  225. that can be used with other codecs.
  226. Select Y if you have such device.
  227. If unsure select "N".
  228. config SND_SOC_MT8195_MT6359
  229. tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
  230. depends on I2C && GPIOLIB
  231. depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
  232. select SND_SOC_MT6359
  233. select SND_SOC_RT1011
  234. select SND_SOC_RT1015P
  235. select SND_SOC_RT5682_I2C
  236. select SND_SOC_RT5682S
  237. select SND_SOC_MAX98390
  238. select SND_SOC_DMIC
  239. select SND_SOC_HDMI_CODEC
  240. help
  241. This adds support for ASoC machine driver for Mediatek MT8195
  242. boards with the MT6359 and other I2S audio codecs.
  243. Select Y if you have such device.
  244. If unsure select "N".