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