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