xref: /linux/sound/soc/mediatek/Kconfig (revision 561add0da6d3d07c9bccb0832fb6ed5619167d26)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_SOC_MEDIATEK
3	tristate
4	select REGMAP_MMIO
5
6config 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
16config 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
27config 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
37config 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
47config 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
57config 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
67config 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
77config 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
87config 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
97config 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
108config 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
119config 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
131config 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
141config 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
159config 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
175config 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
188config SND_SOC_MT8186_MT6366_DA7219_MAX98357
189	tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
190	depends on I2C && GPIOLIB
191	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
192	select SND_SOC_MT6358
193	select SND_SOC_MAX98357A
194	select SND_SOC_DA7219
195	select SND_SOC_BT_SCO
196	select SND_SOC_DMIC
197	select SND_SOC_HDMI_CODEC
198	help
199	  This adds ASoC driver for Mediatek MT8186 boards
200	  with the MT6366(MT6358) DA7219 MAX98357A codecs.
201	  Select Y if you have such device.
202	  If unsure select "N".
203
204config SND_SOC_MT8186_MT6366_RT1019_RT5682S
205	tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec"
206	depends on I2C && GPIOLIB
207	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
208	select SND_SOC_MAX98357A
209	select SND_SOC_MT6358
210	select SND_SOC_MAX98357A
211	select SND_SOC_RT1015P
212	select SND_SOC_RT5682S
213	select SND_SOC_BT_SCO
214	select SND_SOC_DMIC
215	select SND_SOC_HDMI_CODEC
216	help
217	  This adds ASoC driver for Mediatek MT8186 boards
218	  with the MT6366(MT6358) RT1019 RT5682S codecs.
219	  Select Y if you have such device.
220	  If unsure select "N".
221
222config SND_SOC_MTK_BTCVSD
223	tristate "ALSA BT SCO CVSD/MSBC Driver"
224	help
225	  This is for software BTCVSD. This enable
226	  the function for transferring/receiving
227	  BT encoded data to/from BT firmware.
228	  Select Y if you have such device.
229	  If unsure select "N".
230
231config SND_SOC_MT8188
232	tristate "ASoC support for MediaTek MT8188 chip"
233	depends on ARCH_MEDIATEK || COMPILE_TEST
234	depends on COMMON_CLK
235	select SND_SOC_MEDIATEK
236	select MFD_SYSCON if SND_SOC_MT6359
237	help
238	  This adds ASoC platform driver support for MediaTek MT8188 chip
239	  that can be used with other codecs.
240	  Select Y if you have such device.
241	  If unsure select "N".
242
243config SND_SOC_MT8188_MT6359
244	tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
245	depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
246	depends on I2C
247	select SND_SOC_MT6359
248	select SND_SOC_HDMI_CODEC
249	select SND_SOC_DMIC
250	select SND_SOC_MAX98390
251	select SND_SOC_NAU8315
252	select SND_SOC_NAU8825
253	help
254	  This adds support for ASoC machine driver for MediaTek MT8188
255	  boards with the MT6359 and other I2S audio codecs.
256	  Select Y if you have such device.
257	  If unsure select "N".
258
259config SND_SOC_MT8192
260	tristate "ASoC support for Mediatek MT8192 chip"
261	depends on ARCH_MEDIATEK
262	select SND_SOC_MEDIATEK
263	help
264	  This adds ASoC platform driver support for Mediatek MT8192 chip
265	  that can be used with other codecs.
266	  Select Y if you have such device.
267	  If unsure select "N".
268
269config SND_SOC_MT8192_MT6359_RT1015_RT5682
270	tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
271	depends on I2C && GPIOLIB
272	depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
273	select SND_SOC_MT6359
274	select SND_SOC_RT1015
275	select SND_SOC_RT1015P
276	select SND_SOC_RT5682_I2C
277	select SND_SOC_RT5682S
278	select SND_SOC_DMIC
279	help
280	  This adds ASoC driver for Mediatek MT8192 boards
281	  with the MT6359 RT1015 RT5682 audio codec.
282	  Select Y if you have such device.
283	  If unsure select "N".
284
285config SND_SOC_MT8195
286	tristate "ASoC support for Mediatek MT8195 chip"
287	depends on ARCH_MEDIATEK || COMPILE_TEST
288	depends on COMMON_CLK
289	select SND_SOC_MEDIATEK
290	select MFD_SYSCON if SND_SOC_MT6359
291	help
292	  This adds ASoC platform driver support for Mediatek MT8195 chip
293	  that can be used with other codecs.
294	  Select Y if you have such device.
295	  If unsure select "N".
296
297config SND_SOC_MT8195_MT6359
298	tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
299	depends on I2C && GPIOLIB
300	depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
301	select SND_SOC_MT6359
302	select SND_SOC_RT1011
303	select SND_SOC_RT1015P
304	select SND_SOC_RT5682_I2C
305	select SND_SOC_RT5682S
306	select SND_SOC_MAX98390
307	select SND_SOC_DMIC
308	select SND_SOC_HDMI_CODEC
309	help
310	  This adds support for ASoC machine driver for Mediatek MT8195
311	  boards with the MT6359 and other I2S audio codecs.
312	  Select Y if you have such device.
313	  If unsure select "N".
314