xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision 9873277f)
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
578d0d4884SMaso Huangconfig SND_SOC_MT7986
588d0d4884SMaso Huang	tristate "ASoC support for Mediatek MT7986 chip"
598d0d4884SMaso Huang	depends on ARCH_MEDIATEK
608d0d4884SMaso Huang	select SND_SOC_MEDIATEK
618d0d4884SMaso Huang	help
628d0d4884SMaso Huang	  This adds ASoC platform driver support for MediaTek MT7986 chip
638d0d4884SMaso Huang	  that can be used with other codecs.
648d0d4884SMaso Huang	  Select Y if you have such device.
658d0d4884SMaso Huang	  If unsure select "N".
668d0d4884SMaso Huang
67*9873277fSMaso Huangconfig SND_SOC_MT7986_WM8960
68*9873277fSMaso Huang	tristate "ASoc Audio driver for MT7986 with WM8960 codec"
69*9873277fSMaso Huang	depends on SND_SOC_MT7986 && I2C
70*9873277fSMaso Huang	select SND_SOC_WM8960
71*9873277fSMaso Huang	help
72*9873277fSMaso Huang	  This adds support for ASoC machine driver for MediaTek MT7986
73*9873277fSMaso Huang	  boards with the WM8960 codecs.
74*9873277fSMaso Huang	  Select Y if you have such device.
75*9873277fSMaso Huang	  If unsure select "N".
76*9873277fSMaso Huang
770d1d7a66SGarlic Tsengconfig SND_SOC_MT8173
780d1d7a66SGarlic Tseng	tristate "ASoC support for Mediatek MT8173 chip"
79ee0bcaffSKoro Chen	depends on ARCH_MEDIATEK
806b1e19d9SGarlic Tseng	select SND_SOC_MEDIATEK
81ee0bcaffSKoro Chen	help
820d1d7a66SGarlic Tseng	  This adds ASoC platform driver support for Mediatek MT8173 chip
83ee0bcaffSKoro Chen	  that can be used with other codecs.
84ee0bcaffSKoro Chen	  Select Y if you have such device.
85ee0bcaffSKoro Chen	  Ex: MT8173
86ee0bcaffSKoro Chen
87a54f6f0cSKoro Chenconfig SND_SOC_MT8173_MAX98090
88a54f6f0cSKoro Chen	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
890d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
90a54f6f0cSKoro Chen	select SND_SOC_MAX98090
91a54f6f0cSKoro Chen	help
92a54f6f0cSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
93a54f6f0cSKoro Chen	  with the MAX98090 audio codec.
94a54f6f0cSKoro Chen	  Select Y if you have such device.
95a54f6f0cSKoro Chen	  If unsure select "N".
96a54f6f0cSKoro Chen
970f83f929SKoro Chenconfig SND_SOC_MT8173_RT5650
980f83f929SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
990d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
1000f83f929SKoro Chen	select SND_SOC_RT5645
10197e1145aSPC Liao	select SND_SOC_HDMI_CODEC
1020f83f929SKoro Chen	help
1030f83f929SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
1040f83f929SKoro Chen	  with the RT5650 audio codec.
1050f83f929SKoro Chen	  Select Y if you have such device.
1060f83f929SKoro Chen	  If unsure select "N".
1070f83f929SKoro Chen
1080c71367dSKoro Chenconfig SND_SOC_MT8173_RT5650_RT5514
1090c71367dSKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
1100d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
1110c71367dSKoro Chen	select SND_SOC_RT5645
1120c71367dSKoro Chen	select SND_SOC_RT5514
1130c71367dSKoro Chen	help
1140c71367dSKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
1150c71367dSKoro Chen	  with the RT5650 and RT5514 codecs.
1160c71367dSKoro Chen	  Select Y if you have such device.
1170c71367dSKoro Chen	  If unsure select "N".
1180c71367dSKoro Chen
119662e8d91SKoro Chenconfig SND_SOC_MT8173_RT5650_RT5676
120662e8d91SKoro Chen	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
1210d1d7a66SGarlic Tseng	depends on SND_SOC_MT8173 && I2C
122662e8d91SKoro Chen	select SND_SOC_RT5645
123662e8d91SKoro Chen	select SND_SOC_RT5677
124c0133e3bSKoro Chen	select SND_SOC_HDMI_CODEC
125662e8d91SKoro Chen	help
126662e8d91SKoro Chen	  This adds ASoC driver for Mediatek MT8173 boards
127662e8d91SKoro Chen	  with the RT5650 and RT5676 codecs.
128662e8d91SKoro Chen	  Select Y if you have such device.
129662e8d91SKoro Chen	  If unsure select "N".
130a94aec03SShunli Wang
131a94aec03SShunli Wangconfig SND_SOC_MT8183
132a94aec03SShunli Wang	tristate "ASoC support for Mediatek MT8183 chip"
133a94aec03SShunli Wang	depends on ARCH_MEDIATEK
134a94aec03SShunli Wang	select SND_SOC_MEDIATEK
135a94aec03SShunli Wang	help
136a94aec03SShunli Wang	  This adds ASoC platform driver support for Mediatek MT8183 chip
137a94aec03SShunli Wang	  that can be used with other codecs.
138a94aec03SShunli Wang	  Select Y if you have such device.
139a94aec03SShunli Wang	  If unsure select "N".
1404bd8597dSKaiChieh Chuang
14111c02690SShunli Wangconfig SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
142f4fb4fefSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
1432554877eSJulian Braha	depends on I2C && GPIOLIB
14411c02690SShunli Wang	depends on SND_SOC_MT8183
14511c02690SShunli Wang	select SND_SOC_MT6358
14611c02690SShunli Wang	select SND_SOC_MAX98357A
147f4fb4fefSTzung-Bi Shih	select SND_SOC_RT1015
1489dc21a06STzung-Bi Shih	select SND_SOC_RT1015P
14911c02690SShunli Wang	select SND_SOC_BT_SCO
15011c02690SShunli Wang	select SND_SOC_TS3A227E
151ef5dee55SMao Wenan	select SND_SOC_CROS_EC_CODEC if CROS_EC
15288abbf62STzung-Bi Shih	select SND_SOC_HDMI_CODEC
15311c02690SShunli Wang	help
15411c02690SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
155f4fb4fefSTzung-Bi Shih	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
15611c02690SShunli Wang	  Select Y if you have such device.
15711c02690SShunli Wang	  If unsure select "N".
15811c02690SShunli Wang
159ebbddc75SShunli Wangconfig SND_SOC_MT8183_DA7219_MAX98357A
1609e30251fSTzung-Bi Shih	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
1612554877eSJulian Braha	depends on SND_SOC_MT8183 && I2C && GPIOLIB
162ebbddc75SShunli Wang	select SND_SOC_MT6358
163ebbddc75SShunli Wang	select SND_SOC_MAX98357A
1649e30251fSTzung-Bi Shih	select SND_SOC_RT1015
1657e5bfdddSTzung-Bi Shih	select SND_SOC_RT1015P
166ebbddc75SShunli Wang	select SND_SOC_DA7219
167ebbddc75SShunli Wang	select SND_SOC_BT_SCO
168e25f8afdSTzung-Bi Shih	select SND_SOC_HDMI_CODEC
169ebbddc75SShunli Wang	help
170ebbddc75SShunli Wang	  This adds ASoC driver for Mediatek MT8183 boards
1719e30251fSTzung-Bi Shih	  with the DA7219 MAX98357A RT1015 audio codec.
172ebbddc75SShunli Wang	  Select Y if you have such device.
173ebbddc75SShunli Wang	  If unsure select "N".
174ebbddc75SShunli Wang
175097e874aSJiaxin Yuconfig SND_SOC_MT8186
176097e874aSJiaxin Yu	tristate "ASoC support for Mediatek MT8186 chip"
177097e874aSJiaxin Yu	depends on ARCH_MEDIATEK || COMPILE_TEST
178097e874aSJiaxin Yu	depends on COMMON_CLK
179097e874aSJiaxin Yu	select SND_SOC_MEDIATEK
180f20d5116SRen Zhijie	select SND_SOC_MT6358
181097e874aSJiaxin Yu	select MFD_SYSCON if SND_SOC_MT6358
182097e874aSJiaxin Yu	help
183097e874aSJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
184097e874aSJiaxin Yu	  that can be used with other codecs.
185097e874aSJiaxin Yu	  Select Y if you have such device.
186097e874aSJiaxin Yu	  If unsure select "N".
187097e874aSJiaxin Yu
1883c6e24b6SJiaxin Yuconfig SND_SOC_MT8186_MT6366_DA7219_MAX98357
1893c6e24b6SJiaxin Yu	tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
1903c6e24b6SJiaxin Yu	depends on I2C && GPIOLIB
1913c6e24b6SJiaxin Yu	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
1923c6e24b6SJiaxin Yu	select SND_SOC_MT6358
1933c6e24b6SJiaxin Yu	select SND_SOC_MAX98357A
1943c6e24b6SJiaxin Yu	select SND_SOC_DA7219
1953c6e24b6SJiaxin Yu	select SND_SOC_BT_SCO
1963c6e24b6SJiaxin Yu	select SND_SOC_DMIC
1973c6e24b6SJiaxin Yu	select SND_SOC_HDMI_CODEC
1983c6e24b6SJiaxin Yu	help
1993c6e24b6SJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
2003c6e24b6SJiaxin Yu	  with the MT6366(MT6358) DA7219 MAX98357A codecs.
2013c6e24b6SJiaxin Yu	  Select Y if you have such device.
2023c6e24b6SJiaxin Yu	  If unsure select "N".
2033c6e24b6SJiaxin Yu
2040da16e37SJiaxin Yuconfig SND_SOC_MT8186_MT6366_RT1019_RT5682S
2058a54f666SAllen-KH Cheng	tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec"
2060da16e37SJiaxin Yu	depends on I2C && GPIOLIB
2070da16e37SJiaxin Yu	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
2088a54f666SAllen-KH Cheng	select SND_SOC_MAX98357A
2090da16e37SJiaxin Yu	select SND_SOC_MT6358
210810948f4SMars Chen	select SND_SOC_MAX98357A
2110da16e37SJiaxin Yu	select SND_SOC_RT1015P
2120da16e37SJiaxin Yu	select SND_SOC_RT5682S
2130da16e37SJiaxin Yu	select SND_SOC_BT_SCO
2140da16e37SJiaxin Yu	select SND_SOC_DMIC
2150da16e37SJiaxin Yu	select SND_SOC_HDMI_CODEC
2160da16e37SJiaxin Yu	help
2170da16e37SJiaxin Yu	  This adds ASoC driver for Mediatek MT8186 boards
2180da16e37SJiaxin Yu	  with the MT6366(MT6358) RT1019 RT5682S codecs.
2190da16e37SJiaxin Yu	  Select Y if you have such device.
2200da16e37SJiaxin Yu	  If unsure select "N".
2210da16e37SJiaxin Yu
2224bd8597dSKaiChieh Chuangconfig SND_SOC_MTK_BTCVSD
2234bd8597dSKaiChieh Chuang	tristate "ALSA BT SCO CVSD/MSBC Driver"
2244bd8597dSKaiChieh Chuang	help
2254bd8597dSKaiChieh Chuang	  This is for software BTCVSD. This enable
2264bd8597dSKaiChieh Chuang	  the function for transferring/receiving
2274bd8597dSKaiChieh Chuang	  BT encoded data to/from BT firmware.
2284bd8597dSKaiChieh Chuang	  Select Y if you have such device.
2294bd8597dSKaiChieh Chuang	  If unsure select "N".
230125ab5d5SJiaxin Yu
231bf106bf0STrevor Wuconfig SND_SOC_MT8188
232bf106bf0STrevor Wu	tristate "ASoC support for MediaTek MT8188 chip"
233bf106bf0STrevor Wu	depends on ARCH_MEDIATEK || COMPILE_TEST
234bf106bf0STrevor Wu	depends on COMMON_CLK
235bf106bf0STrevor Wu	select SND_SOC_MEDIATEK
236bf106bf0STrevor Wu	select MFD_SYSCON if SND_SOC_MT6359
237bf106bf0STrevor Wu	help
238bf106bf0STrevor Wu	  This adds ASoC platform driver support for MediaTek MT8188 chip
239bf106bf0STrevor Wu	  that can be used with other codecs.
240bf106bf0STrevor Wu	  Select Y if you have such device.
241bf106bf0STrevor Wu	  If unsure select "N".
242bf106bf0STrevor Wu
24396035d46STrevor Wuconfig SND_SOC_MT8188_MT6359
24496035d46STrevor Wu	tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
24596035d46STrevor Wu	depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
246484ede9bSArnd Bergmann	depends on I2C
24796035d46STrevor Wu	select SND_SOC_MT6359
24896035d46STrevor Wu	select SND_SOC_HDMI_CODEC
2499f08dcbdSTrevor Wu	select SND_SOC_DMIC
2509f08dcbdSTrevor Wu	select SND_SOC_MAX98390
2519f08dcbdSTrevor Wu	select SND_SOC_NAU8315
2529f08dcbdSTrevor Wu	select SND_SOC_NAU8825
25396035d46STrevor Wu	help
25496035d46STrevor Wu	  This adds support for ASoC machine driver for MediaTek MT8188
25596035d46STrevor Wu	  boards with the MT6359 and other I2S audio codecs.
25696035d46STrevor Wu	  Select Y if you have such device.
25796035d46STrevor Wu	  If unsure select "N".
25896035d46STrevor Wu
259125ab5d5SJiaxin Yuconfig SND_SOC_MT8192
260125ab5d5SJiaxin Yu	tristate "ASoC support for Mediatek MT8192 chip"
261125ab5d5SJiaxin Yu	depends on ARCH_MEDIATEK
262125ab5d5SJiaxin Yu	select SND_SOC_MEDIATEK
263125ab5d5SJiaxin Yu	help
264125ab5d5SJiaxin Yu	  This adds ASoC platform driver support for Mediatek MT8192 chip
265125ab5d5SJiaxin Yu	  that can be used with other codecs.
266125ab5d5SJiaxin Yu	  Select Y if you have such device.
267125ab5d5SJiaxin Yu	  If unsure select "N".
26818b13ff2SJiaxin Yu
26918b13ff2SJiaxin Yuconfig SND_SOC_MT8192_MT6359_RT1015_RT5682
27018b13ff2SJiaxin Yu	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
2712554877eSJulian Braha	depends on I2C && GPIOLIB
272c1cbbea9SArnd Bergmann	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
27318b13ff2SJiaxin Yu	select SND_SOC_MT6359
27418b13ff2SJiaxin Yu	select SND_SOC_RT1015
275cfd8bb25STzung-Bi Shih	select SND_SOC_RT1015P
27618b13ff2SJiaxin Yu	select SND_SOC_RT5682_I2C
2776181ab31SJiaxin Yu	select SND_SOC_RT5682S
2782aff94e4SJiaxin Yu	select SND_SOC_DMIC
27918b13ff2SJiaxin Yu	help
28018b13ff2SJiaxin Yu	  This adds ASoC driver for Mediatek MT8192 boards
28118b13ff2SJiaxin Yu	  with the MT6359 RT1015 RT5682 audio codec.
28218b13ff2SJiaxin Yu	  Select Y if you have such device.
28318b13ff2SJiaxin Yu	  If unsure select "N".
2846746cc85STrevor Wu
2856746cc85STrevor Wuconfig SND_SOC_MT8195
2866746cc85STrevor Wu	tristate "ASoC support for Mediatek MT8195 chip"
287940ffa19SGeert Uytterhoeven	depends on ARCH_MEDIATEK || COMPILE_TEST
2885a80dea9STrevor Wu	depends on COMMON_CLK
2896746cc85STrevor Wu	select SND_SOC_MEDIATEK
2905a80dea9STrevor Wu	select MFD_SYSCON if SND_SOC_MT6359
2916746cc85STrevor Wu	help
2926746cc85STrevor Wu	  This adds ASoC platform driver support for Mediatek MT8195 chip
2936746cc85STrevor Wu	  that can be used with other codecs.
2946746cc85STrevor Wu	  Select Y if you have such device.
2956746cc85STrevor Wu	  If unsure select "N".
29640d605dfSTrevor Wu
297094e30efSTrevor Wuconfig SND_SOC_MT8195_MT6359
298094e30efSTrevor Wu	tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
2992554877eSJulian Braha	depends on I2C && GPIOLIB
300cd5e4efdSTrevor Wu	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
30140d605dfSTrevor Wu	select SND_SOC_MT6359
302094e30efSTrevor Wu	select SND_SOC_RT1011
30340d605dfSTrevor Wu	select SND_SOC_RT1015P
30440d605dfSTrevor Wu	select SND_SOC_RT5682_I2C
305c9d57a25STrevor Wu	select SND_SOC_RT5682S
30686a6b9c9STrevor Wu	select SND_SOC_MAX98390
30740d605dfSTrevor Wu	select SND_SOC_DMIC
308e581e301STrevor Wu	select SND_SOC_HDMI_CODEC
30940d605dfSTrevor Wu	help
310094e30efSTrevor Wu	  This adds support for ASoC machine driver for Mediatek MT8195
311094e30efSTrevor Wu	  boards with the MT6359 and other I2S audio codecs.
3120261e364STrevor Wu	  Select Y if you have such device.
3130261e364STrevor Wu	  If unsure select "N".
314