xref: /openbmc/linux/sound/soc/mediatek/Kconfig (revision 8d0d4884)
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_MT8173
68	tristate "ASoC support for Mediatek MT8173 chip"
69	depends on ARCH_MEDIATEK
70	select SND_SOC_MEDIATEK
71	help
72	  This adds ASoC platform driver support for Mediatek MT8173 chip
73	  that can be used with other codecs.
74	  Select Y if you have such device.
75	  Ex: MT8173
76
77config SND_SOC_MT8173_MAX98090
78	tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
79	depends on SND_SOC_MT8173 && I2C
80	select SND_SOC_MAX98090
81	help
82	  This adds ASoC driver for Mediatek MT8173 boards
83	  with the MAX98090 audio codec.
84	  Select Y if you have such device.
85	  If unsure select "N".
86
87config SND_SOC_MT8173_RT5650
88	tristate "ASoC Audio driver for MT8173 with RT5650 codec"
89	depends on SND_SOC_MT8173 && I2C
90	select SND_SOC_RT5645
91	select SND_SOC_HDMI_CODEC
92	help
93	  This adds ASoC driver for Mediatek MT8173 boards
94	  with the RT5650 audio codec.
95	  Select Y if you have such device.
96	  If unsure select "N".
97
98config SND_SOC_MT8173_RT5650_RT5514
99	tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
100	depends on SND_SOC_MT8173 && I2C
101	select SND_SOC_RT5645
102	select SND_SOC_RT5514
103	help
104	  This adds ASoC driver for Mediatek MT8173 boards
105	  with the RT5650 and RT5514 codecs.
106	  Select Y if you have such device.
107	  If unsure select "N".
108
109config SND_SOC_MT8173_RT5650_RT5676
110	tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
111	depends on SND_SOC_MT8173 && I2C
112	select SND_SOC_RT5645
113	select SND_SOC_RT5677
114	select SND_SOC_HDMI_CODEC
115	help
116	  This adds ASoC driver for Mediatek MT8173 boards
117	  with the RT5650 and RT5676 codecs.
118	  Select Y if you have such device.
119	  If unsure select "N".
120
121config SND_SOC_MT8183
122	tristate "ASoC support for Mediatek MT8183 chip"
123	depends on ARCH_MEDIATEK
124	select SND_SOC_MEDIATEK
125	help
126	  This adds ASoC platform driver support for Mediatek MT8183 chip
127	  that can be used with other codecs.
128	  Select Y if you have such device.
129	  If unsure select "N".
130
131config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
132	tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A RT1015 codec"
133	depends on I2C && GPIOLIB
134	depends on SND_SOC_MT8183
135	select SND_SOC_MT6358
136	select SND_SOC_MAX98357A
137	select SND_SOC_RT1015
138	select SND_SOC_RT1015P
139	select SND_SOC_BT_SCO
140	select SND_SOC_TS3A227E
141	select SND_SOC_CROS_EC_CODEC if CROS_EC
142	select SND_SOC_HDMI_CODEC
143	help
144	  This adds ASoC driver for Mediatek MT8183 boards
145	  with the MT6358 TS3A227E MAX98357A RT1015 audio codec.
146	  Select Y if you have such device.
147	  If unsure select "N".
148
149config SND_SOC_MT8183_DA7219_MAX98357A
150	tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A RT1015 codec"
151	depends on SND_SOC_MT8183 && I2C && GPIOLIB
152	select SND_SOC_MT6358
153	select SND_SOC_MAX98357A
154	select SND_SOC_RT1015
155	select SND_SOC_RT1015P
156	select SND_SOC_DA7219
157	select SND_SOC_BT_SCO
158	select SND_SOC_HDMI_CODEC
159	help
160	  This adds ASoC driver for Mediatek MT8183 boards
161	  with the DA7219 MAX98357A RT1015 audio codec.
162	  Select Y if you have such device.
163	  If unsure select "N".
164
165config SND_SOC_MT8186
166	tristate "ASoC support for Mediatek MT8186 chip"
167	depends on ARCH_MEDIATEK || COMPILE_TEST
168	depends on COMMON_CLK
169	select SND_SOC_MEDIATEK
170	select SND_SOC_MT6358
171	select MFD_SYSCON if SND_SOC_MT6358
172	help
173	  This adds ASoC driver for Mediatek MT8186 boards
174	  that can be used with other codecs.
175	  Select Y if you have such device.
176	  If unsure select "N".
177
178config SND_SOC_MT8186_MT6366_DA7219_MAX98357
179	tristate "ASoC Audio driver for MT8186 with DA7219 MAX98357A codec"
180	depends on I2C && GPIOLIB
181	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
182	select SND_SOC_MT6358
183	select SND_SOC_MAX98357A
184	select SND_SOC_DA7219
185	select SND_SOC_BT_SCO
186	select SND_SOC_DMIC
187	select SND_SOC_HDMI_CODEC
188	help
189	  This adds ASoC driver for Mediatek MT8186 boards
190	  with the MT6366(MT6358) DA7219 MAX98357A codecs.
191	  Select Y if you have such device.
192	  If unsure select "N".
193
194config SND_SOC_MT8186_MT6366_RT1019_RT5682S
195	tristate "ASoC Audio driver for MT8186 with RT1019 RT5682S MAX98357A/MAX98360 codec"
196	depends on I2C && GPIOLIB
197	depends on SND_SOC_MT8186 && MTK_PMIC_WRAP
198	select SND_SOC_MAX98357A
199	select SND_SOC_MT6358
200	select SND_SOC_MAX98357A
201	select SND_SOC_RT1015P
202	select SND_SOC_RT5682S
203	select SND_SOC_BT_SCO
204	select SND_SOC_DMIC
205	select SND_SOC_HDMI_CODEC
206	help
207	  This adds ASoC driver for Mediatek MT8186 boards
208	  with the MT6366(MT6358) RT1019 RT5682S codecs.
209	  Select Y if you have such device.
210	  If unsure select "N".
211
212config SND_SOC_MTK_BTCVSD
213	tristate "ALSA BT SCO CVSD/MSBC Driver"
214	help
215	  This is for software BTCVSD. This enable
216	  the function for transferring/receiving
217	  BT encoded data to/from BT firmware.
218	  Select Y if you have such device.
219	  If unsure select "N".
220
221config SND_SOC_MT8188
222	tristate "ASoC support for MediaTek MT8188 chip"
223	depends on ARCH_MEDIATEK || COMPILE_TEST
224	depends on COMMON_CLK
225	select SND_SOC_MEDIATEK
226	select MFD_SYSCON if SND_SOC_MT6359
227	help
228	  This adds ASoC platform driver support for MediaTek MT8188 chip
229	  that can be used with other codecs.
230	  Select Y if you have such device.
231	  If unsure select "N".
232
233config SND_SOC_MT8188_MT6359
234	tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
235	depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
236	depends on I2C
237	select SND_SOC_MT6359
238	select SND_SOC_HDMI_CODEC
239	select SND_SOC_DMIC
240	select SND_SOC_MAX98390
241	select SND_SOC_NAU8315
242	select SND_SOC_NAU8825
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