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