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