Commit | Line | Data |
---|---|---|
227b4dc6 MB |
1 | # Helper to resolve issues with configs that have SPI enabled but I2C |
2 | # modular, meaning we can't build the codec driver in with I2C support. | |
3 | # We use an ordered list of conditional defaults to pick the appropriate | |
4 | # setting - SPI can't be modular so that case doesn't need to be covered. | |
5 | config SND_SOC_I2C_AND_SPI | |
6 | tristate | |
7 | default m if I2C=m | |
8 | default y if I2C=y | |
9 | default y if SPI_MASTER=y | |
10 | ||
0c941615 MB |
11 | config SND_SOC_ALL_CODECS |
12 | tristate "Build all ASoC CODEC drivers" | |
f213f4b5 | 13 | select SND_SOC_88PM860X if MFD_88PM860X |
070504ad | 14 | select SND_SOC_L3 |
0763722d | 15 | select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS |
e9ade7f9 | 16 | select SND_SOC_AD1836 if SPI_MASTER |
a1533d94 | 17 | select SND_SOC_AD193X if SND_SOC_I2C_AND_SPI |
ca53fb24 | 18 | select SND_SOC_AD1980 if SND_SOC_AC97_BUS |
5683dc7a | 19 | select SND_SOC_AD73311 |
cc52688a | 20 | select SND_SOC_ADAV80X |
754dec6b | 21 | select SND_SOC_ADS117X |
a381934e | 22 | select SND_SOC_AK4104 if SPI_MASTER |
ca53fb24 | 23 | select SND_SOC_AK4535 if I2C |
00d27010 | 24 | select SND_SOC_AK4641 if I2C |
a3a83d9a | 25 | select SND_SOC_AK4642 if I2C |
2312fd8f | 26 | select SND_SOC_AK4671 if I2C |
473f89ff | 27 | select SND_SOC_ALC5623 if I2C |
b56e972b | 28 | select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC |
72ed5a8c | 29 | select SND_SOC_CS42L51 if I2C |
ca53fb24 | 30 | select SND_SOC_CS4270 if I2C |
67b22517 | 31 | select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI |
76a6106f | 32 | select SND_SOC_CX20442 |
98615454 | 33 | select SND_SOC_DA7210 if I2C |
a077ff90 | 34 | select SND_SOC_DFBMCS320 |
703dde62 | 35 | select SND_SOC_JZ4740_CODEC if SOC_JZ4740 |
9b74c7d6 | 36 | select SND_SOC_LM4857 if I2C |
e86e1244 | 37 | select SND_SOC_MAX98088 if I2C |
82a5a936 | 38 | select SND_SOC_MAX98095 if I2C |
0e45cab6 | 39 | select SND_SOC_MAX9850 if I2C |
b4541665 | 40 | select SND_SOC_MAX9877 if I2C |
1c0090c2 | 41 | select SND_SOC_PCM3008 |
9b34e6cc | 42 | select SND_SOC_SGTL5000 if I2C |
4dc69be2 | 43 | select SND_SOC_SN95031 if INTEL_SCU_IPC |
be461ba8 | 44 | select SND_SOC_SPDIF |
b39e2855 | 45 | select SND_SOC_SSM2602 if SND_SOC_I2C_AND_SPI |
c034abf6 | 46 | select SND_SOC_STA32X if I2C |
3c166c7f | 47 | select SND_SOC_STAC9766 if SND_SOC_AC97_BUS |
ca53fb24 MB |
48 | select SND_SOC_TLV320AIC23 if I2C |
49 | select SND_SOC_TLV320AIC26 if SPI_MASTER | |
1d471cd1 | 50 | select SND_SOC_TVL320AIC32X4 if I2C |
ca53fb24 | 51 | select SND_SOC_TLV320AIC3X if I2C |
493b67ef | 52 | select SND_SOC_TPA6130A2 if I2C |
c8bf93f0 | 53 | select SND_SOC_TLV320DAC33 if I2C |
cc17557e | 54 | select SND_SOC_TWL4030 if TWL4030_CORE |
8ecbabd9 | 55 | select SND_SOC_TWL6040 if TWL4030_CORE |
1cad1de1 | 56 | select SND_SOC_UDA134X |
ca53fb24 | 57 | select SND_SOC_UDA1380 if I2C |
40285f83 | 58 | select SND_SOC_WL1273 if MFD_WL1273_CORE |
4bb3f43c | 59 | select SND_SOC_WM1250_EV1 if I2C |
3a66d387 | 60 | select SND_SOC_WM2000 if I2C |
40aa4a30 | 61 | select SND_SOC_WM8350 if MFD_WM8350 |
aaf1e176 | 62 | select SND_SOC_WM8400 if MFD_WM8400 |
227b4dc6 | 63 | select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI |
1dcf98ff | 64 | select SND_SOC_WM8523 if I2C |
ca53fb24 | 65 | select SND_SOC_WM8580 if I2C |
08aff8cd | 66 | select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI |
89933dee | 67 | select SND_SOC_WM8727 |
227b4dc6 MB |
68 | select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI |
69 | select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI | |
2a9ae13a | 70 | select SND_SOC_WM8737 if SND_SOC_I2C_AND_SPI |
992bee40 | 71 | select SND_SOC_WM8741 if SND_SOC_I2C_AND_SPI |
227b4dc6 MB |
72 | select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI |
73 | select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI | |
c046fd4d | 74 | select SND_SOC_WM8770 if SPI_MASTER |
924914ee | 75 | select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI |
ec3ea54c | 76 | select SND_SOC_WM8782 |
33cf45c8 | 77 | select SND_SOC_WM8804 if SND_SOC_I2C_AND_SPI |
ca53fb24 MB |
78 | select SND_SOC_WM8900 if I2C |
79 | select SND_SOC_WM8903 if I2C | |
a91eb199 | 80 | select SND_SOC_WM8904 if I2C |
c93993ac | 81 | select SND_SOC_WM8915 if I2C |
0b5e92c5 | 82 | select SND_SOC_WM8940 if I2C |
b35a28af | 83 | select SND_SOC_WM8955 if I2C |
f2644a2c | 84 | select SND_SOC_WM8960 if I2C |
74dc55ed | 85 | select SND_SOC_WM8961 if I2C |
9a76f1ff | 86 | select SND_SOC_WM8962 if I2C |
ca53fb24 | 87 | select SND_SOC_WM8971 if I2C |
0a1bf553 | 88 | select SND_SOC_WM8974 if I2C |
0d34e915 | 89 | select SND_SOC_WM8978 if I2C |
6d6f8b83 | 90 | select SND_SOC_WM8985 if SND_SOC_I2C_AND_SPI |
5409fb4e | 91 | select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI |
ca53fb24 | 92 | select SND_SOC_WM8990 if I2C |
203db220 | 93 | select SND_SOC_WM8991 if I2C |
942c435b | 94 | select SND_SOC_WM8993 if I2C |
fead215d | 95 | select SND_SOC_WM8994 if MFD_WM8994 |
6a504a75 | 96 | select SND_SOC_WM8995 if SND_SOC_I2C_AND_SPI |
86ed3669 | 97 | select SND_SOC_WM9081 if I2C |
39b8eab7 | 98 | select SND_SOC_WM9090 if I2C |
2aceefef | 99 | select SND_SOC_WM9705 if SND_SOC_AC97_BUS |
ca53fb24 MB |
100 | select SND_SOC_WM9712 if SND_SOC_AC97_BUS |
101 | select SND_SOC_WM9713 if SND_SOC_AC97_BUS | |
0c941615 MB |
102 | help |
103 | Normally ASoC codec drivers are only built if a machine driver which | |
104 | uses them is also built since they are only usable with a machine | |
105 | driver. Selecting this option will allow these drivers to be built | |
106 | without an explicit machine driver for test and development purposes. | |
107 | ||
ca53fb24 MB |
108 | Support for the bus types used to access the codecs to be built must |
109 | be selected separately. | |
110 | ||
0c941615 MB |
111 | If unsure select "N". |
112 | ||
f213f4b5 HZ |
113 | config SND_SOC_88PM860X |
114 | tristate | |
115 | ||
a2342ae3 MB |
116 | config SND_SOC_WM_HUBS |
117 | tristate | |
41f9a314 CC |
118 | default y if SND_SOC_WM8993=y || SND_SOC_WM8994=y |
119 | default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m | |
0c941615 | 120 | |
7f137ab6 RP |
121 | config SND_SOC_AC97_CODEC |
122 | tristate | |
89fe5117 | 123 | select SND_AC97_CODEC |
7f137ab6 | 124 | |
7eaae41e BS |
125 | config SND_SOC_AD1836 |
126 | tristate | |
127 | ||
a1533d94 | 128 | config SND_SOC_AD193X |
1274738d BS |
129 | tristate |
130 | ||
5f57dc8b CC |
131 | config SND_SOC_AD1980 |
132 | tristate | |
133 | ||
0e77e784 CC |
134 | config SND_SOC_AD73311 |
135 | tristate | |
631ed8a2 LPC |
136 | |
137 | config SND_SOC_ADAU1701 | |
138 | select SIGMA | |
139 | tristate | |
140 | ||
cc52688a LPC |
141 | config SND_SOC_ADAV80X |
142 | tristate | |
143 | ||
2dcf9fb9 GG |
144 | config SND_SOC_ADS117X |
145 | tristate | |
0e77e784 | 146 | |
a381934e DM |
147 | config SND_SOC_AK4104 |
148 | tristate | |
149 | ||
796d2ca8 RP |
150 | config SND_SOC_AK4535 |
151 | tristate | |
152 | ||
00d27010 DA |
153 | config SND_SOC_AK4641 |
154 | tristate | |
155 | ||
a3a83d9a KM |
156 | config SND_SOC_AK4642 |
157 | tristate | |
158 | ||
2312fd8f JS |
159 | config SND_SOC_AK4671 |
160 | tristate | |
161 | ||
6f4bc952 APR |
162 | config SND_SOC_ALC5623 |
163 | tristate | |
164 | ||
b56e972b MA |
165 | config SND_SOC_CQ0093VC |
166 | tristate | |
167 | ||
72ed5a8c | 168 | config SND_SOC_CS42L51 |
169 | tristate | |
170 | ||
3e860846 MB |
171 | # Cirrus Logic CS4270 Codec |
172 | config SND_SOC_CS4270 | |
173 | tristate | |
174 | ||
3e860846 MB |
175 | # Cirrus Logic CS4270 Codec VD = 3.3V Errata |
176 | # Select if you are affected by the errata where the part will not function | |
177 | # if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will | |
178 | # not select any sample rates that require MCLK to be divided by 1.5. | |
179 | config SND_SOC_CS4270_VD33_ERRATA | |
180 | bool | |
181 | depends on SND_SOC_CS4270 | |
182 | ||
67b22517 AS |
183 | config SND_SOC_CS4271 |
184 | tristate | |
185 | ||
459dc352 JK |
186 | config SND_SOC_CX20442 |
187 | tristate | |
188 | ||
3b097d64 LPC |
189 | config SND_SOC_JZ4740_CODEC |
190 | tristate | |
191 | ||
1cad1de1 CP |
192 | config SND_SOC_L3 |
193 | tristate | |
194 | ||
b4541665 MB |
195 | config SND_SOC_DA7210 |
196 | tristate | |
197 | ||
a077ff90 LPC |
198 | config SND_SOC_DFBMCS320 |
199 | tristate | |
200 | ||
a710770e DL |
201 | config SND_SOC_DMIC |
202 | tristate | |
203 | ||
e86e1244 MB |
204 | config SND_SOC_MAX98088 |
205 | tristate | |
206 | ||
82a5a936 PH |
207 | config SND_SOC_MAX98095 |
208 | tristate | |
209 | ||
0e45cab6 CG |
210 | config SND_SOC_MAX9850 |
211 | tristate | |
212 | ||
1c0090c2 HV |
213 | config SND_SOC_PCM3008 |
214 | tristate | |
215 | ||
9b34e6cc ZZ |
216 | #Freescale sgtl5000 codec |
217 | config SND_SOC_SGTL5000 | |
218 | tristate | |
219 | ||
4dc69be2 VK |
220 | config SND_SOC_SN95031 |
221 | tristate | |
222 | ||
be461ba8 C |
223 | config SND_SOC_SPDIF |
224 | tristate | |
225 | ||
3e860846 MB |
226 | config SND_SOC_SSM2602 |
227 | tristate | |
228 | ||
c034abf6 JS |
229 | config SND_SOC_STA32X |
230 | tristate | |
231 | ||
3c166c7f JS |
232 | config SND_SOC_STAC9766 |
233 | tristate | |
234 | ||
c1f27190 AK |
235 | config SND_SOC_TLV320AIC23 |
236 | tristate | |
c1f27190 | 237 | |
3e860846 | 238 | config SND_SOC_TLV320AIC26 |
d5d8d837 | 239 | tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE |
446e0f69 | 240 | depends on SPI |
3e860846 | 241 | |
1d471cd1 JM |
242 | config SND_SOC_TVL320AIC32X4 |
243 | tristate | |
244 | ||
3e860846 MB |
245 | config SND_SOC_TLV320AIC3X |
246 | tristate | |
c8bf93f0 PU |
247 | |
248 | config SND_SOC_TLV320DAC33 | |
249 | tristate | |
3e860846 | 250 | |
cc17557e | 251 | config SND_SOC_TWL4030 |
7a1fecf5 | 252 | select TWL4030_CODEC |
cc17557e | 253 | tristate |
cc17557e | 254 | |
8ecbabd9 MLC |
255 | config SND_SOC_TWL6040 |
256 | tristate | |
257 | ||
1cad1de1 CP |
258 | config SND_SOC_UDA134X |
259 | tristate | |
1cad1de1 | 260 | |
b7482f52 PZ |
261 | config SND_SOC_UDA1380 |
262 | tristate | |
263 | ||
49d7ad9d MB |
264 | config SND_SOC_WL1273 |
265 | tristate | |
266 | ||
4bb3f43c MB |
267 | config SND_SOC_WM1250_EV1 |
268 | tristate | |
269 | ||
40aa4a30 MB |
270 | config SND_SOC_WM8350 |
271 | tristate | |
272 | ||
aaf1e176 MB |
273 | config SND_SOC_WM8400 |
274 | tristate | |
275 | ||
5d421516 MB |
276 | config SND_SOC_WM8510 |
277 | tristate | |
278 | ||
1dcf98ff MB |
279 | config SND_SOC_WM8523 |
280 | tristate | |
281 | ||
e88ba015 MB |
282 | config SND_SOC_WM8580 |
283 | tristate | |
284 | ||
bd6d4177 MA |
285 | config SND_SOC_WM8711 |
286 | tristate | |
287 | ||
89933dee NJ |
288 | config SND_SOC_WM8727 |
289 | tristate | |
290 | ||
71cfc902 MB |
291 | config SND_SOC_WM8728 |
292 | tristate | |
293 | ||
7f137ab6 RP |
294 | config SND_SOC_WM8731 |
295 | tristate | |
7f137ab6 | 296 | |
2a9ae13a MB |
297 | config SND_SOC_WM8737 |
298 | tristate | |
299 | ||
992bee40 IL |
300 | config SND_SOC_WM8741 |
301 | tristate | |
302 | ||
7f137ab6 RP |
303 | config SND_SOC_WM8750 |
304 | tristate | |
7f137ab6 | 305 | |
33703b73 LG |
306 | config SND_SOC_WM8753 |
307 | tristate | |
33703b73 | 308 | |
c046fd4d DP |
309 | config SND_SOC_WM8770 |
310 | tristate | |
311 | ||
924914ee MB |
312 | config SND_SOC_WM8776 |
313 | tristate | |
314 | ||
ec3ea54c JS |
315 | config SND_SOC_WM8782 |
316 | tristate | |
317 | ||
33cf45c8 DP |
318 | config SND_SOC_WM8804 |
319 | tristate | |
320 | ||
0e0e16a8 MB |
321 | config SND_SOC_WM8900 |
322 | tristate | |
323 | ||
f1c0a02f MB |
324 | config SND_SOC_WM8903 |
325 | tristate | |
326 | ||
a91eb199 MB |
327 | config SND_SOC_WM8904 |
328 | tristate | |
329 | ||
c93993ac MB |
330 | config SND_SOC_WM8915 |
331 | tristate | |
332 | ||
0b5e92c5 JC |
333 | config SND_SOC_WM8940 |
334 | tristate | |
335 | ||
b35a28af MB |
336 | config SND_SOC_WM8955 |
337 | tristate | |
338 | ||
f2644a2c MB |
339 | config SND_SOC_WM8960 |
340 | tristate | |
341 | ||
74dc55ed MB |
342 | config SND_SOC_WM8961 |
343 | tristate | |
344 | ||
9a76f1ff MB |
345 | config SND_SOC_WM8962 |
346 | tristate | |
347 | ||
8bae3e23 KK |
348 | config SND_SOC_WM8971 |
349 | tristate | |
350 | ||
0a1bf553 MB |
351 | config SND_SOC_WM8974 |
352 | tristate | |
353 | ||
0d34e915 GL |
354 | config SND_SOC_WM8978 |
355 | tristate | |
356 | ||
6d6f8b83 DP |
357 | config SND_SOC_WM8985 |
358 | tristate | |
359 | ||
5409fb4e MB |
360 | config SND_SOC_WM8988 |
361 | tristate | |
362 | ||
f10485e7 MB |
363 | config SND_SOC_WM8990 |
364 | tristate | |
365 | ||
203db220 DP |
366 | config SND_SOC_WM8991 |
367 | tristate | |
368 | ||
942c435b MB |
369 | config SND_SOC_WM8993 |
370 | tristate | |
371 | ||
9e6e96a1 MB |
372 | config SND_SOC_WM8994 |
373 | tristate | |
374 | ||
6a504a75 DP |
375 | config SND_SOC_WM8995 |
376 | tristate | |
377 | ||
86ed3669 MB |
378 | config SND_SOC_WM9081 |
379 | tristate | |
380 | ||
2aceefef IM |
381 | config SND_SOC_WM9705 |
382 | tristate | |
383 | ||
7f137ab6 RP |
384 | config SND_SOC_WM9712 |
385 | tristate | |
b0c813ce | 386 | |
83ac08c0 LG |
387 | config SND_SOC_WM9713 |
388 | tristate | |
9db9ed97 JS |
389 | |
390 | # Amp | |
9b0a25f0 LPC |
391 | config SND_SOC_LM4857 |
392 | tristate | |
393 | ||
9db9ed97 JS |
394 | config SND_SOC_MAX9877 |
395 | tristate | |
493b67ef PU |
396 | |
397 | config SND_SOC_TPA6130A2 | |
398 | tristate | |
3a66d387 MB |
399 | |
400 | config SND_SOC_WM2000 | |
401 | tristate | |
39b8eab7 MB |
402 | |
403 | config SND_SOC_WM9090 | |
404 | tristate |