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