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