162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig SND_SOC_MEDIATEK
362306a36Sopenharmony_ci	tristate
462306a36Sopenharmony_ci	select REGMAP_MMIO
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig SND_SOC_MT2701
762306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT2701 chip"
862306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
962306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT2701 boards
1262306a36Sopenharmony_ci	  that can be used with other codecs.
1362306a36Sopenharmony_ci	  Select Y if you have such device.
1462306a36Sopenharmony_ci	  If unsure select "N".
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig SND_SOC_MT2701_CS42448
1762306a36Sopenharmony_ci	tristate "ASoc Audio driver for MT2701 with CS42448 codec"
1862306a36Sopenharmony_ci	depends on SND_SOC_MT2701 && I2C
1962306a36Sopenharmony_ci	select SND_SOC_CS42XX8_I2C
2062306a36Sopenharmony_ci	select SND_SOC_BT_SCO
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT2701 boards
2362306a36Sopenharmony_ci	  with the CS42448 codecs.
2462306a36Sopenharmony_ci	  Select Y if you have such device.
2562306a36Sopenharmony_ci	  If unsure select "N".
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig SND_SOC_MT2701_WM8960
2862306a36Sopenharmony_ci	tristate "ASoc Audio driver for MT2701 with WM8960 codec"
2962306a36Sopenharmony_ci	depends on SND_SOC_MT2701 && I2C
3062306a36Sopenharmony_ci	select SND_SOC_WM8960
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT2701 boards
3362306a36Sopenharmony_ci	  with the WM8960 codecs.
3462306a36Sopenharmony_ci	  Select Y if you have such device.
3562306a36Sopenharmony_ci	  If unsure select "N".
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig SND_SOC_MT6797
3862306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT6797 chip"
3962306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
4062306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT6797 boards
4362306a36Sopenharmony_ci	  that can be used with other codecs.
4462306a36Sopenharmony_ci	  Select Y if you have such device.
4562306a36Sopenharmony_ci	  If unsure select "N".
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciconfig SND_SOC_MT6797_MT6351
4862306a36Sopenharmony_ci	tristate "ASoc Audio driver for MT6797 with MT6351 codec"
4962306a36Sopenharmony_ci	depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
5062306a36Sopenharmony_ci	select SND_SOC_MT6351
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT6797 boards
5362306a36Sopenharmony_ci	  with the MT6351 codecs.
5462306a36Sopenharmony_ci	  Select Y if you have such device.
5562306a36Sopenharmony_ci	  If unsure select "N".
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciconfig SND_SOC_MT7986
5862306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT7986 chip"
5962306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
6062306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
6162306a36Sopenharmony_ci	help
6262306a36Sopenharmony_ci	  This adds ASoC platform driver support for MediaTek MT7986 chip
6362306a36Sopenharmony_ci	  that can be used with other codecs.
6462306a36Sopenharmony_ci	  Select Y if you have such device.
6562306a36Sopenharmony_ci	  If unsure select "N".
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig SND_SOC_MT7986_WM8960
6862306a36Sopenharmony_ci	tristate "ASoc Audio driver for MT7986 with WM8960 codec"
6962306a36Sopenharmony_ci	depends on SND_SOC_MT7986 && I2C
7062306a36Sopenharmony_ci	select SND_SOC_WM8960
7162306a36Sopenharmony_ci	help
7262306a36Sopenharmony_ci	  This adds support for ASoC machine driver for MediaTek MT7986
7362306a36Sopenharmony_ci	  boards with the WM8960 codecs.
7462306a36Sopenharmony_ci	  Select Y if you have such device.
7562306a36Sopenharmony_ci	  If unsure select "N".
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciconfig SND_SOC_MT8173
7862306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT8173 chip"
7962306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
8062306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
8162306a36Sopenharmony_ci	help
8262306a36Sopenharmony_ci	  This adds ASoC platform driver support for Mediatek MT8173 chip
8362306a36Sopenharmony_ci	  that can be used with other codecs.
8462306a36Sopenharmony_ci	  Select Y if you have such device.
8562306a36Sopenharmony_ci	  Ex: MT8173
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ciconfig SND_SOC_MT8173_MAX98090
8862306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
8962306a36Sopenharmony_ci	depends on SND_SOC_MT8173 && I2C
9062306a36Sopenharmony_ci	select SND_SOC_MAX98090
9162306a36Sopenharmony_ci	help
9262306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8173 boards
9362306a36Sopenharmony_ci	  with the MAX98090 audio codec.
9462306a36Sopenharmony_ci	  Select Y if you have such device.
9562306a36Sopenharmony_ci	  If unsure select "N".
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciconfig SND_SOC_MT8173_RT5650
9862306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
9962306a36Sopenharmony_ci	depends on SND_SOC_MT8173 && I2C
10062306a36Sopenharmony_ci	select SND_SOC_RT5645
10162306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
10262306a36Sopenharmony_ci	help
10362306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8173 boards
10462306a36Sopenharmony_ci	  with the RT5650 audio codec.
10562306a36Sopenharmony_ci	  Select Y if you have such device.
10662306a36Sopenharmony_ci	  If unsure select "N".
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_ciconfig SND_SOC_MT8173_RT5650_RT5514
10962306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
11062306a36Sopenharmony_ci	depends on SND_SOC_MT8173 && I2C
11162306a36Sopenharmony_ci	select SND_SOC_RT5645
11262306a36Sopenharmony_ci	select SND_SOC_RT5514
11362306a36Sopenharmony_ci	help
11462306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8173 boards
11562306a36Sopenharmony_ci	  with the RT5650 and RT5514 codecs.
11662306a36Sopenharmony_ci	  Select Y if you have such device.
11762306a36Sopenharmony_ci	  If unsure select "N".
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciconfig SND_SOC_MT8173_RT5650_RT5676
12062306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
12162306a36Sopenharmony_ci	depends on SND_SOC_MT8173 && I2C
12262306a36Sopenharmony_ci	select SND_SOC_RT5645
12362306a36Sopenharmony_ci	select SND_SOC_RT5677
12462306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
12562306a36Sopenharmony_ci	help
12662306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8173 boards
12762306a36Sopenharmony_ci	  with the RT5650 and RT5676 codecs.
12862306a36Sopenharmony_ci	  Select Y if you have such device.
12962306a36Sopenharmony_ci	  If unsure select "N".
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ciconfig SND_SOC_MT8183
13262306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT8183 chip"
13362306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
13462306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
13562306a36Sopenharmony_ci	help
13662306a36Sopenharmony_ci	  This adds ASoC platform driver support for Mediatek MT8183 chip
13762306a36Sopenharmony_ci	  that can be used with other codecs.
13862306a36Sopenharmony_ci	  Select Y if you have such device.
13962306a36Sopenharmony_ci	  If unsure select "N".
14062306a36Sopenharmony_ci
14162306a36Sopenharmony_ciconfig SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
14262306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
14362306a36Sopenharmony_ci	depends on I2C && GPIOLIB
14462306a36Sopenharmony_ci	depends on SND_SOC_MT8183
14562306a36Sopenharmony_ci	select SND_SOC_MT6358
14662306a36Sopenharmony_ci	select SND_SOC_MAX98357A
14762306a36Sopenharmony_ci	select SND_SOC_RT1015
14862306a36Sopenharmony_ci	select SND_SOC_RT1015P
14962306a36Sopenharmony_ci	select SND_SOC_BT_SCO
15062306a36Sopenharmony_ci	select SND_SOC_TS3A227E
15162306a36Sopenharmony_ci	select SND_SOC_CROS_EC_CODEC if CROS_EC
15262306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
15362306a36Sopenharmony_ci	help
15462306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8183 boards
15562306a36Sopenharmony_ci	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
15662306a36Sopenharmony_ci	  Select Y if you have such device.
15762306a36Sopenharmony_ci	  If unsure select "N".
15862306a36Sopenharmony_ci
15962306a36Sopenharmony_ciconfig SND_SOC_MT8183_DA7219_MAX98357A
16062306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
16162306a36Sopenharmony_ci	depends on SND_SOC_MT8183 && I2C && GPIOLIB
16262306a36Sopenharmony_ci	select SND_SOC_MT6358
16362306a36Sopenharmony_ci	select SND_SOC_MAX98357A
16462306a36Sopenharmony_ci	select SND_SOC_RT1015
16562306a36Sopenharmony_ci	select SND_SOC_RT1015P
16662306a36Sopenharmony_ci	select SND_SOC_DA7219
16762306a36Sopenharmony_ci	select SND_SOC_BT_SCO
16862306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
16962306a36Sopenharmony_ci	help
17062306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8183 boards
17162306a36Sopenharmony_ci	  with the DA7219 MAX98357A RT1015 audio codec.
17262306a36Sopenharmony_ci	  Select Y if you have such device.
17362306a36Sopenharmony_ci	  If unsure select "N".
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ciconfig SND_SOC_MT8186
17662306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT8186 chip"
17762306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
17862306a36Sopenharmony_ci	depends on COMMON_CLK
17962306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
18062306a36Sopenharmony_ci	select SND_SOC_MT6358
18162306a36Sopenharmony_ci	select MFD_SYSCON if SND_SOC_MT6358
18262306a36Sopenharmony_ci	help
18362306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8186 boards
18462306a36Sopenharmony_ci	  that can be used with other codecs.
18562306a36Sopenharmony_ci	  Select Y if you have such device.
18662306a36Sopenharmony_ci	  If unsure select "N".
18762306a36Sopenharmony_ci
18862306a36Sopenharmony_ciconfig SND_SOC_MT8186_MT6366_DA7219_MAX98357
18962306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
19062306a36Sopenharmony_ci	depends on I2C && GPIOLIB
19162306a36Sopenharmony_ci	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
19262306a36Sopenharmony_ci	select SND_SOC_MT6358
19362306a36Sopenharmony_ci	select SND_SOC_MAX98357A
19462306a36Sopenharmony_ci	select SND_SOC_DA7219
19562306a36Sopenharmony_ci	select SND_SOC_BT_SCO
19662306a36Sopenharmony_ci	select SND_SOC_DMIC
19762306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
19862306a36Sopenharmony_ci	help
19962306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8186 boards
20062306a36Sopenharmony_ci	  with the MT6366(MT6358) DA7219 MAX98357A codecs.
20162306a36Sopenharmony_ci	  Select Y if you have such device.
20262306a36Sopenharmony_ci	  If unsure select "N".
20362306a36Sopenharmony_ci
20462306a36Sopenharmony_ciconfig SND_SOC_MT8186_MT6366_RT1019_RT5682S
20562306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec"
20662306a36Sopenharmony_ci	depends on I2C && GPIOLIB
20762306a36Sopenharmony_ci	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
20862306a36Sopenharmony_ci	select SND_SOC_MAX98357A
20962306a36Sopenharmony_ci	select SND_SOC_MT6358
21062306a36Sopenharmony_ci	select SND_SOC_MAX98357A
21162306a36Sopenharmony_ci	select SND_SOC_RT1015P
21262306a36Sopenharmony_ci	select SND_SOC_RT5682S
21362306a36Sopenharmony_ci	select SND_SOC_BT_SCO
21462306a36Sopenharmony_ci	select SND_SOC_DMIC
21562306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
21662306a36Sopenharmony_ci	help
21762306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8186 boards
21862306a36Sopenharmony_ci	  with the MT6366(MT6358) RT1019 RT5682S codecs.
21962306a36Sopenharmony_ci	  Select Y if you have such device.
22062306a36Sopenharmony_ci	  If unsure select "N".
22162306a36Sopenharmony_ci
22262306a36Sopenharmony_ciconfig SND_SOC_MTK_BTCVSD
22362306a36Sopenharmony_ci	tristate "ALSA BT SCO CVSD/MSBC Driver"
22462306a36Sopenharmony_ci	help
22562306a36Sopenharmony_ci	  This is for software BTCVSD. This enable
22662306a36Sopenharmony_ci	  the function for transferring/receiving
22762306a36Sopenharmony_ci	  BT encoded data to/from BT firmware.
22862306a36Sopenharmony_ci	  Select Y if you have such device.
22962306a36Sopenharmony_ci	  If unsure select "N".
23062306a36Sopenharmony_ci
23162306a36Sopenharmony_ciconfig SND_SOC_MT8188
23262306a36Sopenharmony_ci	tristate "ASoC support for MediaTek MT8188 chip"
23362306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
23462306a36Sopenharmony_ci	depends on COMMON_CLK
23562306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
23662306a36Sopenharmony_ci	select MFD_SYSCON if SND_SOC_MT6359
23762306a36Sopenharmony_ci	help
23862306a36Sopenharmony_ci	  This adds ASoC platform driver support for MediaTek MT8188 chip
23962306a36Sopenharmony_ci	  that can be used with other codecs.
24062306a36Sopenharmony_ci	  Select Y if you have such device.
24162306a36Sopenharmony_ci	  If unsure select "N".
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ciconfig SND_SOC_MT8188_MT6359
24462306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
24562306a36Sopenharmony_ci	depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
24662306a36Sopenharmony_ci	depends on I2C
24762306a36Sopenharmony_ci	select SND_SOC_MT6359
24862306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
24962306a36Sopenharmony_ci	select SND_SOC_DMIC
25062306a36Sopenharmony_ci	select SND_SOC_MAX98390
25162306a36Sopenharmony_ci	select SND_SOC_NAU8315
25262306a36Sopenharmony_ci	select SND_SOC_NAU8825
25362306a36Sopenharmony_ci	help
25462306a36Sopenharmony_ci	  This adds support for ASoC machine driver for MediaTek MT8188
25562306a36Sopenharmony_ci	  boards with the MT6359 and other I2S audio codecs.
25662306a36Sopenharmony_ci	  Select Y if you have such device.
25762306a36Sopenharmony_ci	  If unsure select "N".
25862306a36Sopenharmony_ci
25962306a36Sopenharmony_ciconfig SND_SOC_MT8192
26062306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT8192 chip"
26162306a36Sopenharmony_ci	depends on ARCH_MEDIATEK
26262306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
26362306a36Sopenharmony_ci	help
26462306a36Sopenharmony_ci	  This adds ASoC platform driver support for Mediatek MT8192 chip
26562306a36Sopenharmony_ci	  that can be used with other codecs.
26662306a36Sopenharmony_ci	  Select Y if you have such device.
26762306a36Sopenharmony_ci	  If unsure select "N".
26862306a36Sopenharmony_ci
26962306a36Sopenharmony_ciconfig SND_SOC_MT8192_MT6359_RT1015_RT5682
27062306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
27162306a36Sopenharmony_ci	depends on I2C && GPIOLIB
27262306a36Sopenharmony_ci	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
27362306a36Sopenharmony_ci	select SND_SOC_MT6359
27462306a36Sopenharmony_ci	select SND_SOC_RT1015
27562306a36Sopenharmony_ci	select SND_SOC_RT1015P
27662306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
27762306a36Sopenharmony_ci	select SND_SOC_RT5682S
27862306a36Sopenharmony_ci	select SND_SOC_DMIC
27962306a36Sopenharmony_ci	help
28062306a36Sopenharmony_ci	  This adds ASoC driver for Mediatek MT8192 boards
28162306a36Sopenharmony_ci	  with the MT6359 RT1015 RT5682 audio codec.
28262306a36Sopenharmony_ci	  Select Y if you have such device.
28362306a36Sopenharmony_ci	  If unsure select "N".
28462306a36Sopenharmony_ci
28562306a36Sopenharmony_ciconfig SND_SOC_MT8195
28662306a36Sopenharmony_ci	tristate "ASoC support for Mediatek MT8195 chip"
28762306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
28862306a36Sopenharmony_ci	depends on COMMON_CLK
28962306a36Sopenharmony_ci	select SND_SOC_MEDIATEK
29062306a36Sopenharmony_ci	select MFD_SYSCON if SND_SOC_MT6359
29162306a36Sopenharmony_ci	help
29262306a36Sopenharmony_ci	  This adds ASoC platform driver support for Mediatek MT8195 chip
29362306a36Sopenharmony_ci	  that can be used with other codecs.
29462306a36Sopenharmony_ci	  Select Y if you have such device.
29562306a36Sopenharmony_ci	  If unsure select "N".
29662306a36Sopenharmony_ci
29762306a36Sopenharmony_ciconfig SND_SOC_MT8195_MT6359
29862306a36Sopenharmony_ci	tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
29962306a36Sopenharmony_ci	depends on I2C && GPIOLIB
30062306a36Sopenharmony_ci	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
30162306a36Sopenharmony_ci	select SND_SOC_MT6359
30262306a36Sopenharmony_ci	select SND_SOC_RT1011
30362306a36Sopenharmony_ci	select SND_SOC_RT1015P
30462306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
30562306a36Sopenharmony_ci	select SND_SOC_RT5682S
30662306a36Sopenharmony_ci	select SND_SOC_MAX98390
30762306a36Sopenharmony_ci	select SND_SOC_DMIC
30862306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
30962306a36Sopenharmony_ci	help
31062306a36Sopenharmony_ci	  This adds support for ASoC machine driver for Mediatek MT8195
31162306a36Sopenharmony_ci	  boards with the MT6359 and other I2S audio codecs.
31262306a36Sopenharmony_ci	  Select Y if you have such device.
31362306a36Sopenharmony_ci	  If unsure select "N".
314