arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / sound / soc / mediatek / Kconfig
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_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
204 config 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_RT5645
214         select SND_SOC_BT_SCO
215         select SND_SOC_DMIC
216         select SND_SOC_HDMI_CODEC
217         help
218           This adds ASoC driver for Mediatek MT8186 boards
219           with the MT6366(MT6358) RT1019 RT5682S codecs.
220           Select Y if you have such device.
221           If unsure select "N".
222
223 config SND_SOC_MTK_BTCVSD
224         tristate "ALSA BT SCO CVSD/MSBC Driver"
225         help
226           This is for software BTCVSD. This enable
227           the function for transferring/receiving
228           BT encoded data to/from BT firmware.
229           Select Y if you have such device.
230           If unsure select "N".
231
232 config SND_SOC_MT8188
233         tristate "ASoC support for MediaTek MT8188 chip"
234         depends on ARCH_MEDIATEK || COMPILE_TEST
235         depends on COMMON_CLK
236         select SND_SOC_MEDIATEK
237         select MFD_SYSCON if SND_SOC_MT6359
238         help
239           This adds ASoC platform driver support for MediaTek MT8188 chip
240           that can be used with other codecs.
241           Select Y if you have such device.
242           If unsure select "N".
243
244 config SND_SOC_MT8188_MT6359
245         tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
246         depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
247         depends on I2C
248         select SND_SOC_MT6359
249         select SND_SOC_HDMI_CODEC
250         select SND_SOC_DMIC
251         select SND_SOC_MAX98390
252         select SND_SOC_NAU8315
253         select SND_SOC_NAU8825
254         select SND_SOC_RT5682S
255         help
256           This adds support for ASoC machine driver for MediaTek MT8188
257           boards with the MT6359 and other I2S audio codecs.
258           Select Y if you have such device.
259           If unsure select "N".
260
261 config SND_SOC_MT8192
262         tristate "ASoC support for Mediatek MT8192 chip"
263         depends on ARCH_MEDIATEK
264         select SND_SOC_MEDIATEK
265         help
266           This adds ASoC platform driver support for Mediatek MT8192 chip
267           that can be used with other codecs.
268           Select Y if you have such device.
269           If unsure select "N".
270
271 config SND_SOC_MT8192_MT6359_RT1015_RT5682
272         tristate "ASoC Audio driver for MT8192 with MT6359 RT1015 RT5682 codec"
273         depends on I2C && GPIOLIB
274         depends on SND_SOC_MT8192 && MTK_PMIC_WRAP
275         select SND_SOC_MT6359
276         select SND_SOC_RT1015
277         select SND_SOC_RT1015P
278         select SND_SOC_RT5682_I2C
279         select SND_SOC_RT5682S
280         select SND_SOC_DMIC
281         help
282           This adds ASoC driver for Mediatek MT8192 boards
283           with the MT6359 RT1015 RT5682 audio codec.
284           Select Y if you have such device.
285           If unsure select "N".
286
287 config SND_SOC_MT8195
288         tristate "ASoC support for Mediatek MT8195 chip"
289         depends on ARCH_MEDIATEK || COMPILE_TEST
290         depends on COMMON_CLK
291         select SND_SOC_MEDIATEK
292         select MFD_SYSCON if SND_SOC_MT6359
293         help
294           This adds ASoC platform driver support for Mediatek MT8195 chip
295           that can be used with other codecs.
296           Select Y if you have such device.
297           If unsure select "N".
298
299 config SND_SOC_MT8195_MT6359
300         tristate "ASoC Audio driver for MT8195 with MT6359 and I2S codecs"
301         depends on I2C && GPIOLIB
302         depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
303         select SND_SOC_MT6359
304         select SND_SOC_RT1011
305         select SND_SOC_RT1015P
306         select SND_SOC_RT5682_I2C
307         select SND_SOC_RT5682S
308         select SND_SOC_MAX98390
309         select SND_SOC_DMIC
310         select SND_SOC_HDMI_CODEC
311         help
312           This adds support for ASoC machine driver for Mediatek MT8195
313           boards with the MT6359 and other I2S audio codecs.
314           Select Y if you have such device.
315           If unsure select "N".