0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SND_SOC_MEDIATEK
0003 tristate
0004 select REGMAP_MMIO
0005
0006 config SND_SOC_MT2701
0007 tristate "ASoC support for Mediatek MT2701 chip"
0008 depends on ARCH_MEDIATEK
0009 select SND_SOC_MEDIATEK
0010 help
0011 This adds ASoC driver for Mediatek MT2701 boards
0012 that can be used with other codecs.
0013 Select Y if you have such device.
0014 If unsure select "N".
0015
0016 config SND_SOC_MT2701_CS42448
0017 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
0018 depends on SND_SOC_MT2701 && I2C
0019 select SND_SOC_CS42XX8_I2C
0020 select SND_SOC_BT_SCO
0021 help
0022 This adds ASoC driver for Mediatek MT2701 boards
0023 with the CS42448 codecs.
0024 Select Y if you have such device.
0025 If unsure select "N".
0026
0027 config SND_SOC_MT2701_WM8960
0028 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
0029 depends on SND_SOC_MT2701 && I2C
0030 select SND_SOC_WM8960
0031 help
0032 This adds ASoC driver for Mediatek MT2701 boards
0033 with the WM8960 codecs.
0034 Select Y if you have such device.
0035 If unsure select "N".
0036
0037 config SND_SOC_MT6797
0038 tristate "ASoC support for Mediatek MT6797 chip"
0039 depends on ARCH_MEDIATEK
0040 select SND_SOC_MEDIATEK
0041 help
0042 This adds ASoC driver for Mediatek MT6797 boards
0043 that can be used with other codecs.
0044 Select Y if you have such device.
0045 If unsure select "N".
0046
0047 config SND_SOC_MT6797_MT6351
0048 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
0049 depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
0050 select SND_SOC_MT6351
0051 help
0052 This adds ASoC driver for Mediatek MT6797 boards
0053 with the MT6351 codecs.
0054 Select Y if you have such device.
0055 If unsure select "N".
0056
0057 config SND_SOC_MT8173
0058 tristate "ASoC support for Mediatek MT8173 chip"
0059 depends on ARCH_MEDIATEK
0060 select SND_SOC_MEDIATEK
0061 help
0062 This adds ASoC platform driver support for Mediatek MT8173 chip
0063 that can be used with other codecs.
0064 Select Y if you have such device.
0065 Ex: MT8173
0066
0067 config SND_SOC_MT8173_MAX98090
0068 tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
0069 depends on SND_SOC_MT8173 && I2C
0070 select SND_SOC_MAX98090
0071 help
0072 This adds ASoC driver for Mediatek MT8173 boards
0073 with the MAX98090 audio codec.
0074 Select Y if you have such device.
0075 If unsure select "N".
0076
0077 config SND_SOC_MT8173_RT5650
0078 tristate "ASoC Audio driver for MT8173 with RT5650 codec"
0079 depends on SND_SOC_MT8173 && I2C
0080 select SND_SOC_RT5645
0081 select SND_SOC_HDMI_CODEC
0082 help
0083 This adds ASoC driver for Mediatek MT8173 boards
0084 with the RT5650 audio codec.
0085 Select Y if you have such device.
0086 If unsure select "N".
0087
0088 config SND_SOC_MT8173_RT5650_RT5514
0089 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
0090 depends on SND_SOC_MT8173 && I2C
0091 select SND_SOC_RT5645
0092 select SND_SOC_RT5514
0093 help
0094 This adds ASoC driver for Mediatek MT8173 boards
0095 with the RT5650 and RT5514 codecs.
0096 Select Y if you have such device.
0097 If unsure select "N".
0098
0099 config SND_SOC_MT8173_RT5650_RT5676
0100 tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
0101 depends on SND_SOC_MT8173 && I2C
0102 select SND_SOC_RT5645
0103 select SND_SOC_RT5677
0104 select SND_SOC_HDMI_CODEC
0105 help
0106 This adds ASoC driver for Mediatek MT8173 boards
0107 with the RT5650 and RT5676 codecs.
0108 Select Y if you have such device.
0109 If unsure select "N".
0110
0111 config SND_SOC_MT8183
0112 tristate "ASoC support for Mediatek MT8183 chip"
0113 depends on ARCH_MEDIATEK
0114 select SND_SOC_MEDIATEK
0115 help
0116 This adds ASoC platform driver support for Mediatek MT8183 chip
0117 that can be used with other codecs.
0118 Select Y if you have such device.
0119 If unsure select "N".
0120
0121 config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
0122 tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
0123 depends on I2C && GPIOLIB
0124 depends on SND_SOC_MT8183
0125 select SND_SOC_MT6358
0126 select SND_SOC_MAX98357A
0127 select SND_SOC_RT1015
0128 select SND_SOC_RT1015P
0129 select SND_SOC_BT_SCO
0130 select SND_SOC_TS3A227E
0131 select SND_SOC_CROS_EC_CODEC if CROS_EC
0132 select SND_SOC_HDMI_CODEC
0133 help
0134 This adds ASoC driver for Mediatek MT8183 boards
0135 with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
0136 Select Y if you have such device.
0137 If unsure select "N".
0138
0139 config SND_SOC_MT8183_DA7219_MAX98357A
0140 tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
0141 depends on SND_SOC_MT8183 && I2C && GPIOLIB
0142 select SND_SOC_MT6358
0143 select SND_SOC_MAX98357A
0144 select SND_SOC_RT1015
0145 select SND_SOC_RT1015P
0146 select SND_SOC_DA7219
0147 select SND_SOC_BT_SCO
0148 select SND_SOC_HDMI_CODEC
0149 help
0150 This adds ASoC driver for Mediatek MT8183 boards
0151 with the DA7219 MAX98357A RT1015 audio codec.
0152 Select Y if you have such device.
0153 If unsure select "N".
0154
0155 config SND_SOC_MT8186
0156 tristate "ASoC support for Mediatek MT8186 chip"
0157 depends on ARCH_MEDIATEK || COMPILE_TEST
0158 depends on COMMON_CLK
0159 select SND_SOC_MEDIATEK
0160 select SND_SOC_MT6358
0161 select MFD_SYSCON if SND_SOC_MT6358
0162 help
0163 This adds ASoC driver for Mediatek MT8186 boards
0164 that can be used with other codecs.
0165 Select Y if you have such device.
0166 If unsure select "N".
0167
0168 config SND_SOC_MT8186_MT6366_DA7219_MAX98357
0169 tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
0170 depends on I2C && GPIOLIB
0171 depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
0172 select SND_SOC_MT6358
0173 select SND_SOC_MAX98357A
0174 select SND_SOC_DA7219
0175 select SND_SOC_BT_SCO
0176 select SND_SOC_DMIC
0177 select SND_SOC_HDMI_CODEC
0178 help
0179 This adds ASoC driver for Mediatek MT8186 boards
0180 with the MT6366(MT6358) DA7219 MAX98357A codecs.
0181 Select Y if you have such device.
0182 If unsure select "N".
0183
0184 config SND_SOC_MT8186_MT6366_RT1019_RT5682S
0185 tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S codec"
0186 depends on I2C && GPIOLIB
0187 depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
0188 select SND_SOC_MT6358
0189 select SND_SOC_RT1015P
0190 select SND_SOC_RT5682S
0191 select SND_SOC_BT_SCO
0192 select SND_SOC_DMIC
0193 select SND_SOC_HDMI_CODEC
0194 help
0195 This adds ASoC driver for Mediatek MT8186 boards
0196 with the MT6366(MT6358) RT1019 RT5682S codecs.
0197 Select Y if you have such device.
0198 If unsure select "N".
0199
0200 config SND_SOC_MTK_BTCVSD
0201 tristate "ALSA BT SCO CVSD/MSBC Driver"
0202 help
0203 This is for software BTCVSD. This enable
0204 the function for transferring/receiving
0205 BT encoded data to/from BT firmware.
0206 Select Y if you have such device.
0207 If unsure select "N".
0208
0209 config SND_SOC_MT8192
0210 tristate "ASoC support for Mediatek MT8192 chip"
0211 depends on ARCH_MEDIATEK
0212 select SND_SOC_MEDIATEK
0213 help
0214 This adds ASoC platform driver support for Mediatek MT8192 chip
0215 that can be used with other codecs.
0216 Select Y if you have such device.
0217 If unsure select "N".
0218
0219 config SND_SOC_MT8192_MT6359_RT1015_RT5682
0220 tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
0221 depends on I2C && GPIOLIB
0222 depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
0223 select SND_SOC_MT6359
0224 select SND_SOC_RT1015
0225 select SND_SOC_RT1015P
0226 select SND_SOC_RT5682_I2C
0227 select SND_SOC_RT5682S
0228 select SND_SOC_DMIC
0229 help
0230 This adds ASoC driver for Mediatek MT8192 boards
0231 with the MT6359 RT1015 RT5682 audio codec.
0232 Select Y if you have such device.
0233 If unsure select "N".
0234
0235 config SND_SOC_MT8195
0236 tristate "ASoC support for Mediatek MT8195 chip"
0237 depends on ARCH_MEDIATEK || COMPILE_TEST
0238 depends on COMMON_CLK
0239 select SND_SOC_MEDIATEK
0240 select MFD_SYSCON if SND_SOC_MT6359
0241 help
0242 This adds ASoC platform driver support for Mediatek MT8195 chip
0243 that can be used with other codecs.
0244 Select Y if you have such device.
0245 If unsure select "N".
0246
0247 config SND_SOC_MT8195_MT6359
0248 tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
0249 depends on I2C && GPIOLIB
0250 depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
0251 select SND_SOC_MT6359
0252 select SND_SOC_RT1011
0253 select SND_SOC_RT1015P
0254 select SND_SOC_RT5682_I2C
0255 select SND_SOC_RT5682S
0256 select SND_SOC_MAX98390
0257 select SND_SOC_DMIC
0258 select SND_SOC_HDMI_CODEC
0259 help
0260 This adds support for ASoC machine driver for Mediatek MT8195
0261 boards with the MT6359 and other I2S audio codecs.
0262 Select Y if you have such device.
0263 If unsure select "N".