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