blob: d29071ca3cb6daca38bb3ed4430bd6954f6c86dd [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# 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.
5config 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
11menu "CODEC drivers"
12
13config SND_SOC_ALL_CODECS
14 tristate "Build all ASoC CODEC drivers"
15 depends on COMPILE_TEST
16 select SND_SOC_88PM860X if MFD_88PM860X
17 select SND_SOC_L3
18 select SND_SOC_AB8500_CODEC if ABX500_CORE
19 select SND_SOC_AC97_CODEC
20 select SND_SOC_AD1836 if SPI_MASTER
21 select SND_SOC_AD193X_SPI if SPI_MASTER
22 select SND_SOC_AD193X_I2C if I2C
23 select SND_SOC_AD1980 if SND_SOC_AC97_BUS
24 select SND_SOC_AD73311
25 select SND_SOC_ADAU1373 if I2C
26 select SND_SOC_ADAU1761_I2C if I2C
27 select SND_SOC_ADAU1761_SPI if SPI
28 select SND_SOC_ADAU1781_I2C if I2C
29 select SND_SOC_ADAU1781_SPI if SPI
30 select SND_SOC_ADAV801 if SPI_MASTER
31 select SND_SOC_ADAV803 if I2C
32 select SND_SOC_ADAU1977_SPI if SPI_MASTER
33 select SND_SOC_ADAU1977_I2C if I2C
34 select SND_SOC_ADAU1701 if I2C
35 select SND_SOC_ADAU7002
36 select SND_SOC_ADS117X
37 select SND_SOC_AK4104 if SPI_MASTER
38 select SND_SOC_AK4535 if I2C
39 select SND_SOC_AK4554
40 select SND_SOC_AK4613 if I2C
41 select SND_SOC_AK4641 if I2C
42 select SND_SOC_AK4642 if I2C
43 select SND_SOC_AK4671 if I2C
44 select SND_SOC_AK5386
45 select SND_SOC_ALC5623 if I2C
46 select SND_SOC_ALC5632 if I2C
47 select SND_SOC_BT_SCO
48 select SND_SOC_CQ0093VC
49 select SND_SOC_CS35L32 if I2C
50 select SND_SOC_CS35L33 if I2C
51 select SND_SOC_CS35L34 if I2C
52 select SND_SOC_CS35L35 if I2C
53 select SND_SOC_CS42L42 if I2C
54 select SND_SOC_CS42L51_I2C if I2C
55 select SND_SOC_CS42L52 if I2C && INPUT
56 select SND_SOC_CS42L56 if I2C && INPUT
57 select SND_SOC_CS42L73 if I2C
58 select SND_SOC_CS4265 if I2C
59 select SND_SOC_CS4270 if I2C
60 select SND_SOC_CS4271_I2C if I2C
61 select SND_SOC_CS4271_SPI if SPI_MASTER
62 select SND_SOC_CS42XX8_I2C if I2C
63 select SND_SOC_CS43130 if I2C
64 select SND_SOC_CS4349 if I2C
65 select SND_SOC_CS47L24 if MFD_CS47L24
66 select SND_SOC_CS53L30 if I2C
67 select SND_SOC_CX20442 if TTY
68 select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
69 select SND_SOC_DA7213 if I2C
70 select SND_SOC_DA7218 if I2C
71 select SND_SOC_DA7219 if I2C
72 select SND_SOC_DA732X if I2C
73 select SND_SOC_DA9055 if I2C
74 select SND_SOC_DIO2125
75 select SND_SOC_DMIC if GPIOLIB
76 select SND_SOC_ES8316 if I2C
77 select SND_SOC_ES8328_SPI if SPI_MASTER
78 select SND_SOC_ES8328_I2C if I2C
79 select SND_SOC_ES7134
80 select SND_SOC_GTM601
81 select SND_SOC_HDAC_HDMI
82 select SND_SOC_ICS43432
83 select SND_SOC_INNO_RK3036
84 select SND_SOC_ISABELLE if I2C
85 select SND_SOC_JZ4740_CODEC
86 select SND_SOC_LM4857 if I2C
87 select SND_SOC_LM49453 if I2C
88 select SND_SOC_MAX98088 if I2C
89 select SND_SOC_MAX98090 if I2C
90 select SND_SOC_MAX98095 if I2C
91 select SND_SOC_MAX98357A if GPIOLIB
92 select SND_SOC_MAX98371 if I2C
93 select SND_SOC_MAX98504 if I2C
94 select SND_SOC_MAX9867 if I2C
95 select SND_SOC_MAX98925 if I2C
96 select SND_SOC_MAX98926 if I2C
97 select SND_SOC_MAX98927 if I2C
98 select SND_SOC_MAX9850 if I2C
99 select SND_SOC_MAX9860 if I2C
100 select SND_SOC_MAX9768 if I2C
101 select SND_SOC_MAX9877 if I2C
102 select SND_SOC_MC13783 if MFD_MC13XXX
103 select SND_SOC_ML26124 if I2C
104 select SND_SOC_MT6358 if MTK_PMIC_WRAP
105 select SND_SOC_MT6389
106 select SND_SOC_NAU8540 if I2C
107 select SND_SOC_NAU8810 if I2C
108 select SND_SOC_NAU8824 if I2C
109 select SND_SOC_NAU8825 if I2C
110 select SND_SOC_HDMI_CODEC
111 select SND_SOC_PCM1681 if I2C
112 select SND_SOC_PCM179X_I2C if I2C
113 select SND_SOC_PCM179X_SPI if SPI_MASTER
114 select SND_SOC_PCM3008
115 select SND_SOC_PCM3168A_I2C if I2C
116 select SND_SOC_PCM3168A_SPI if SPI_MASTER
117 select SND_SOC_PCM5102A
118 select SND_SOC_PCM512x_I2C if I2C
119 select SND_SOC_PCM512x_SPI if SPI_MASTER
120 select SND_SOC_RT274 if I2C
121 select SND_SOC_RT286 if I2C
122 select SND_SOC_RT298 if I2C
123 select SND_SOC_RT5514 if I2C
124 select SND_SOC_RT5616 if I2C
125 select SND_SOC_RT5631 if I2C
126 select SND_SOC_RT5640 if I2C
127 select SND_SOC_RT5645 if I2C
128 select SND_SOC_RT5651 if I2C
129 select SND_SOC_RT5659 if I2C
130 select SND_SOC_RT5660 if I2C
131 select SND_SOC_RT5663 if I2C
132 select SND_SOC_RT5665 if I2C
133 select SND_SOC_RT5670 if I2C
134 select SND_SOC_RT5677 if I2C && SPI_MASTER
135 select SND_SOC_SGTL5000 if I2C
136 select SND_SOC_SI476X if MFD_SI476X_CORE
137 select SND_SOC_SIRF_AUDIO_CODEC
138 select SND_SOC_SN95031 if INTEL_SCU_IPC
139 select SND_SOC_SPDIF
140 select SND_SOC_SSM2518 if I2C
141 select SND_SOC_SSM2602_SPI if SPI_MASTER
142 select SND_SOC_SSM2602_I2C if I2C
143 select SND_SOC_SSM4567 if I2C
144 select SND_SOC_STA32X if I2C
145 select SND_SOC_STA350 if I2C
146 select SND_SOC_STA529 if I2C
147 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
148 select SND_SOC_STI_SAS
149 select SND_SOC_TAS2552 if I2C
150 select SND_SOC_TAS5086 if I2C
151 select SND_SOC_TAS571X if I2C
152 select SND_SOC_TAS5720 if I2C
153 select SND_SOC_TFA9879 if I2C
154 select SND_SOC_TLV320AIC23_I2C if I2C
155 select SND_SOC_TLV320AIC23_SPI if SPI_MASTER
156 select SND_SOC_TLV320AIC26 if SPI_MASTER
157 select SND_SOC_TLV320AIC31XX if I2C
158 select SND_SOC_TLV320AIC32X4_I2C if I2C
159 select SND_SOC_TLV320AIC32X4_SPI if SPI_MASTER
160 select SND_SOC_TLV320AIC3X if I2C
161 select SND_SOC_TPA6130A2 if I2C
162 select SND_SOC_TLV320DAC33 if I2C
163 select SND_SOC_TS3A227E if I2C
164 select SND_SOC_TWL4030 if TWL4030_CORE
165 select SND_SOC_TWL6040 if TWL6040_CORE
166 select SND_SOC_UDA134X
167 select SND_SOC_UDA1380 if I2C
168 select SND_SOC_WL1273 if MFD_WL1273_CORE
169 select SND_SOC_WM0010 if SPI_MASTER
170 select SND_SOC_WM1250_EV1 if I2C
171 select SND_SOC_WM2000 if I2C
172 select SND_SOC_WM2200 if I2C
173 select SND_SOC_WM5100 if I2C
174 select SND_SOC_WM5102 if MFD_WM5102
175 select SND_SOC_WM5110 if MFD_WM5110
176 select SND_SOC_WM8350 if MFD_WM8350
177 select SND_SOC_WM8400 if MFD_WM8400
178 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
179 select SND_SOC_WM8523 if I2C
180 select SND_SOC_WM8524 if GPIOLIB
181 select SND_SOC_WM8580 if I2C
182 select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI
183 select SND_SOC_WM8727
184 select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI
185 select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
186 select SND_SOC_WM8737 if SND_SOC_I2C_AND_SPI
187 select SND_SOC_WM8741 if SND_SOC_I2C_AND_SPI
188 select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
189 select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI
190 select SND_SOC_WM8770 if SPI_MASTER
191 select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI
192 select SND_SOC_WM8782
193 select SND_SOC_WM8804_I2C if I2C
194 select SND_SOC_WM8804_SPI if SPI_MASTER
195 select SND_SOC_WM8900 if I2C
196 select SND_SOC_WM8903 if I2C
197 select SND_SOC_WM8904 if I2C
198 select SND_SOC_WM8940 if I2C
199 select SND_SOC_WM8955 if I2C
200 select SND_SOC_WM8960 if I2C
201 select SND_SOC_WM8961 if I2C
202 select SND_SOC_WM8962 if I2C && INPUT
203 select SND_SOC_WM8971 if I2C
204 select SND_SOC_WM8974 if I2C
205 select SND_SOC_WM8978 if I2C
206 select SND_SOC_WM8983 if SND_SOC_I2C_AND_SPI
207 select SND_SOC_WM8985 if SND_SOC_I2C_AND_SPI
208 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI
209 select SND_SOC_WM8990 if I2C
210 select SND_SOC_WM8991 if I2C
211 select SND_SOC_WM8993 if I2C
212 select SND_SOC_WM8994 if MFD_WM8994
213 select SND_SOC_WM8995 if SND_SOC_I2C_AND_SPI
214 select SND_SOC_WM8996 if I2C
215 select SND_SOC_WM8997 if MFD_WM8997
216 select SND_SOC_WM8998 if MFD_WM8998
217 select SND_SOC_WM9081 if I2C
218 select SND_SOC_WM9090 if I2C
219 select SND_SOC_WM9705 if SND_SOC_AC97_BUS
220 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
221 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
222 help
223 Normally ASoC codec drivers are only built if a machine driver which
224 uses them is also built since they are only usable with a machine
225 driver. Selecting this option will allow these drivers to be built
226 without an explicit machine driver for test and development purposes.
227
228 Support for the bus types used to access the codecs to be built must
229 be selected separately.
230
231 If unsure select "N".
232
233config SND_SOC_88PM860X
234 tristate
235
236config SND_SOC_ARIZONA
237 tristate
238 default y if SND_SOC_CS47L24=y
239 default y if SND_SOC_WM5102=y
240 default y if SND_SOC_WM5110=y
241 default y if SND_SOC_WM8997=y
242 default y if SND_SOC_WM8998=y
243 default m if SND_SOC_CS47L24=m
244 default m if SND_SOC_WM5102=m
245 default m if SND_SOC_WM5110=m
246 default m if SND_SOC_WM8997=m
247 default m if SND_SOC_WM8998=m
248
249config SND_SOC_WM_HUBS
250 tristate
251 default y if SND_SOC_WM8993=y || SND_SOC_WM8994=y
252 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
253
254config SND_SOC_WM_ADSP
255 tristate
256 select SND_SOC_COMPRESS
257 default y if SND_SOC_CS47L24=y
258 default y if SND_SOC_WM5102=y
259 default y if SND_SOC_WM5110=y
260 default y if SND_SOC_WM2200=y
261 default m if SND_SOC_CS47L24=m
262 default m if SND_SOC_WM5102=m
263 default m if SND_SOC_WM5110=m
264 default m if SND_SOC_WM2200=m
265
266config SND_SOC_AB8500_CODEC
267 tristate
268
269config SND_SOC_AC97_CODEC
270 tristate "Build generic ASoC AC97 CODEC driver"
271 select SND_AC97_CODEC
272 select SND_SOC_AC97_BUS
273
274config SND_SOC_AD1836
275 tristate
276
277config SND_SOC_AD193X
278 tristate
279
280config SND_SOC_AD193X_SPI
281 tristate
282 select SND_SOC_AD193X
283
284config SND_SOC_AD193X_I2C
285 tristate
286 select SND_SOC_AD193X
287
288config SND_SOC_AD1980
289 select REGMAP_AC97
290 tristate
291
292config SND_SOC_AD73311
293 tristate
294
295config SND_SOC_ADAU_UTILS
296 tristate
297
298config SND_SOC_ADAU1373
299 tristate
300 select SND_SOC_ADAU_UTILS
301
302config SND_SOC_ADAU1701
303 tristate "Analog Devices ADAU1701 CODEC"
304 depends on I2C
305 select SND_SOC_SIGMADSP_I2C
306
307config SND_SOC_ADAU17X1
308 tristate
309 select SND_SOC_SIGMADSP_REGMAP
310 select SND_SOC_ADAU_UTILS
311
312config SND_SOC_ADAU1761
313 tristate
314 select SND_SOC_ADAU17X1
315
316config SND_SOC_ADAU1761_I2C
317 tristate "Analog Devices AU1761 CODEC - I2C"
318 depends on I2C
319 select SND_SOC_ADAU1761
320 select REGMAP_I2C
321
322config SND_SOC_ADAU1761_SPI
323 tristate "Analog Devices AU1761 CODEC - SPI"
324 depends on SPI
325 select SND_SOC_ADAU1761
326 select REGMAP_SPI
327
328config SND_SOC_ADAU1781
329 select SND_SOC_ADAU17X1
330 tristate
331
332config SND_SOC_ADAU1781_I2C
333 tristate
334 select SND_SOC_ADAU1781
335 select REGMAP_I2C
336
337config SND_SOC_ADAU1781_SPI
338 tristate
339 select SND_SOC_ADAU1781
340 select REGMAP_SPI
341
342config SND_SOC_ADAU1977
343 tristate
344
345config SND_SOC_ADAU1977_SPI
346 tristate
347 select SND_SOC_ADAU1977
348 select REGMAP_SPI
349
350config SND_SOC_ADAU1977_I2C
351 tristate
352 select SND_SOC_ADAU1977
353 select REGMAP_I2C
354
355config SND_SOC_ADAU7002
356 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
357
358config SND_SOC_ADAV80X
359 tristate
360
361config SND_SOC_ADAV801
362 tristate
363 select SND_SOC_ADAV80X
364
365config SND_SOC_ADAV803
366 tristate
367 select SND_SOC_ADAV80X
368
369config SND_SOC_ADS117X
370 tristate
371
372config SND_SOC_AK4104
373 tristate "AKM AK4104 CODEC"
374 depends on SPI_MASTER
375
376config SND_SOC_AK4535
377 tristate
378
379config SND_SOC_AK4554
380 tristate "AKM AK4554 CODEC"
381
382config SND_SOC_AK4613
383 tristate "AKM AK4613 CODEC"
384 depends on I2C
385
386config SND_SOC_AK4641
387 tristate
388
389config SND_SOC_AK4642
390 tristate "AKM AK4642 CODEC"
391 depends on I2C
392
393config SND_SOC_AK4671
394 tristate
395
396config SND_SOC_AK5386
397 tristate "AKM AK5638 CODEC"
398
399config SND_SOC_ALC5623
400 tristate "Realtek ALC5623 CODEC"
401 depends on I2C
402
403config SND_SOC_ALC5632
404 tristate
405
406config SND_SOC_BT_SCO
407 tristate "Dummy BT SCO codec driver"
408
409config SND_SOC_CQ0093VC
410 tristate
411
412config SND_SOC_CS35L32
413 tristate "Cirrus Logic CS35L32 CODEC"
414 depends on I2C
415
416config SND_SOC_CS35L33
417 tristate "Cirrus Logic CS35L33 CODEC"
418 depends on I2C
419
420config SND_SOC_CS35L34
421 tristate "Cirrus Logic CS35L34 CODEC"
422 depends on I2C
423
424config SND_SOC_CS35L35
425 tristate "Cirrus Logic CS35L35 CODEC"
426 depends on I2C
427
428config SND_SOC_CS42L42
429 tristate "Cirrus Logic CS42L42 CODEC"
430 depends on I2C
431
432config SND_SOC_CS42L51
433 tristate
434
435config SND_SOC_CS42L51_I2C
436 tristate "Cirrus Logic CS42L51 CODEC (I2C)"
437 depends on I2C
438 select SND_SOC_CS42L51
439
440config SND_SOC_CS42L52
441 tristate "Cirrus Logic CS42L52 CODEC"
442 depends on I2C && INPUT
443
444config SND_SOC_CS42L56
445 tristate "Cirrus Logic CS42L56 CODEC"
446 depends on I2C && INPUT
447
448config SND_SOC_CS42L73
449 tristate "Cirrus Logic CS42L73 CODEC"
450 depends on I2C
451
452config SND_SOC_CS4265
453 tristate "Cirrus Logic CS4265 CODEC"
454 depends on I2C
455 select REGMAP_I2C
456
457# Cirrus Logic CS4270 Codec
458config SND_SOC_CS4270
459 tristate "Cirrus Logic CS4270 CODEC"
460 depends on I2C
461
462# Cirrus Logic CS4270 Codec VD = 3.3V Errata
463# Select if you are affected by the errata where the part will not function
464# if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will
465# not select any sample rates that require MCLK to be divided by 1.5.
466config SND_SOC_CS4270_VD33_ERRATA
467 bool
468 depends on SND_SOC_CS4270
469
470config SND_SOC_CS4271
471 tristate
472
473config SND_SOC_CS4271_I2C
474 tristate "Cirrus Logic CS4271 CODEC (I2C)"
475 depends on I2C
476 select SND_SOC_CS4271
477 select REGMAP_I2C
478
479config SND_SOC_CS4271_SPI
480 tristate "Cirrus Logic CS4271 CODEC (SPI)"
481 depends on SPI_MASTER
482 select SND_SOC_CS4271
483 select REGMAP_SPI
484
485config SND_SOC_CS42XX8
486 tristate
487
488config SND_SOC_CS42XX8_I2C
489 tristate "Cirrus Logic CS42448/CS42888 CODEC (I2C)"
490 depends on I2C
491 select SND_SOC_CS42XX8
492 select REGMAP_I2C
493
494# Cirrus Logic CS43130 HiFi DAC
495config SND_SOC_CS43130
496 tristate "Cirrus Logic CS43130 CODEC"
497 depends on I2C
498
499# Cirrus Logic CS4349 HiFi DAC
500config SND_SOC_CS4349
501 tristate "Cirrus Logic CS4349 CODEC"
502 depends on I2C
503
504config SND_SOC_CS47L24
505 tristate
506
507# Cirrus Logic Quad-Channel ADC
508config SND_SOC_CS53L30
509 tristate "Cirrus Logic CS53L30 CODEC"
510 depends on I2C
511
512config SND_SOC_CX20442
513 tristate
514 depends on TTY
515
516config SND_SOC_JZ4740_CODEC
517 select REGMAP_MMIO
518 tristate
519
520config SND_SOC_L3
521 tristate
522
523config SND_SOC_DA7210
524 tristate
525
526config SND_SOC_DA7213
527 tristate
528
529config SND_SOC_DA7218
530 tristate
531
532config SND_SOC_DA7219
533 tristate
534
535config SND_SOC_DA732X
536 tristate
537
538config SND_SOC_DA9055
539 tristate
540
541config SND_SOC_DIO2125
542 tristate "Dioo DIO2125 Amplifier"
543 select GPIOLIB
544
545config SND_SOC_DMIC
546 tristate
547
548config SND_SOC_HDMI_CODEC
549 tristate
550 select SND_PCM_ELD
551 select SND_PCM_IEC958
552 select HDMI
553
554config SND_SOC_ES7134
555 tristate "Everest Semi ES7134 CODEC"
556
557config SND_SOC_ES8316
558 tristate "Everest Semi ES8316 CODEC"
559 depends on I2C
560
561config SND_SOC_ES8328
562 tristate
563
564config SND_SOC_ES8328_I2C
565 tristate "Everest Semi ES8328 CODEC (I2C)"
566 depends on I2C
567 select SND_SOC_ES8328
568
569config SND_SOC_ES8328_SPI
570 tristate "Everest Semi ES8328 CODEC (SPI)"
571 depends on SPI_MASTER
572 select SND_SOC_ES8328
573
574config SND_SOC_GTM601
575 tristate 'GTM601 UMTS modem audio codec'
576
577config SND_SOC_HDAC_HDMI
578 tristate
579 select SND_HDA_EXT_CORE
580 select SND_PCM_ELD
581 select HDMI
582
583config SND_SOC_ICS43432
584 tristate
585
586config SND_SOC_INNO_RK3036
587 tristate "Inno codec driver for RK3036 SoC"
588 select REGMAP_MMIO
589
590config SND_SOC_ISABELLE
591 tristate
592
593config SND_SOC_LM49453
594 tristate
595
596config SND_SOC_MAX98088
597 tristate
598
599config SND_SOC_MAX98090
600 tristate
601
602config SND_SOC_MAX98095
603 tristate
604
605config SND_SOC_MAX98357A
606 tristate
607
608config SND_SOC_MAX98371
609 tristate
610
611config SND_SOC_MAX98504
612 tristate "Maxim MAX98504 speaker amplifier"
613 depends on I2C
614
615config SND_SOC_MAX9867
616 tristate
617
618config SND_SOC_MAX98925
619 tristate
620
621config SND_SOC_MAX98926
622 tristate
623
624config SND_SOC_MAX98927
625 tristate "Maxim Integrated MAX98927 Speaker Amplifier"
626 depends on I2C
627
628config SND_SOC_MAX9850
629 tristate
630
631config SND_SOC_MAX9860
632 tristate "Maxim MAX9860 Mono Audio Voice Codec"
633 depends on I2C
634 select REGMAP_I2C
635
636config SND_SOC_MSM8916_WCD_ANALOG
637 tristate "Qualcomm MSM8916 WCD Analog Codec"
638 depends on SPMI || COMPILE_TEST
639
640config SND_SOC_MSM8916_WCD_DIGITAL
641 tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
642
643config SND_SOC_PCM1681
644 tristate "Texas Instruments PCM1681 CODEC"
645 depends on I2C
646
647config SND_SOC_PCM179X
648 tristate
649
650config SND_SOC_PCM179X_I2C
651 tristate "Texas Instruments PCM179X CODEC (I2C)"
652 depends on I2C
653 select SND_SOC_PCM179X
654 help
655 Enable support for Texas Instruments PCM179x CODEC.
656 Select this if your PCM179x is connected via an I2C bus.
657
658config SND_SOC_PCM179X_SPI
659 tristate "Texas Instruments PCM179X CODEC (SPI)"
660 depends on SPI_MASTER
661 select SND_SOC_PCM179X
662 help
663 Enable support for Texas Instruments PCM179x CODEC.
664 Select this if your PCM179x is connected via an SPI bus.
665
666config SND_SOC_PCM3008
667 tristate
668
669config SND_SOC_PCM3168A
670 tristate
671
672config SND_SOC_PCM3168A_I2C
673 tristate "Texas Instruments PCM3168A CODEC - I2C"
674 depends on I2C
675 select SND_SOC_PCM3168A
676 select REGMAP_I2C
677
678config SND_SOC_PCM3168A_SPI
679 tristate "Texas Instruments PCM3168A CODEC - SPI"
680 depends on SPI_MASTER
681 select SND_SOC_PCM3168A
682 select REGMAP_SPI
683
684config SND_SOC_PCM5102A
685 tristate
686
687config SND_SOC_PCM512x
688 tristate
689
690config SND_SOC_PCM512x_I2C
691 tristate "Texas Instruments PCM512x CODECs - I2C"
692 depends on I2C
693 select SND_SOC_PCM512x
694 select REGMAP_I2C
695
696config SND_SOC_PCM512x_SPI
697 tristate "Texas Instruments PCM512x CODECs - SPI"
698 depends on SPI_MASTER
699 select SND_SOC_PCM512x
700 select REGMAP_SPI
701
702config SND_SOC_RL6231
703 tristate
704 default y if SND_SOC_RT5514=y
705 default y if SND_SOC_RT5616=y
706 default y if SND_SOC_RT5640=y
707 default y if SND_SOC_RT5645=y
708 default y if SND_SOC_RT5651=y
709 default y if SND_SOC_RT5659=y
710 default y if SND_SOC_RT5660=y
711 default y if SND_SOC_RT5663=y
712 default y if SND_SOC_RT5665=y
713 default y if SND_SOC_RT5670=y
714 default y if SND_SOC_RT5677=y
715 default m if SND_SOC_RT5514=m
716 default m if SND_SOC_RT5616=m
717 default m if SND_SOC_RT5640=m
718 default m if SND_SOC_RT5645=m
719 default m if SND_SOC_RT5651=m
720 default m if SND_SOC_RT5659=m
721 default m if SND_SOC_RT5660=m
722 default m if SND_SOC_RT5663=m
723 default m if SND_SOC_RT5665=m
724 default m if SND_SOC_RT5670=m
725 default m if SND_SOC_RT5677=m
726
727config SND_SOC_RL6347A
728 tristate
729 default y if SND_SOC_RT274=y
730 default y if SND_SOC_RT286=y
731 default y if SND_SOC_RT298=y
732 default m if SND_SOC_RT274=m
733 default m if SND_SOC_RT286=m
734 default m if SND_SOC_RT298=m
735
736config SND_SOC_RT274
737 tristate
738 depends on I2C
739
740config SND_SOC_RT286
741 tristate
742 depends on I2C
743
744config SND_SOC_RT298
745 tristate
746 depends on I2C
747
748config SND_SOC_RT5514
749 tristate
750
751config SND_SOC_RT5514_SPI
752 tristate
753
754config SND_SOC_RT5616
755 tristate "Realtek RT5616 CODEC"
756 depends on I2C
757
758config SND_SOC_RT5631
759 tristate "Realtek ALC5631/RT5631 CODEC"
760 depends on I2C
761
762config SND_SOC_RT5640
763 tristate
764
765config SND_SOC_RT5645
766 tristate
767
768config SND_SOC_RT5651
769 tristate
770
771config SND_SOC_RT5659
772 tristate
773
774config SND_SOC_RT5660
775 tristate
776
777config SND_SOC_RT5663
778 tristate
779
780config SND_SOC_RT5665
781 tristate
782
783config SND_SOC_RT5670
784 tristate
785
786config SND_SOC_RT5677
787 tristate
788 select REGMAP_I2C
789 select REGMAP_IRQ
790
791config SND_SOC_RT5677_SPI
792 tristate
793 default SND_SOC_RT5677 && SPI
794
795#Freescale sgtl5000 codec
796config SND_SOC_SGTL5000
797 tristate "Freescale SGTL5000 CODEC"
798 depends on I2C
799
800config SND_SOC_SI476X
801 tristate
802
803config SND_SOC_SIGMADSP
804 tristate
805 select CRC32
806
807config SND_SOC_SIGMADSP_I2C
808 tristate
809 select SND_SOC_SIGMADSP
810
811config SND_SOC_SIGMADSP_REGMAP
812 tristate
813 select SND_SOC_SIGMADSP
814
815config SND_SOC_SIRF_AUDIO_CODEC
816 tristate "SiRF SoC internal audio codec"
817 select REGMAP_MMIO
818
819config SND_SOC_SN95031
820 tristate
821
822config SND_SOC_SPDIF
823 tristate "S/PDIF CODEC"
824
825config SND_SOC_SSM2518
826 tristate
827
828config SND_SOC_SSM2602
829 tristate
830
831config SND_SOC_SSM2602_SPI
832 tristate "Analog Devices SSM2602 CODEC - SPI"
833 depends on SPI_MASTER
834 select SND_SOC_SSM2602
835 select REGMAP_SPI
836
837config SND_SOC_SSM2602_I2C
838 tristate "Analog Devices SSM2602 CODEC - I2C"
839 depends on I2C
840 select SND_SOC_SSM2602
841 select REGMAP_I2C
842
843config SND_SOC_SSM4567
844 tristate "Analog Devices ssm4567 amplifier driver support"
845 depends on I2C
846
847config SND_SOC_STA32X
848 tristate "STA326, STA328 and STA329 speaker amplifier"
849 depends on I2C
850 select REGMAP_I2C
851
852config SND_SOC_STA350
853 tristate "STA350 speaker amplifier"
854 depends on I2C
855
856config SND_SOC_STA529
857 tristate
858
859config SND_SOC_STAC9766
860 tristate
861
862config SND_SOC_STI_SAS
863 tristate "codec Audio support for STI SAS codec"
864
865config SND_SOC_TAS2552
866 tristate "Texas Instruments TAS2552 Mono Audio amplifier"
867 depends on I2C
868
869config SND_SOC_TAS5086
870 tristate "Texas Instruments TAS5086 speaker amplifier"
871 depends on I2C
872
873config SND_SOC_TAS571X
874 tristate "Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 power amplifiers"
875 depends on I2C
876
877config SND_SOC_TAS5720
878 tristate "Texas Instruments TAS5720 Mono Audio amplifier"
879 depends on I2C
880 help
881 Enable support for Texas Instruments TAS5720L/M high-efficiency mono
882 Class-D audio power amplifiers.
883
884config SND_SOC_TFA9879
885 tristate "NXP Semiconductors TFA9879 amplifier"
886 depends on I2C
887
888config SND_SOC_TLV320AIC23
889 tristate
890
891config SND_SOC_TLV320AIC23_I2C
892 tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
893 depends on I2C
894 select SND_SOC_TLV320AIC23
895
896config SND_SOC_TLV320AIC23_SPI
897 tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
898 depends on SPI_MASTER
899 select SND_SOC_TLV320AIC23
900
901config SND_SOC_TLV320AIC26
902 tristate
903 depends on SPI
904
905config SND_SOC_TLV320AIC31XX
906 tristate "Texas Instruments TLV320AIC31xx CODECs"
907 depends on I2C
908 select REGMAP_I2C
909
910config SND_SOC_TLV320AIC32X4
911 tristate
912
913config SND_SOC_TLV320AIC32X4_I2C
914 tristate
915 depends on I2C
916 select SND_SOC_TLV320AIC32X4
917
918config SND_SOC_TLV320AIC32X4_SPI
919 tristate
920 depends on SPI_MASTER
921 select SND_SOC_TLV320AIC32X4
922
923config SND_SOC_TLV320AIC3X
924 tristate "Texas Instruments TLV320AIC3x CODECs"
925 depends on I2C
926
927config SND_SOC_TLV320DAC33
928 tristate
929
930config SND_SOC_TS3A227E
931 tristate "TI Headset/Mic detect and keypress chip"
932 depends on I2C
933
934config SND_SOC_TWL4030
935 select MFD_TWL4030_AUDIO
936 tristate
937
938config SND_SOC_TWL6040
939 tristate
940
941config SND_SOC_UDA134X
942 tristate
943
944config SND_SOC_UDA1380
945 tristate
946 depends on I2C
947
948config SND_SOC_WL1273
949 tristate
950
951config SND_SOC_WM0010
952 tristate
953
954config SND_SOC_WM1250_EV1
955 tristate
956
957config SND_SOC_WM2000
958 tristate
959
960config SND_SOC_WM2200
961 tristate
962
963config SND_SOC_WM5100
964 tristate
965
966config SND_SOC_WM5102
967 tristate
968
969config SND_SOC_WM5110
970 tristate
971
972config SND_SOC_WM8350
973 tristate
974
975config SND_SOC_WM8400
976 tristate
977
978config SND_SOC_WM8510
979 tristate "Wolfson Microelectronics WM8510 CODEC"
980 depends on SND_SOC_I2C_AND_SPI
981
982config SND_SOC_WM8523
983 tristate "Wolfson Microelectronics WM8523 DAC"
984 depends on I2C
985
986config SND_SOC_WM8524
987 tristate "Wolfson Microelectronics WM8524 DAC"
988 depends on GPIOLIB
989
990config SND_SOC_WM8580
991 tristate "Wolfson Microelectronics WM8580 and WM8581 CODECs"
992 depends on I2C
993
994config SND_SOC_WM8711
995 tristate "Wolfson Microelectronics WM8711 CODEC"
996 depends on SND_SOC_I2C_AND_SPI
997
998config SND_SOC_WM8727
999 tristate
1000
1001config SND_SOC_WM8728
1002 tristate "Wolfson Microelectronics WM8728 DAC"
1003 depends on SND_SOC_I2C_AND_SPI
1004
1005config SND_SOC_WM8731
1006 tristate "Wolfson Microelectronics WM8731 CODEC"
1007 depends on SND_SOC_I2C_AND_SPI
1008
1009config SND_SOC_WM8737
1010 tristate "Wolfson Microelectronics WM8737 ADC"
1011 depends on SND_SOC_I2C_AND_SPI
1012
1013config SND_SOC_WM8741
1014 tristate "Wolfson Microelectronics WM8737 DAC"
1015 depends on SND_SOC_I2C_AND_SPI
1016
1017config SND_SOC_WM8750
1018 tristate "Wolfson Microelectronics WM8750 CODEC"
1019 depends on SND_SOC_I2C_AND_SPI
1020
1021config SND_SOC_WM8753
1022 tristate "Wolfson Microelectronics WM8753 CODEC"
1023 depends on SND_SOC_I2C_AND_SPI
1024
1025config SND_SOC_WM8770
1026 tristate "Wolfson Microelectronics WM8770 CODEC"
1027 depends on SPI_MASTER
1028
1029config SND_SOC_WM8776
1030 tristate "Wolfson Microelectronics WM8776 CODEC"
1031 depends on SND_SOC_I2C_AND_SPI
1032
1033config SND_SOC_WM8782
1034 tristate
1035
1036config SND_SOC_WM8804
1037 tristate
1038
1039config SND_SOC_WM8804_I2C
1040 tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver I2C"
1041 depends on I2C
1042 select SND_SOC_WM8804
1043 select REGMAP_I2C
1044
1045config SND_SOC_WM8804_SPI
1046 tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver SPI"
1047 depends on SPI_MASTER
1048 select SND_SOC_WM8804
1049 select REGMAP_SPI
1050
1051config SND_SOC_WM8900
1052 tristate
1053
1054config SND_SOC_WM8903
1055 tristate "Wolfson Microelectronics WM8903 CODEC"
1056 depends on I2C
1057
1058config SND_SOC_WM8904
1059 tristate
1060
1061config SND_SOC_WM8940
1062 tristate
1063
1064config SND_SOC_WM8955
1065 tristate
1066
1067config SND_SOC_WM8960
1068 tristate "Wolfson Microelectronics WM8960 CODEC"
1069 depends on I2C
1070
1071config SND_SOC_WM8961
1072 tristate
1073
1074config SND_SOC_WM8962
1075 tristate "Wolfson Microelectronics WM8962 CODEC"
1076 depends on I2C && INPUT
1077
1078config SND_SOC_WM8971
1079 tristate
1080
1081config SND_SOC_WM8974
1082 tristate "Wolfson Microelectronics WM8974 codec"
1083 depends on I2C
1084
1085config SND_SOC_WM8978
1086 tristate "Wolfson Microelectronics WM8978 codec"
1087 depends on I2C
1088
1089config SND_SOC_WM8983
1090 tristate
1091
1092config SND_SOC_WM8985
1093 tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
1094 depends on SND_SOC_I2C_AND_SPI
1095
1096config SND_SOC_WM8988
1097 tristate
1098
1099config SND_SOC_WM8990
1100 tristate
1101
1102config SND_SOC_WM8991
1103 tristate
1104
1105config SND_SOC_WM8993
1106 tristate
1107
1108config SND_SOC_WM8994
1109 tristate
1110
1111config SND_SOC_WM8995
1112 tristate
1113
1114config SND_SOC_WM8996
1115 tristate
1116
1117config SND_SOC_WM8997
1118 tristate
1119
1120config SND_SOC_WM8998
1121 tristate
1122
1123config SND_SOC_WM9081
1124 tristate
1125 depends on I2C
1126
1127config SND_SOC_WM9090
1128 tristate
1129
1130config SND_SOC_WM9705
1131 tristate
1132 select REGMAP_AC97
1133
1134config SND_SOC_WM9712
1135 tristate
1136 select REGMAP_AC97
1137
1138config SND_SOC_WM9713
1139 tristate
1140 select REGMAP_AC97
1141
1142config SND_SOC_ZX_AUD96P22
1143 tristate "ZTE ZX AUD96P22 CODEC"
1144 depends on I2C
1145 select REGMAP_I2C
1146
1147# Amp
1148config SND_SOC_LM4857
1149 tristate
1150
1151config SND_SOC_MAX9768
1152 tristate
1153
1154config SND_SOC_MAX9877
1155 tristate
1156
1157config SND_SOC_MC13783
1158 tristate
1159
1160config SND_SOC_ML26124
1161 tristate
1162
1163config SND_SOC_MT6358
1164 tristate "MediaTek MT6351 Codec"
1165 depends on MTK_PMIC_WRAP
1166 help
1167 Enable support for Mediatek MT6358 CODEC
1168 Select this if your MT6358 is connected.
1169
1170config SND_SOC_MT6389
1171 tristate
1172
1173config SND_SOC_NAU8540
1174 tristate "Nuvoton Technology Corporation NAU85L40 CODEC"
1175 depends on I2C
1176
1177config SND_SOC_NAU8810
1178 tristate "Nuvoton Technology Corporation NAU88C10 CODEC"
1179 depends on I2C
1180
1181config SND_SOC_NAU8824
1182 tristate "Nuvoton Technology Corporation NAU88L24 CODEC"
1183 depends on I2C
1184
1185config SND_SOC_NAU8825
1186 tristate
1187
1188config SND_SOC_TPA6130A2
1189 tristate "Texas Instruments TPA6130A2 headphone amplifier"
1190 depends on I2C
1191
1192endmenu