xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision c9d57a25)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
26b1e19d9SGarlic Tsengconfig SND_SOC_MEDIATEK
36b1e19d9SGarlic Tseng	tristate
45a80dea9STrevor Wu	select REGMAP_MMIO
56b1e19d9SGarlic Tseng
61f458d53SGarlic Tsengconfig SND_SOC_MT2701
71f458d53SGarlic Tseng	tristate "ASoC support for Mediatek MT2701 chip"
81f458d53SGarlic Tseng	depends on ARCH_MEDIATEK
91f458d53SGarlic Tseng	select SND_SOC_MEDIATEK
101f458d53SGarlic Tseng	help
111f458d53SGarlic Tseng	  This adds ASoC driver for Mediatek MT2701 boards
121f458d53SGarlic Tseng	  that can be used with other codecs.
131f458d53SGarlic Tseng	  Select Y if you have such device.
141f458d53SGarlic Tseng	  If unsure select "N".
151f458d53SGarlic Tseng
161f458d53SGarlic Tsengconfig SND_SOC_MT2701_CS42448
171f458d53SGarlic Tseng	tristate "ASoc Audio driver for MT2701 with CS42448 codec"
1872cedf59SArnd Bergmann	depends on SND_SOC_MT2701 && I2C
191f458d53SGarlic Tseng	select SND_SOC_CS42XX8_I2C
201f458d53SGarlic Tseng	select SND_SOC_BT_SCO
211f458d53SGarlic Tseng	help
221f458d53SGarlic Tseng	  This adds ASoC driver for Mediatek MT2701 boards
231f458d53SGarlic Tseng	  with the CS42448 codecs.
241f458d53SGarlic Tseng	  Select Y if you have such device.
251f458d53SGarlic Tseng	  If unsure select "N".
261f458d53SGarlic Tseng
278625c1dbSRyder Leeconfig SND_SOC_MT2701_WM8960
288625c1dbSRyder Lee	tristate "ASoc Audio driver for MT2701 with WM8960 codec"
29362c5943SArnd Bergmann	depends on SND_SOC_MT2701 && I2C
308625c1dbSRyder Lee	select SND_SOC_WM8960
318625c1dbSRyder Lee	help
328625c1dbSRyder Lee	  This adds ASoC driver for Mediatek MT2701 boards
338625c1dbSRyder Lee	  with the WM8960 codecs.
348625c1dbSRyder Lee	  Select Y if you have such device.
358625c1dbSRyder Lee	  If unsure select "N".
368625c1dbSRyder Lee
37f0ab0bf2SKai Chieh Chuangconfig SND_SOC_MT6797
38f0ab0bf2SKai Chieh Chuang	tristate "ASoC support for Mediatek MT6797 chip"
39f0ab0bf2SKai Chieh Chuang	depends on ARCH_MEDIATEK
40f0ab0bf2SKai Chieh Chuang	select SND_SOC_MEDIATEK
41f0ab0bf2SKai Chieh Chuang	help
42f0ab0bf2SKai Chieh Chuang	  This adds ASoC driver for Mediatek MT6797 boards
43f0ab0bf2SKai Chieh Chuang	  that can be used with other codecs.
44f0ab0bf2SKai Chieh Chuang	  Select Y if you have such device.
45f0ab0bf2SKai Chieh Chuang	  If unsure select "N".
46f0ab0bf2SKai Chieh Chuang
47f0ab0bf2SKai Chieh Chuangconfig SND_SOC_MT6797_MT6351
48f0ab0bf2SKai Chieh Chuang	tristate "ASoc Audio driver for MT6797 with MT6351 codec"
49f0ab0bf2SKai Chieh Chuang	depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
50f0ab0bf2SKai Chieh Chuang	select SND_SOC_MT6351
51f0ab0bf2SKai Chieh Chuang	help
52f0ab0bf2SKai Chieh Chuang	  This adds ASoC driver for Mediatek MT6797 boards
53f0ab0bf2SKai Chieh Chuang	  with the MT6351 codecs.
54f0ab0bf2SKai Chieh Chuang	  Select Y if you have such device.
55f0ab0bf2SKai Chieh Chuang	  If unsure select "N".
56f0ab0bf2SKai Chieh Chuang
570d1d7a66SGarlic Tsengconfig SND_SOC_MT8173
580d1d7a66SGarlic Tseng	tristate "ASoC support for Mediatek MT8173 chip"
59ee0bcaffSKoro Chen	depends on ARCH_MEDIATEK
606b1e19d9SGarlic Tseng	select SND_SOC_MEDIATEK
61ee0bcaffSKoro Chen	help
620d1d7a66SGarlic Tseng	  This adds ASoC platform driver support for Mediatek MT8173 chip
63ee0bcaffSKoro Chen	  that can be used with other codecs.
64ee0bcaffSKoro Chen	  Select Y if you have such device.
65ee0bcaffSKoro Chen	  Ex: MT8173
66ee0bcaffSKoro Chen
67a54f6f0cSKoro Chenconfig SND_SOC_MT8173_MAX98090
68a54f6f0cSKoro Chen	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
690d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
70a54f6f0cSKoro Chen	select SND_SOC_MAX98090
71a54f6f0cSKoro Chen	help
72a54f6f0cSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
73a54f6f0cSKoro Chen	  with the MAX98090 audio codec.
74a54f6f0cSKoro Chen	  Select Y if you have such device.
75a54f6f0cSKoro Chen	  If unsure select "N".
76a54f6f0cSKoro Chen
770f83f929SKoro Chenconfig SND_SOC_MT8173_RT5650
780f83f929SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
790d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
800f83f929SKoro Chen	select SND_SOC_RT5645
8197e1145aSPC Liao	select SND_SOC_HDMI_CODEC
820f83f929SKoro Chen	help
830f83f929SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
840f83f929SKoro Chen	  with the RT5650 audio codec.
850f83f929SKoro Chen	  Select Y if you have such device.
860f83f929SKoro Chen	  If unsure select "N".
870f83f929SKoro Chen
880c71367dSKoro Chenconfig SND_SOC_MT8173_RT5650_RT5514
890c71367dSKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
900d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
910c71367dSKoro Chen	select SND_SOC_RT5645
920c71367dSKoro Chen	select SND_SOC_RT5514
930c71367dSKoro Chen	help
940c71367dSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
950c71367dSKoro Chen	  with the RT5650 and RT5514 codecs.
960c71367dSKoro Chen	  Select Y if you have such device.
970c71367dSKoro Chen	  If unsure select "N".
980c71367dSKoro Chen
99662e8d91SKoro Chenconfig SND_SOC_MT8173_RT5650_RT5676
100662e8d91SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
1010d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
102662e8d91SKoro Chen	select SND_SOC_RT5645
103662e8d91SKoro Chen	select SND_SOC_RT5677
104c0133e3bSKoro Chen	select SND_SOC_HDMI_CODEC
105662e8d91SKoro Chen	help
106662e8d91SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
107662e8d91SKoro Chen	  with the RT5650 and RT5676 codecs.
108662e8d91SKoro Chen	  Select Y if you have such device.
109662e8d91SKoro Chen	  If unsure select "N".
110a94aec03SShunli Wang
111a94aec03SShunli Wangconfig SND_SOC_MT8183
112a94aec03SShunli Wang	tristate "ASoC support for Mediatek MT8183 chip"
113a94aec03SShunli Wang	depends on ARCH_MEDIATEK
114a94aec03SShunli Wang	select SND_SOC_MEDIATEK
115a94aec03SShunli Wang	help
116a94aec03SShunli Wang	  This adds ASoC platform driver support for Mediatek MT8183 chip
117a94aec03SShunli Wang	  that can be used with other codecs.
118a94aec03SShunli Wang	  Select Y if you have such device.
119a94aec03SShunli Wang	  If unsure select "N".
1204bd8597dSKaiChieh Chuang
12111c02690SShunli Wangconfig SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
122f4fb4fefSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
1232554877eSJulian Braha	depends on I2C && GPIOLIB
12411c02690SShunli Wang	depends on SND_SOC_MT8183
12511c02690SShunli Wang	select SND_SOC_MT6358
12611c02690SShunli Wang	select SND_SOC_MAX98357A
127f4fb4fefSTzung-Bi Shih	select SND_SOC_RT1015
1289dc21a06STzung-Bi Shih	select SND_SOC_RT1015P
12911c02690SShunli Wang	select SND_SOC_BT_SCO
13011c02690SShunli Wang	select SND_SOC_TS3A227E
131ef5dee55SMao Wenan	select SND_SOC_CROS_EC_CODEC if CROS_EC
13288abbf62STzung-Bi Shih	select SND_SOC_HDMI_CODEC
13311c02690SShunli Wang	help
13411c02690SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
135f4fb4fefSTzung-Bi Shih	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
13611c02690SShunli Wang	  Select Y if you have such device.
13711c02690SShunli Wang	  If unsure select "N".
13811c02690SShunli Wang
139ebbddc75SShunli Wangconfig SND_SOC_MT8183_DA7219_MAX98357A
1409e30251fSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
1412554877eSJulian Braha	depends on SND_SOC_MT8183 && I2C && GPIOLIB
142ebbddc75SShunli Wang	select SND_SOC_MT6358
143ebbddc75SShunli Wang	select SND_SOC_MAX98357A
1449e30251fSTzung-Bi Shih	select SND_SOC_RT1015
1457e5bfdddSTzung-Bi Shih	select SND_SOC_RT1015P
146ebbddc75SShunli Wang	select SND_SOC_DA7219
147ebbddc75SShunli Wang	select SND_SOC_BT_SCO
148e25f8afdSTzung-Bi Shih	select SND_SOC_HDMI_CODEC
149ebbddc75SShunli Wang	help
150ebbddc75SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
1519e30251fSTzung-Bi Shih	  with the DA7219 MAX98357A RT1015 audio codec.
152ebbddc75SShunli Wang	  Select Y if you have such device.
153ebbddc75SShunli Wang	  If unsure select "N".
154ebbddc75SShunli Wang
1554bd8597dSKaiChieh Chuangconfig SND_SOC_MTK_BTCVSD
1564bd8597dSKaiChieh Chuang	tristate "ALSA BT SCO CVSD/MSBC Driver"
1574bd8597dSKaiChieh Chuang	help
1584bd8597dSKaiChieh Chuang	  This is for software BTCVSD. This enable
1594bd8597dSKaiChieh Chuang	  the function for transferring/receiving
1604bd8597dSKaiChieh Chuang	  BT encoded data to/from BT firmware.
1614bd8597dSKaiChieh Chuang	  Select Y if you have such device.
1624bd8597dSKaiChieh Chuang	  If unsure select "N".
163125ab5d5SJiaxin Yu
164125ab5d5SJiaxin Yuconfig SND_SOC_MT8192
165125ab5d5SJiaxin Yu	tristate "ASoC support for Mediatek MT8192 chip"
166125ab5d5SJiaxin Yu	depends on ARCH_MEDIATEK
167125ab5d5SJiaxin Yu	select SND_SOC_MEDIATEK
168125ab5d5SJiaxin Yu	help
169125ab5d5SJiaxin Yu	  This adds ASoC platform driver support for Mediatek MT8192 chip
170125ab5d5SJiaxin Yu	  that can be used with other codecs.
171125ab5d5SJiaxin Yu	  Select Y if you have such device.
172125ab5d5SJiaxin Yu	  If unsure select "N".
17318b13ff2SJiaxin Yu
17418b13ff2SJiaxin Yuconfig SND_SOC_MT8192_MT6359_RT1015_RT5682
17518b13ff2SJiaxin Yu	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
1762554877eSJulian Braha	depends on I2C && GPIOLIB
177c1cbbea9SArnd Bergmann	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
17818b13ff2SJiaxin Yu	select SND_SOC_MT6359
17918b13ff2SJiaxin Yu	select SND_SOC_RT1015
180cfd8bb25STzung-Bi Shih	select SND_SOC_RT1015P
18118b13ff2SJiaxin Yu	select SND_SOC_RT5682_I2C
1822aff94e4SJiaxin Yu	select SND_SOC_DMIC
18318b13ff2SJiaxin Yu	help
18418b13ff2SJiaxin Yu	  This adds ASoC driver for Mediatek MT8192 boards
18518b13ff2SJiaxin Yu	  with the MT6359 RT1015 RT5682 audio codec.
18618b13ff2SJiaxin Yu	  Select Y if you have such device.
18718b13ff2SJiaxin Yu	  If unsure select "N".
1886746cc85STrevor Wu
1896746cc85STrevor Wuconfig SND_SOC_MT8195
1906746cc85STrevor Wu	tristate "ASoC support for Mediatek MT8195 chip"
191940ffa19SGeert Uytterhoeven	depends on ARCH_MEDIATEK || COMPILE_TEST
1925a80dea9STrevor Wu	depends on COMMON_CLK
1936746cc85STrevor Wu	select SND_SOC_MEDIATEK
1945a80dea9STrevor Wu	select MFD_SYSCON if SND_SOC_MT6359
1956746cc85STrevor Wu	help
1966746cc85STrevor Wu	  This adds ASoC platform driver support for Mediatek MT8195 chip
1976746cc85STrevor Wu	  that can be used with other codecs.
1986746cc85STrevor Wu	  Select Y if you have such device.
1996746cc85STrevor Wu	  If unsure select "N".
20040d605dfSTrevor Wu
20140d605dfSTrevor Wuconfig SND_SOC_MT8195_MT6359_RT1019_RT5682
20240d605dfSTrevor Wu	tristate "ASoC Audio driver for MT8195 with MT6359 RT1019 RT5682 codec"
2032554877eSJulian Braha	depends on I2C && GPIOLIB
204cd5e4efdSTrevor Wu	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
20540d605dfSTrevor Wu	select SND_SOC_MT6359
20640d605dfSTrevor Wu	select SND_SOC_RT1015P
20740d605dfSTrevor Wu	select SND_SOC_RT5682_I2C
208*c9d57a25STrevor Wu	select SND_SOC_RT5682S
20940d605dfSTrevor Wu	select SND_SOC_DMIC
210e581e301STrevor Wu	select SND_SOC_HDMI_CODEC
21140d605dfSTrevor Wu	help
21240d605dfSTrevor Wu	  This adds ASoC driver for Mediatek MT8195 boards
21340d605dfSTrevor Wu	  with the MT6359 RT1019 RT5682 audio codec.
21440d605dfSTrevor Wu	  Select Y if you have such device.
21540d605dfSTrevor Wu	  If unsure select "N".
2160261e364STrevor Wu
2170261e364STrevor Wuconfig SND_SOC_MT8195_MT6359_RT1011_RT5682
2180261e364STrevor Wu	tristate "ASoC Audio driver for MT8195 with MT6359 RT1011 RT5682 codec"
2190261e364STrevor Wu	depends on I2C
2200261e364STrevor Wu	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
2210261e364STrevor Wu	select SND_SOC_MT6359
2220261e364STrevor Wu	select SND_SOC_RT1011
2230261e364STrevor Wu	select SND_SOC_RT5682_I2C
224*c9d57a25STrevor Wu	select SND_SOC_RT5682S
2250261e364STrevor Wu	select SND_SOC_DMIC
2260261e364STrevor Wu	select SND_SOC_HDMI_CODEC
2270261e364STrevor Wu	help
2280261e364STrevor Wu	  This adds ASoC driver for Mediatek MT8195 boards
2290261e364STrevor Wu	  with the MT6359 RT1011 RT5682 audio codec.
2300261e364STrevor Wu	  Select Y if you have such device.
2310261e364STrevor Wu	  If unsure select "N".
232