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