xref: /linux/sound/soc/codecs/Kconfig (revision 0c30b8ca84aeea378d23874e7b14108021288b18)
1# SPDX-License-Identifier: GPL-2.0-only
2# Helper to resolve issues with configs that have SPI enabled but I2C
3# modular, meaning we can't build the codec driver in with I2C support.
4# We use an ordered list of conditional defaults to pick the appropriate
5# setting - SPI can't be modular so that case doesn't need to be covered.
6config SND_SOC_I2C_AND_SPI
7	tristate
8	default m if I2C=m
9	default y if I2C=y
10	default y if SPI_MASTER=y
11
12menu "CODEC drivers"
13
14config SND_SOC_ALL_CODECS
15	tristate "Build all ASoC CODEC drivers"
16	depends on COMPILE_TEST
17	imply SND_SOC_88PM860X
18	imply SND_SOC_AB8500_CODEC
19	imply SND_SOC_AC97_CODEC
20	imply SND_SOC_AD1836
21	imply SND_SOC_AD193X_SPI
22	imply SND_SOC_AD193X_I2C
23	imply SND_SOC_AD1980
24	imply SND_SOC_AD73311
25	imply SND_SOC_ADAU1372_I2C
26	imply SND_SOC_ADAU1372_SPI
27	imply SND_SOC_ADAU1373
28	imply SND_SOC_ADAU1761_I2C
29	imply SND_SOC_ADAU1761_SPI
30	imply SND_SOC_ADAU1781_I2C
31	imply SND_SOC_ADAU1781_SPI
32	imply SND_SOC_ADAV801
33	imply SND_SOC_ADAV803
34	imply SND_SOC_ADAU1977_SPI
35	imply SND_SOC_ADAU1977_I2C
36	imply SND_SOC_ADAU1701
37	imply SND_SOC_ADAU7002
38	imply SND_SOC_ADAU7118_I2C
39	imply SND_SOC_ADAU7118_HW
40	imply SND_SOC_ADS117X
41	imply SND_SOC_AK4104
42	imply SND_SOC_AK4118
43	imply SND_SOC_AK4375
44	imply SND_SOC_AK4458
45	imply SND_SOC_AK4535
46	imply SND_SOC_AK4554
47	imply SND_SOC_AK4613
48	imply SND_SOC_AK4619
49	imply SND_SOC_AK4642
50	imply SND_SOC_AK4671
51	imply SND_SOC_AK5386
52	imply SND_SOC_AK5558
53	imply SND_SOC_ALC5623
54	imply SND_SOC_ALC5632
55	imply SND_SOC_AUDIO_IIO_AUX
56	imply SND_SOC_AW8738
57	imply SND_SOC_AW87390
58	imply SND_SOC_AW88395
59	imply SND_SOC_AW88081
60	imply SND_SOC_AW88166
61	imply SND_SOC_AW88261
62	imply SND_SOC_AW88399
63	imply SND_SOC_BT_SCO
64	imply SND_SOC_BD28623
65	imply SND_SOC_CHV3_CODEC
66	imply SND_SOC_CQ0093VC
67	imply SND_SOC_CROS_EC_CODEC
68	imply SND_SOC_CS35L32
69	imply SND_SOC_CS35L33
70	imply SND_SOC_CS35L34
71	imply SND_SOC_CS35L35
72	imply SND_SOC_CS35L36
73	imply SND_SOC_CS35L41_SPI
74	imply SND_SOC_CS35L41_I2C
75	imply SND_SOC_CS35L45_I2C
76	imply SND_SOC_CS35L45_SPI
77	imply SND_SOC_CS35L56_I2C
78	imply SND_SOC_CS35L56_SPI
79	imply SND_SOC_CS35L56_SDW
80	imply SND_SOC_CS40L50
81	imply SND_SOC_CS42L42
82	imply SND_SOC_CS42L42_SDW
83	imply SND_SOC_CS42L43
84	imply SND_SOC_CS42L43_SDW
85	imply SND_SOC_CS42L51_I2C
86	imply SND_SOC_CS42L52
87	imply SND_SOC_CS42L56
88	imply SND_SOC_CS42L73
89	imply SND_SOC_CS42L84
90	imply SND_SOC_CS4234
91	imply SND_SOC_CS4265
92	imply SND_SOC_CS4270
93	imply SND_SOC_CS4271_I2C
94	imply SND_SOC_CS4271_SPI
95	imply SND_SOC_CS42XX8_I2C
96	imply SND_SOC_CS42XX8_SPI
97	imply SND_SOC_CS43130
98	imply SND_SOC_CS4341
99	imply SND_SOC_CS4349
100	imply SND_SOC_CS47L15
101	imply SND_SOC_CS47L24
102	imply SND_SOC_CS47L35
103	imply SND_SOC_CS47L85
104	imply SND_SOC_CS47L90
105	imply SND_SOC_CS47L92
106	imply SND_SOC_CS48L32
107	imply SND_SOC_CS53L30
108	imply SND_SOC_CS530X_I2C
109	imply SND_SOC_CS530X_SPI
110	imply SND_SOC_CX20442
111	imply SND_SOC_CX2072X
112	imply SND_SOC_DA7210
113	imply SND_SOC_DA7213
114	imply SND_SOC_DA7218
115	imply SND_SOC_DA7219
116	imply SND_SOC_DA732X
117	imply SND_SOC_DA9055
118	imply SND_SOC_DMIC
119	imply SND_SOC_ES8316
120	imply SND_SOC_ES8323
121	imply SND_SOC_ES8326
122	imply SND_SOC_ES8328_SPI
123	imply SND_SOC_ES8328_I2C
124	imply SND_SOC_ES8375
125	imply SND_SOC_ES8389
126	imply SND_SOC_ES9039Q2M
127	imply SND_SOC_ES9356
128	imply SND_SOC_ES7134
129	imply SND_SOC_ES7241
130	imply SND_SOC_FRAMER
131	imply SND_SOC_FS210X
132	imply SND_SOC_GTM601
133	imply SND_SOC_HDAC_HDMI
134	imply SND_SOC_HDAC_HDA
135	imply SND_SOC_ICS43432
136	imply SND_SOC_IDT821034
137	imply SND_SOC_INNO_RK3036
138	imply SND_SOC_ISABELLE
139	imply SND_SOC_JZ4740_CODEC
140	imply SND_SOC_JZ4725B_CODEC
141	imply SND_SOC_JZ4760_CODEC
142	imply SND_SOC_JZ4770_CODEC
143	imply SND_SOC_LM4857
144	imply SND_SOC_LM49453
145	imply SND_SOC_LOCHNAGAR_SC
146	imply SND_SOC_MAX98088
147	imply SND_SOC_MAX98090
148	imply SND_SOC_MAX98095
149	imply SND_SOC_MAX98357A
150	imply SND_SOC_MAX98371
151	imply SND_SOC_MAX98504
152	imply SND_SOC_MAX98520
153	imply SND_SOC_MAX9867
154	imply SND_SOC_MAX98925
155	imply SND_SOC_MAX98926
156	imply SND_SOC_MAX98927
157	imply SND_SOC_MAX98363
158	imply SND_SOC_MAX98373_I2C
159	imply SND_SOC_MAX98373_SDW
160	imply SND_SOC_MAX98388
161	imply SND_SOC_MAX98390
162	imply SND_SOC_MAX98396
163	imply SND_SOC_MAX9850
164	imply SND_SOC_MAX9860
165	imply SND_SOC_MAX9759
166	imply SND_SOC_MAX9768
167	imply SND_SOC_MAX9877
168	imply SND_SOC_MC13783
169	imply SND_SOC_ML26124
170	imply SND_SOC_MT6351
171	imply SND_SOC_MT6357
172	imply SND_SOC_MT6358
173	imply SND_SOC_MT6359
174	imply SND_SOC_MT6660
175	imply SND_SOC_NAU8315
176	imply SND_SOC_NAU8325
177	imply SND_SOC_NAU8360
178	imply SND_SOC_NAU8540
179	imply SND_SOC_NAU8810
180	imply SND_SOC_NAU8821
181	imply SND_SOC_NAU8822
182	imply SND_SOC_NAU8824
183	imply SND_SOC_NAU8825
184	imply SND_SOC_HDMI_CODEC
185	imply SND_SOC_PCM1681
186	imply SND_SOC_PCM1754
187	imply SND_SOC_PCM1789_I2C
188	imply SND_SOC_PCM179X_I2C
189	imply SND_SOC_PCM179X_SPI
190	imply SND_SOC_PCM186X_I2C
191	imply SND_SOC_PCM186X_SPI
192	imply SND_SOC_PCM3008
193	imply SND_SOC_PCM3060_I2C
194	imply SND_SOC_PCM3060_SPI
195	imply SND_SOC_PCM3168A_I2C
196	imply SND_SOC_PCM3168A_SPI
197	imply SND_SOC_PCM5102A
198	imply SND_SOC_PCM512x_I2C
199	imply SND_SOC_PCM512x_SPI
200	imply SND_SOC_PCM6240
201	imply SND_SOC_PEB2466
202	imply SND_SOC_PM4125_SDW
203	imply SND_SOC_RK3308
204	imply SND_SOC_RK3328
205	imply SND_SOC_RK817
206	imply SND_SOC_RT274
207	imply SND_SOC_RT286
208	imply SND_SOC_RT298
209	imply SND_SOC_RT1011
210	imply SND_SOC_RT1015
211	imply SND_SOC_RT1015P
212	imply SND_SOC_RT1016
213	imply SND_SOC_RT1017_SDCA_SDW
214	imply SND_SOC_RT1019
215	imply SND_SOC_RT1305
216	imply SND_SOC_RT1308
217	imply SND_SOC_RT5514
218	imply SND_SOC_RT5575
219	imply SND_SOC_RT5616
220	imply SND_SOC_RT5631
221	imply SND_SOC_RT5640
222	imply SND_SOC_RT5645
223	imply SND_SOC_RT5651
224	imply SND_SOC_RT5659
225	imply SND_SOC_RT5660
226	imply SND_SOC_RT5663
227	imply SND_SOC_RT5665
228	imply SND_SOC_RT5668
229	imply SND_SOC_RT5670
230	imply SND_SOC_RT5677
231	imply SND_SOC_RT5682_I2C
232	imply SND_SOC_RT5682_SDW
233	imply SND_SOC_RT5682S
234	imply SND_SOC_RT700_SDW
235	imply SND_SOC_RT711_SDW
236	imply SND_SOC_RT711_SDCA_SDW
237	imply SND_SOC_RT712_SDCA_SDW
238	imply SND_SOC_RT712_SDCA_DMIC_SDW
239	imply SND_SOC_RT715_SDW
240	imply SND_SOC_RT715_SDCA_SDW
241	imply SND_SOC_RT721_SDCA_SDW
242	imply SND_SOC_RT722_SDCA_SDW
243	imply SND_SOC_RT766_SDCA_SDW
244	imply SND_SOC_RT1308_SDW
245	imply SND_SOC_RT1316_SDW
246	imply SND_SOC_RT1318
247	imply SND_SOC_RT1318_SDW
248	imply SND_SOC_RT1320_SDW
249	imply SND_SOC_RT9120
250	imply SND_SOC_RT9123
251	imply SND_SOC_RTQ9124
252	imply SND_SOC_RTQ9128
253	imply SND_SOC_SDW_MOCKUP
254	imply SND_SOC_SGTL5000
255	imply SND_SOC_SI476X
256	imply SND_SOC_SIMPLE_AMPLIFIER
257	imply SND_SOC_SIMPLE_MUX
258	imply SND_SOC_SMA1303
259	imply SND_SOC_SMA1307
260	imply SND_SOC_SN624X_SDCA_SDW
261	imply SND_SOC_SPDIF
262	imply SND_SOC_SRC4XXX_I2C
263	imply SND_SOC_SSM2305
264	imply SND_SOC_SSM2518
265	imply SND_SOC_SSM2602_SPI
266	imply SND_SOC_SSM2602_I2C
267	imply SND_SOC_SSM4567
268	imply SND_SOC_STA32X
269	imply SND_SOC_STA350
270	imply SND_SOC_STA529
271	imply SND_SOC_STAC9766
272	imply SND_SOC_STI_SAS
273	imply SND_SOC_TAC5XX2_SDW
274	imply SND_SOC_TAS2552
275	imply SND_SOC_TAS2562
276	imply SND_SOC_TAS2764
277	imply SND_SOC_TAS2770
278	imply SND_SOC_TAS2780
279	imply SND_SOC_TAS2781_I2C
280	imply SND_SOC_TAS2783_SDW
281	imply SND_SOC_TAS5086
282	imply SND_SOC_TAS571X
283	imply SND_SOC_TAS5720
284	imply SND_SOC_TAS6424
285	imply SND_SOC_TAS675X
286	imply SND_SOC_TDA7419
287	imply SND_SOC_TFA9879
288	imply SND_SOC_TFA989X
289	imply SND_SOC_TLV320ADC3XXX
290	imply SND_SOC_TLV320ADCX140
291	imply SND_SOC_TLV320AIC23_I2C
292	imply SND_SOC_TLV320AIC23_SPI
293	imply SND_SOC_TLV320AIC26
294	imply SND_SOC_TLV320AIC31XX
295	imply SND_SOC_TLV320AIC32X4_I2C
296	imply SND_SOC_TLV320AIC32X4_SPI
297	imply SND_SOC_TLV320AIC3X_I2C
298	imply SND_SOC_TLV320AIC3X_SPI
299	imply SND_SOC_TPA6130A2
300	imply SND_SOC_TLV320DAC33
301	imply SND_SOC_TSCS42XX
302	imply SND_SOC_TSCS454
303	imply SND_SOC_TS3A227E
304	imply SND_SOC_TWL4030
305	imply SND_SOC_TWL6040
306	imply SND_SOC_UDA1334
307	imply SND_SOC_UDA1342
308	imply SND_SOC_UDA1380
309	imply SND_SOC_WCD9335
310	imply SND_SOC_WCD934X
311	imply SND_SOC_WCD937X_SDW
312	imply SND_SOC_WCD938X_SDW
313	imply SND_SOC_WCD939X_SDW
314	imply SND_SOC_LPASS_MACRO_COMMON
315	imply SND_SOC_LPASS_RX_MACRO
316	imply SND_SOC_LPASS_TX_MACRO
317	imply SND_SOC_WM0010
318	imply SND_SOC_WM1250_EV1
319	imply SND_SOC_WM2000
320	imply SND_SOC_WM2200
321	imply SND_SOC_WM5100
322	imply SND_SOC_WM5102
323	imply SND_SOC_WM5110
324	imply SND_SOC_WM8350
325	imply SND_SOC_WM8400
326	imply SND_SOC_WM8510
327	imply SND_SOC_WM8523
328	imply SND_SOC_WM8524
329	imply SND_SOC_WM8580
330	imply SND_SOC_WM8711
331	imply SND_SOC_WM8727
332	imply SND_SOC_WM8728
333	imply SND_SOC_WM8731_I2C
334	imply SND_SOC_WM8731_SPI
335	imply SND_SOC_WM8737
336	imply SND_SOC_WM8741
337	imply SND_SOC_WM8750
338	imply SND_SOC_WM8753
339	imply SND_SOC_WM8770
340	imply SND_SOC_WM8776
341	imply SND_SOC_WM8782
342	imply SND_SOC_WM8804_I2C
343	imply SND_SOC_WM8804_SPI
344	imply SND_SOC_WM8900
345	imply SND_SOC_WM8903
346	imply SND_SOC_WM8904
347	imply SND_SOC_WM8940
348	imply SND_SOC_WM8955
349	imply SND_SOC_WM8960
350	imply SND_SOC_WM8961
351	imply SND_SOC_WM8962
352	imply SND_SOC_WM8971
353	imply SND_SOC_WM8974
354	imply SND_SOC_WM8978
355	imply SND_SOC_WM8983
356	imply SND_SOC_WM8985
357	imply SND_SOC_WM8988
358	imply SND_SOC_WM8990
359	imply SND_SOC_WM8991
360	imply SND_SOC_WM8993
361	imply SND_SOC_WM8994
362	imply SND_SOC_WM8995
363	imply SND_SOC_WM8996
364	imply SND_SOC_WM8997
365	imply SND_SOC_WM8998
366	imply SND_SOC_WM9081
367	imply SND_SOC_WM9090
368	imply SND_SOC_WM9705
369	imply SND_SOC_WM9712
370	imply SND_SOC_WM9713
371	imply SND_SOC_WSA881X
372	imply SND_SOC_WSA883X
373	imply SND_SOC_WSA884X
374	imply SND_SOC_WSA885X
375	imply SND_SOC_ZL38060
376	help
377	  Normally ASoC codec drivers are only built if a machine driver which
378	  uses them is also built since they are only usable with a machine
379	  driver.  Selecting this option will allow these drivers to be built
380	  without an explicit machine driver for test and development purposes.
381
382	  Support for the bus types used to access the codecs to be built must
383	  be selected separately.
384
385	  If unsure select "N".
386
387config SND_SOC_88PM860X
388	tristate
389	depends on MFD_88PM860X
390
391config SND_SOC_ARIZONA
392	tristate
393	default y if SND_SOC_CS47L24=y
394	default y if SND_SOC_WM5102=y
395	default y if SND_SOC_WM5110=y
396	default y if SND_SOC_WM8997=y
397	default y if SND_SOC_WM8998=y
398	default m if SND_SOC_CS47L24=m
399	default m if SND_SOC_WM5102=m
400	default m if SND_SOC_WM5110=m
401	default m if SND_SOC_WM8997=m
402	default m if SND_SOC_WM8998=m
403
404config SND_SOC_WM_HUBS
405	tristate
406	default y if SND_SOC_WM8993=y || SND_SOC_WM8994=y
407	default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
408
409config SND_SOC_WM_ADSP
410	tristate "Cirrus Logic wm_adsp driver" if KUNIT
411	select FW_CS_DSP
412	select SND_SOC_COMPRESS
413
414config SND_SOC_WM_ADSP_TEST
415	tristate "KUnit tests for Cirrus Logic wm_adsp" if !KUNIT_ALL_TESTS
416	depends on KUNIT
417	depends on SND_SOC_WM_ADSP
418	default KUNIT_ALL_TESTS
419	help
420	  This builds KUnit tests for the Cirrus Logic wm_adsp library.
421	  For more information on KUnit and unit tests in general,
422	  please refer to the KUnit documentation in
423	  Documentation/dev-tools/kunit/.
424	  If in doubt, say "N".
425
426config SND_SOC_AB8500_CODEC
427	tristate
428	depends on ABX500_CORE
429
430config SND_SOC_AC97_CODEC
431	tristate "Build generic ASoC AC97 CODEC driver"
432	select SND_AC97_CODEC
433	select SND_SOC_AC97_BUS
434
435config SND_SOC_AD1836
436	tristate
437	depends on SPI_MASTER
438
439config SND_SOC_AD193X
440	tristate
441
442config SND_SOC_AD193X_SPI
443	tristate
444	depends on SPI_MASTER
445	select SND_SOC_AD193X
446
447config SND_SOC_AD193X_I2C
448	tristate
449	depends on I2C
450	select SND_SOC_AD193X
451
452config SND_SOC_AD1980
453	tristate
454	depends on SND_SOC_AC97_BUS
455	select REGMAP_AC97
456
457config SND_SOC_AD73311
458	tristate
459
460config SND_SOC_ADAU_UTILS
461	tristate
462
463config SND_SOC_ADAU1372
464	tristate
465	select SND_SOC_ADAU_UTILS
466
467config SND_SOC_ADAU1372_I2C
468	tristate "Analog Devices ADAU1372 CODEC (I2C)"
469	depends on I2C
470	select SND_SOC_ADAU1372
471	select REGMAP_I2C
472
473config SND_SOC_ADAU1372_SPI
474	tristate "Analog Devices ADAU1372 CODEC (SPI)"
475	depends on SPI
476	select SND_SOC_ADAU1372
477	select REGMAP_SPI
478
479config SND_SOC_ADAU1373
480	tristate "Analog Devices ADAU1373 CODEC"
481	depends on I2C
482	select SND_SOC_ADAU_UTILS
483
484config SND_SOC_ADAU1701
485	tristate "Analog Devices ADAU1701 CODEC"
486	depends on I2C
487	select SND_SOC_SIGMADSP_I2C
488
489config SND_SOC_ADAU17X1
490	tristate
491	select SND_SOC_SIGMADSP_REGMAP
492	select SND_SOC_ADAU_UTILS
493
494config SND_SOC_ADAU1761
495	tristate
496	select SND_SOC_ADAU17X1
497
498config SND_SOC_ADAU1761_I2C
499	tristate "Analog Devices AU1761 CODEC - I2C"
500	depends on I2C
501	select SND_SOC_ADAU1761
502	select REGMAP_I2C
503
504config SND_SOC_ADAU1761_SPI
505	tristate "Analog Devices AU1761 CODEC - SPI"
506	depends on SPI
507	select SND_SOC_ADAU1761
508	select REGMAP_SPI
509
510config SND_SOC_ADAU1781
511	select SND_SOC_ADAU17X1
512	tristate
513
514config SND_SOC_ADAU1781_I2C
515	tristate
516	depends on I2C
517	select SND_SOC_ADAU1781
518	select REGMAP_I2C
519
520config SND_SOC_ADAU1781_SPI
521	tristate
522	depends on SPI_MASTER
523	select SND_SOC_ADAU1781
524	select REGMAP_SPI
525
526config SND_SOC_ADAU1977
527	tristate
528
529config SND_SOC_ADAU1977_SPI
530	tristate "Analog Devices ADAU1977/ADAU1978/ADAU1979 CODEC - SPI"
531	depends on SPI_MASTER
532	select SND_SOC_ADAU1977
533	select REGMAP_SPI
534
535config SND_SOC_ADAU1977_I2C
536	tristate "Analog Devices ADAU1977/ADAU1978/ADAU1979 CODEC - I2C"
537	depends on I2C
538	select SND_SOC_ADAU1977
539	select REGMAP_I2C
540
541config SND_SOC_ADAU7002
542	tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
543
544config SND_SOC_ADAU7118
545	tristate
546
547config SND_SOC_ADAU7118_HW
548	tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
549	select SND_SOC_ADAU7118
550	help
551	  Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
552	  Converter. In this mode, the device works in standalone mode which
553	  means that there is no bus to communicate with it. Stereo mode is not
554	  supported in this mode.
555
556	  To compile this driver as a module, choose M here: the module
557	  will be called snd-soc-adau7118-hw.
558
559config SND_SOC_ADAU7118_I2C
560	tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
561	depends on I2C
562	select SND_SOC_ADAU7118
563	select REGMAP_I2C
564	help
565	  Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
566	  Converter over I2C. This gives full support over the device.
567
568	  To compile this driver as a module, choose M here: the module
569	  will be called snd-soc-adau7118-i2c.
570
571config SND_SOC_ADAV80X
572	tristate
573
574config SND_SOC_ADAV801
575	tristate
576	depends on SPI_MASTER
577	select SND_SOC_ADAV80X
578
579config SND_SOC_ADAV803
580	tristate
581	depends on I2C
582	select SND_SOC_ADAV80X
583
584config SND_SOC_ADS117X
585	tristate
586
587config SND_SOC_AK4104
588	tristate "AKM AK4104 CODEC"
589	depends on SPI_MASTER
590
591config SND_SOC_AK4118
592	tristate "AKM AK4118 CODEC"
593	depends on I2C
594	select REGMAP_I2C
595
596config SND_SOC_AK4375
597	tristate "AKM AK4375 CODEC"
598	depends on I2C
599	select REGMAP_I2C
600	help
601	  Enable support for the Asahi-Kasei AK4375 codec.
602
603	  To compile this driver as a module, choose M here: the module
604	  will be called snd-soc-ak4375.
605
606config SND_SOC_AK4458
607	tristate "AKM AK4458 CODEC"
608	depends on I2C
609	select REGMAP_I2C
610
611config SND_SOC_AK4535
612	tristate
613	depends on I2C
614
615config SND_SOC_AK4554
616	tristate "AKM AK4554 CODEC"
617
618config SND_SOC_AK4613
619	tristate "AKM AK4613 CODEC"
620	depends on I2C
621
622config SND_SOC_AK4619
623	tristate "AKM AK4619 CODEC"
624	depends on I2C
625
626config SND_SOC_AK4642
627	tristate "AKM AK4642 CODEC"
628	depends on I2C
629
630config SND_SOC_AK4671
631	tristate
632	depends on I2C
633
634config SND_SOC_AK5386
635	tristate "AKM AK5638 CODEC"
636
637config SND_SOC_AK5558
638	tristate "AKM AK5558 CODEC"
639	depends on I2C
640	select REGMAP_I2C
641
642config SND_SOC_ALC5623
643	tristate "Realtek ALC5623 CODEC"
644	depends on I2C
645
646config SND_SOC_ALC5632
647	tristate
648	depends on I2C
649
650config SND_SOC_AUDIO_IIO_AUX
651	tristate "Audio IIO Auxiliary device"
652	depends on IIO
653	help
654	  Enable support for Industrial I/O devices as audio auxiliary devices.
655	  This allows to have an IIO device present in the audio path and
656	  controlled using mixer controls.
657
658	  To compile this driver as a module, choose M here: the module
659	  will be called snd-soc-audio-iio-aux.
660
661config SND_SOC_AW8738
662	tristate "Awinic AW8738 Audio Amplifier"
663	select GPIOLIB
664	help
665	  Enable support for the Awinic AW8738 audio amplifier (or similar).
666	  The driver supports simple audio amplifiers similar to
667	  SND_SOC_SIMPLE_AMPLIFIER, but additionally allows setting the
668	  operation mode using the Awinic-specific one-wire pulse control.
669
670config SND_SOC_AW88395_LIB
671	select CRC8
672	tristate
673
674config SND_SOC_AW88395
675	tristate "Soc Audio for awinic aw88395"
676	depends on I2C
677	select CRC32
678	select REGMAP_I2C
679	select GPIOLIB
680	select SND_SOC_AW88395_LIB
681	help
682	  this option enables support for aw88395 Smart PA.
683	  The Awinic AW88395 is an I2S/TDM input, high efficiency
684	  digital Smart K audio amplifier with an integrated 10V
685	  smart boost convert.
686
687config SND_SOC_AW88166
688	tristate "Soc Audio for awinic aw88166"
689	depends on I2C
690	select REGMAP_I2C
691	select GPIOLIB
692	select SND_SOC_AW88395_LIB
693	help
694	  This option enables support for aw88166 Smart PA.
695	  The awinic AW88166 is an I2S/TDM input, high efficiency
696	  digital Smart K audio amplifier with sound quality
697	  enhancement algorithms and speaker protection.
698
699config SND_SOC_AW88261
700	tristate "Soc Audio for awinic aw88261"
701	depends on I2C
702	select REGMAP_I2C
703	select GPIOLIB
704	select SND_SOC_AW88395_LIB
705	help
706	  This option enables support for aw88261 Smart PA.
707	  The awinic AW88261 is an I2S/TDM input, high efficiency
708	  digital Smart K audio amplifier. The output voltage of
709	  boost converter can be adjusted smartly according to
710	  the input amplitude.
711
712config SND_SOC_AW88081
713	tristate "Soc Audio for awinic aw88081/aw88083"
714	depends on I2C
715	select REGMAP_I2C
716	select SND_SOC_AW88395_LIB
717	help
718	  This option enables support for aw88081 Smart PA.
719	  The awinic AW88081 is an I2S/TDM input, high efficiency
720	  digital Smart K audio amplifier. Due to its 9uV noise
721	  floor and ultra-low distortion, clean listening is guaranteed.
722
723config SND_SOC_AW87390
724	tristate "Soc Audio for awinic aw87390"
725	depends on I2C
726	select REGMAP_I2C
727	select SND_SOC_AW88395_LIB
728	help
729	  The awinic aw87390 is specifically designed to improve
730	  the musical output dynamic range, enhance the overall
731	  sound quality, which is a new high efficiency, low
732	  noise, constant large volume, 6th Smart K audio amplifier.
733
734config SND_SOC_AW88399_LIB
735	tristate
736	select SND_SOC_AW88395_LIB
737
738config SND_SOC_AW88399
739	tristate "Soc Audio for awinic aw88399"
740	depends on I2C
741	select CRC8
742	select REGMAP_I2C
743	select GPIOLIB
744	select SND_SOC_AW88395_LIB
745	select SND_SOC_AW88399_LIB
746	help
747	  This option enables support for aw88399 Smart PA.
748	  The awinic AW88399 is an I2S/TDM input, high efficiency
749	  digital Smart K audio amplifier and SKTune speaker
750	  protection algorithms.
751
752config SND_SOC_BD28623
753	tristate "ROHM BD28623 CODEC"
754	help
755	  Enable support for ROHM BD28623MUV Class D speaker amplifier.
756	  This codec does not have any control buses such as I2C, it
757	  detect format of I2S automatically.
758
759config SND_SOC_BT_SCO
760	tristate "Dummy BT SCO codec driver"
761
762config SND_SOC_CHV3_CODEC
763	tristate "Google Chameleon v3 codec driver"
764	help
765	  Enable support for the Google Chameleon v3 audio codec.
766	  This codec does not have a control interface, it always outputs
767	  8 channel S32_LE audio.
768
769config SND_SOC_CPCAP
770	tristate "Motorola CPCAP codec"
771	depends on MFD_CPCAP || COMPILE_TEST
772
773config SND_SOC_CQ0093VC
774	tristate
775
776config SND_SOC_CROS_EC_CODEC
777	tristate "codec driver for ChromeOS EC"
778	depends on CROS_EC
779	select CRYPTO_LIB_SHA256
780	help
781	  If you say yes here you will get support for the
782	  ChromeOS Embedded Controller's Audio Codec.
783
784config SND_SOC_CS_AMP_LIB
785	tristate
786
787config SND_SOC_CS_AMP_LIB_TEST_HOOKS
788	bool
789	depends on SND_SOC_CS_AMP_LIB
790
791config SND_SOC_CS_AMP_LIB_TEST
792	tristate "KUnit test for Cirrus Logic cs-amp-lib" if !KUNIT_ALL_TESTS
793	depends on SND_SOC_CS_AMP_LIB && KUNIT
794	select SND_SOC_CS_AMP_LIB_TEST_HOOKS
795	default KUNIT_ALL_TESTS
796	help
797	  This builds KUnit tests for the Cirrus Logic common
798	  amplifier library.
799	  For more information on KUnit and unit tests in general,
800	  please refer to the KUnit documentation in
801	  Documentation/dev-tools/kunit/.
802	  If in doubt, say "N".
803
804config SND_SOC_CS35L32
805	tristate "Cirrus Logic CS35L32 CODEC"
806	depends on I2C
807
808config SND_SOC_CS35L33
809	tristate "Cirrus Logic CS35L33 CODEC"
810	depends on I2C
811
812config SND_SOC_CS35L34
813	tristate "Cirrus Logic CS35L34 CODEC"
814	depends on I2C
815
816config SND_SOC_CS35L35
817	tristate "Cirrus Logic CS35L35 CODEC"
818	depends on I2C
819
820config SND_SOC_CS35L36
821	tristate "Cirrus Logic CS35L36 CODEC"
822	depends on I2C
823
824config SND_SOC_CS35L41_LIB
825	tristate
826
827config SND_SOC_CS35L41
828	tristate
829	select SND_SOC_WM_ADSP
830
831config SND_SOC_CS35L41_SPI
832	tristate "Cirrus Logic CS35L41 CODEC (SPI)"
833	depends on SPI_MASTER
834	select SND_SOC_CS35L41_LIB
835	select SND_SOC_CS35L41
836	select REGMAP_SPI
837
838config SND_SOC_CS35L41_I2C
839	tristate "Cirrus Logic CS35L41 CODEC (I2C)"
840	depends on I2C
841	select SND_SOC_CS35L41_LIB
842	select SND_SOC_CS35L41
843	select REGMAP_I2C
844
845config SND_SOC_CS35L45
846	tristate
847	select REGMAP_IRQ
848	select SND_SOC_WM_ADSP
849
850config SND_SOC_CS35L45_SPI
851	tristate "Cirrus Logic CS35L45 CODEC (SPI)"
852	depends on SPI_MASTER
853	select REGMAP
854	select REGMAP_SPI
855	select SND_SOC_CS35L45
856	help
857	  Enable support for Cirrus Logic CS35L45 smart speaker amplifier
858	  with SPI control.
859
860config SND_SOC_CS35L45_I2C
861	tristate "Cirrus Logic CS35L45 CODEC (I2C)"
862	depends on I2C
863	select REGMAP
864	select REGMAP_I2C
865	select SND_SOC_CS35L45
866	help
867	  Enable support for Cirrus Logic CS35L45 smart speaker amplifier
868	  with I2C control.
869
870config SND_SOC_CS35L56
871	tristate
872	select SND_SOC_WM_ADSP
873
874config SND_SOC_CS35L56_SHARED
875	select SND_SOC_CS_AMP_LIB
876	tristate
877
878config SND_SOC_CS35L56_I2C
879	tristate "Cirrus Logic CS35L56 CODEC (I2C)"
880	depends on I2C
881	depends on SOUNDWIRE || !SOUNDWIRE
882	select REGMAP_I2C
883	select SND_SOC_CS35L56
884	select SND_SOC_CS35L56_SHARED
885	help
886	  Enable support for Cirrus Logic CS35L56 boosted amplifier with I2C control
887
888config SND_SOC_CS35L56_SPI
889	tristate "Cirrus Logic CS35L56 CODEC (SPI)"
890	depends on SPI_MASTER
891	depends on SOUNDWIRE || !SOUNDWIRE
892	select REGMAP_SPI
893	select SND_SOC_CS35L56
894	select SND_SOC_CS35L56_SHARED
895	help
896	  Enable support for Cirrus Logic CS35L56 boosted amplifier with SPI control
897
898config SND_SOC_CS35L56_SDW
899	tristate "Cirrus Logic CS35L56 CODEC (SDW)"
900	depends on SOUNDWIRE
901	select REGMAP_SOUNDWIRE
902	select IRQ_DOMAIN
903	select SND_SOC_CS35L56
904	select SND_SOC_CS35L56_SHARED
905	help
906	  Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control
907
908config SND_SOC_CS35L56_CAL_DEBUGFS_COMMON
909	bool
910
911menu "CS35L56 driver options"
912	depends on SND_SOC_CS35L56
913
914config SND_SOC_CS35L56_CAL_DEBUGFS
915	bool "CS35L56 create debugfs for factory calibration"
916	depends on DEBUG_FS
917	select SND_SOC_CS35L56_CAL_DEBUGFS_COMMON
918	help
919	  Create debugfs entries used during factory-line manufacture
920	  for factory calibration.
921
922	  If unsure select "N".
923
924config SND_SOC_CS35L56_CAL_SET_CTRL
925	bool "CS35L56 ALSA control to restore factory calibration"
926	select SND_SOC_CS35L56_CAL_DEBUGFS_COMMON
927	help
928	  Allow restoring factory calibration data through an ALSA
929	  control. This is only needed on platforms without UEFI or
930	  some other method of non-volatile storage that the driver
931	  can access directly.
932
933	  On most platforms this is not needed.
934
935	  If unsure select "N".
936
937config SND_SOC_CS35L56_CAL_PERFORM_CTRL
938	bool "CS35L56 ALSA control to perform factory calibration"
939	select SND_SOC_CS35L56_CAL_DEBUGFS_COMMON
940	help
941	  Allow performing factory calibration data through an ALSA
942	  control. It is recommended to use the debugfs method instead
943	  because debugfs has restricted access permissions.
944
945	  On most platforms this is not needed.
946
947	  If unsure select "N".
948
949config SND_SOC_CS35L56_TEST
950	tristate "KUnit test for Cirrus Logic cs35l56 driver" if !KUNIT_ALL_TESTS
951	depends on SND_SOC_CS35L56 && KUNIT
952	default KUNIT_ALL_TESTS
953	select SND_SOC_CS_AMP_LIB_TEST_HOOKS
954	help
955	  This builds KUnit tests for the Cirrus Logic cs35l56
956	  codec driver.
957
958	  For more information on KUnit and unit tests in general,
959	  please refer to the KUnit documentation in
960	  Documentation/dev-tools/kunit/.
961	  If in doubt, say "N".
962
963config SND_SOC_CS35L56_SHARED_TEST
964	tristate "KUnit test for Cirrus Logic cs35l56-shared" if !KUNIT_ALL_TESTS
965	depends on SND_SOC_CS35L56_SHARED && KUNIT
966	default KUNIT_ALL_TESTS
967	help
968	  This builds KUnit tests for the Cirrus Logic cs35l56-shared
969	  module.
970
971	  For more information on KUnit and unit tests in general,
972	  please refer to the KUnit documentation in
973	  Documentation/dev-tools/kunit/.
974	  If in doubt, say "N".
975endmenu
976
977config SND_SOC_CS40L50
978	tristate "Cirrus Logic CS40L50 CODEC"
979	depends on MFD_CS40L50_CORE
980	help
981	  This option enables support for I2S streaming to Cirrus Logic CS40L50.
982
983	  CS40L50 is a haptic driver with waveform memory, an integrated
984	  DSP, and closed-loop algorithms. If built as a module, it will be
985	  called snd-soc-cs40l50.
986
987config SND_SOC_CS42L42_CORE
988	tristate
989
990config SND_SOC_CS42L42
991	tristate "Cirrus Logic CS42L42 CODEC (I2C)"
992	depends on I2C
993	select REGMAP
994	select REGMAP_I2C
995	select SND_SOC_CS42L42_CORE
996
997config SND_SOC_CS42L42_SDW
998	tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
999	depends on SOUNDWIRE
1000	select SND_SOC_CS42L42_CORE
1001	help
1002	  Enable support for Cirrus Logic CS42L42 codec with Soundwire control
1003
1004config SND_SOC_CS42L43
1005	tristate "Cirrus Logic CS42L43 CODEC"
1006	depends on MFD_CS42L43
1007	help
1008	  Select this to support the audio functions of the Cirrus Logic
1009	  CS42L43 PC CODEC.
1010
1011config SND_SOC_CS42L43_SDW
1012	tristate "Cirrus Logic CS42L43 CODEC (SoundWire)"
1013	depends on SND_SOC_CS42L43 && MFD_CS42L43_SDW
1014	help
1015	  Select this to support the audio functions of the Cirrus Logic
1016	  CS42L43 PC CODEC over SoundWire.
1017
1018config SND_SOC_CS42L51
1019	tristate
1020
1021config SND_SOC_CS42L51_I2C
1022	tristate "Cirrus Logic CS42L51 CODEC (I2C)"
1023	depends on I2C
1024	select SND_SOC_CS42L51
1025
1026config SND_SOC_CS42L52
1027	tristate "Cirrus Logic CS42L52 CODEC"
1028	depends on I2C && INPUT
1029
1030config SND_SOC_CS42L56
1031	tristate "Cirrus Logic CS42L56 CODEC"
1032	depends on I2C && INPUT
1033
1034config SND_SOC_CS42L73
1035	tristate "Cirrus Logic CS42L73 CODEC"
1036	depends on I2C
1037
1038config SND_SOC_CS42L83
1039	tristate "Cirrus Logic CS42L83 CODEC"
1040	depends on I2C
1041	select REGMAP
1042	select REGMAP_I2C
1043	select SND_SOC_CS42L42_CORE
1044
1045config SND_SOC_CS42L84
1046	tristate "Cirrus Logic CS42L84 CODEC"
1047	depends on I2C
1048	select REGMAP
1049	select REGMAP_I2C
1050
1051config SND_SOC_CS4234
1052	tristate "Cirrus Logic CS4234 CODEC"
1053	depends on I2C
1054	select REGMAP_I2C
1055
1056config SND_SOC_CS4265
1057	tristate "Cirrus Logic CS4265 CODEC"
1058	depends on I2C
1059	select REGMAP_I2C
1060
1061# Cirrus Logic CS4270 Codec
1062config SND_SOC_CS4270
1063	tristate "Cirrus Logic CS4270 CODEC"
1064	depends on I2C
1065
1066# Cirrus Logic CS4270 Codec VD = 3.3V Errata
1067# Select if you are affected by the errata where the part will not function
1068# if MCLK divide-by-1.5 is selected and VD is set to 3.3V.  The driver will
1069# not select any sample rates that require MCLK to be divided by 1.5.
1070config SND_SOC_CS4270_VD33_ERRATA
1071	bool
1072	depends on SND_SOC_CS4270
1073
1074config SND_SOC_CS4271
1075	tristate
1076
1077config SND_SOC_CS4271_I2C
1078	tristate "Cirrus Logic CS4271 CODEC (I2C)"
1079	depends on I2C
1080	select SND_SOC_CS4271
1081	select REGMAP_I2C
1082
1083config SND_SOC_CS4271_SPI
1084	tristate "Cirrus Logic CS4271 CODEC (SPI)"
1085	depends on SPI_MASTER
1086	select SND_SOC_CS4271
1087	select REGMAP_SPI
1088
1089config SND_SOC_CS42XX8
1090	tristate
1091
1092config SND_SOC_CS42XX8_SPI
1093	tristate "Cirrus Logic CS42448/CS42888 CODEC (SPI)"
1094	depends on SPI_MASTER
1095	select SND_SOC_CS42XX8
1096	select REGMAP_SPI
1097
1098config SND_SOC_CS42XX8_I2C
1099	tristate "Cirrus Logic CS42448/CS42888 CODEC (I2C)"
1100	depends on I2C
1101	select SND_SOC_CS42XX8
1102	select REGMAP_I2C
1103
1104# Cirrus Logic CS43130 HiFi DAC
1105config SND_SOC_CS43130
1106	tristate "Cirrus Logic CS43130 CODEC"
1107	depends on I2C
1108
1109config SND_SOC_CS4341
1110	tristate "Cirrus Logic CS4341 CODEC"
1111	depends on SND_SOC_I2C_AND_SPI
1112	select REGMAP_I2C if I2C
1113	select REGMAP_SPI if SPI_MASTER
1114
1115# Cirrus Logic CS4349 HiFi DAC
1116config SND_SOC_CS4349
1117	tristate "Cirrus Logic CS4349 CODEC"
1118	depends on I2C
1119
1120config SND_SOC_CS47L15
1121	tristate
1122	depends on MFD_CS47L15
1123
1124config SND_SOC_CS47L24
1125	tristate
1126	depends on MFD_CS47L24 && MFD_ARIZONA
1127	select SND_SOC_WM_ADSP
1128
1129config SND_SOC_CS47L35
1130	tristate
1131	depends on MFD_CS47L35
1132
1133config SND_SOC_CS47L85
1134	tristate
1135	depends on MFD_CS47L85
1136
1137config SND_SOC_CS47L90
1138	tristate
1139	depends on MFD_CS47L90
1140
1141config SND_SOC_CS47L92
1142	tristate
1143	depends on MFD_CS47L92
1144
1145config SND_SOC_CS48L32
1146	tristate "Cirrus Logic CS48L32 audio DSP"
1147	depends on SPI_MASTER
1148	select REGMAP_SPI
1149	select SND_SOC_WM_ADSP
1150	help
1151	  Build the codec driver for the Cirrus Logic CS48L32 audio DSP.
1152
1153# Cirrus Logic Quad-Channel ADC
1154config SND_SOC_CS53L30
1155	tristate "Cirrus Logic CS53L30 CODEC"
1156	depends on I2C
1157
1158config SND_SOC_CS530X
1159	tristate
1160
1161config SND_SOC_CS530X_I2C
1162	tristate "Cirrus Logic CS530x ADCs (I2C)"
1163	depends on I2C
1164	select REGMAP
1165	select REGMAP_I2C
1166	select SND_SOC_CS530X
1167	help
1168	  Enable support for Cirrus Logic CS530X ADCs
1169	  with I2C control.
1170
1171config SND_SOC_CS530X_SPI
1172	tristate "Cirrus Logic CS530x ADCs (SPI)"
1173	depends on SPI_MASTER
1174	select REGMAP_SPI
1175	select SND_SOC_CS530X
1176	help
1177	  Enable support for Cirrus Logic CS530X ADCs
1178	  with SPI control.
1179
1180config SND_SOC_CX20442
1181	tristate
1182	depends on TTY
1183
1184config SND_SOC_CX2072X
1185	tristate "Conexant CX2072X CODEC"
1186	depends on I2C
1187	help
1188	  Enable support for Conexant CX20721 and CX20723 codec chips.
1189
1190config SND_SOC_JZ4740_CODEC
1191	depends on MACH_INGENIC || COMPILE_TEST
1192	depends on OF
1193	select REGMAP_MMIO
1194	tristate "Ingenic JZ4740 internal CODEC"
1195	help
1196	  Enable support for the internal CODEC found in the JZ4740 SoC
1197	  from Ingenic.
1198
1199	  This driver can also be built as a module. If so, the module
1200	  will be called snd-soc-jz4740-codec.
1201
1202config SND_SOC_JZ4725B_CODEC
1203	depends on MACH_INGENIC || COMPILE_TEST
1204	depends on OF
1205	select REGMAP
1206	tristate "Ingenic JZ4725B internal CODEC"
1207	help
1208	  Enable support for the internal CODEC found in the JZ4725B SoC
1209	  from Ingenic.
1210
1211	  This driver can also be built as a module. If so, the module
1212	  will be called snd-soc-jz4725b-codec.
1213
1214config SND_SOC_JZ4760_CODEC
1215	depends on MACH_INGENIC || COMPILE_TEST
1216	depends on OF
1217	select REGMAP
1218	tristate "Ingenic JZ4760 internal CODEC"
1219	help
1220	  Enable support for the internal CODEC found in the JZ4760 SoC
1221	  from Ingenic.
1222
1223	  This driver can also be built as a module. If so, the module
1224	  will be called snd-soc-jz4760-codec.
1225
1226config SND_SOC_JZ4770_CODEC
1227	depends on MACH_INGENIC || COMPILE_TEST
1228	depends on OF
1229	select REGMAP
1230	tristate "Ingenic JZ4770 internal CODEC"
1231	help
1232	  Enable support for the internal CODEC found in the JZ4770 SoC
1233	  from Ingenic.
1234
1235	  This driver can also be built as a module. If so, the module
1236	  will be called snd-soc-jz4770-codec.
1237
1238config SND_SOC_DA7210
1239	tristate
1240	depends on SND_SOC_I2C_AND_SPI
1241
1242config SND_SOC_DA7213
1243	tristate "Dialog DA7213 CODEC"
1244	depends on I2C
1245
1246config SND_SOC_DA7218
1247	tristate
1248	depends on I2C
1249
1250config SND_SOC_DA7219
1251	tristate
1252	depends on I2C
1253
1254config SND_SOC_DA732X
1255	tristate
1256	depends on I2C
1257
1258config SND_SOC_DA9055
1259	tristate
1260	depends on I2C
1261
1262config SND_SOC_DMIC
1263	tristate "Generic Digital Microphone CODEC"
1264	help
1265	  Enable support for the Generic Digital Microphone CODEC.
1266	  Select this if your sound card has DMICs.
1267
1268config SND_SOC_HDMI_CODEC
1269	tristate
1270	select SND_PCM_ELD
1271	select SND_PCM_IEC958
1272	select HDMI
1273
1274config SND_SOC_ES7134
1275	tristate "Everest Semi ES7134 CODEC"
1276
1277config SND_SOC_ES7241
1278	tristate "Everest Semi ES7241 CODEC"
1279
1280config SND_SOC_ES83XX_DSM_COMMON
1281	depends on ACPI
1282	tristate
1283
1284config SND_SOC_ES8311
1285	tristate "Everest Semi ES8311 CODEC"
1286	depends on I2C
1287
1288config SND_SOC_ES8316
1289	tristate "Everest Semi ES8316 CODEC"
1290	depends on I2C
1291
1292config SND_SOC_ES8323
1293	tristate "Everest Semi ES8323 CODEC"
1294	depends on I2C
1295
1296config SND_SOC_ES8326
1297	tristate "Everest Semi ES8326 CODEC"
1298	depends on I2C
1299
1300config SND_SOC_ES8328
1301	tristate
1302
1303config SND_SOC_ES8328_I2C
1304	tristate "Everest Semi ES8328 CODEC (I2C)"
1305	depends on I2C
1306	select SND_SOC_ES8328
1307
1308config SND_SOC_ES8328_SPI
1309	tristate "Everest Semi ES8328 CODEC (SPI)"
1310	depends on SPI_MASTER
1311	select SND_SOC_ES8328
1312
1313config SND_SOC_ES8375
1314	tristate "Everest Semi ES8375 CODEC"
1315	depends on I2C
1316
1317config SND_SOC_ES8389
1318	tristate "Everest Semi ES8389 CODEC"
1319	depends on I2C
1320
1321config SND_SOC_ES9039Q2M
1322	tristate "ESS Technology ES9039Q2M CODEC"
1323	depends on I2C
1324	select REGMAP_I2C
1325	help
1326	  Enable support for the ESS Technology ES9039Q2M, a 32-bit
1327	  two-channel audio DAC with an asynchronous sample rate converter,
1328	  supporting PCM, DSD, DoP and S/PDIF input. This driver covers the
1329	  I2C control interface, which the MODE pin selects.
1330
1331	  To compile this driver as a module, choose M here: the module
1332	  will be called snd-soc-es9039q2m.
1333
1334config SND_SOC_ES9356
1335	tristate "Everest Semi ES9356 CODEC SDW"
1336	depends on SND_SOC_SDCA
1337	depends on SOUNDWIRE
1338	select REGMAP_SOUNDWIRE
1339	select REGMAP_SOUNDWIRE_MBQ
1340
1341config SND_SOC_FRAMER
1342	tristate "Framer codec"
1343	depends on GENERIC_FRAMER
1344	help
1345	  Enable support for the framer codec.
1346	  The framer codec uses the generic framer infrastructure to transport
1347	  some audio data over an analog E1/T1/J1 line.
1348	  This codec allows to use some of the time slots available on the TDM
1349	  bus on which the framer is connected to transport the audio data.
1350
1351	  To compile this driver as a module, choose M here: the module
1352	  will be called snd-soc-framer.
1353
1354config SND_SOC_FS_AMP_LIB
1355	select CRC16
1356	tristate
1357
1358config SND_SOC_FS210X
1359	tristate 'FourSemi FS2104/5S digital audio amplifier'
1360	depends on I2C
1361	select GPIOLIB
1362	select REGMAP_I2C
1363	select SND_SOC_FS_AMP_LIB
1364	help
1365	  Enable support for FourSemi FS2104/5S digital audio amplifier.
1366	  The FS2104/5S are Inductor-Less, Stereo, Closed-Loop,
1367	  Digital Input Class-D Power Amplifiers with Enhanced Signal Processing.
1368	  The amplifiers support I2C and I2S/TDM.
1369
1370config SND_SOC_GTM601
1371	tristate 'GTM601 UMTS modem audio codec'
1372
1373config SND_SOC_HDAC_HDMI
1374	tristate
1375	select SND_HDA_EXT_CORE
1376	select SND_PCM_ELD
1377	select HDMI
1378
1379config SND_SOC_HDAC_HDA
1380	tristate
1381	select SND_HDA
1382
1383config SND_SOC_HDA
1384	tristate "HD-Audio codec driver"
1385	select SND_HDA_EXT_CORE
1386	select SND_HDA
1387	help
1388	  This enables HD-Audio codec support in ASoC subsystem. Compared
1389	  to SND_SOC_HDAC_HDA, driver's behavior is identical to HD-Audio
1390	  legacy solution - including the dynamic resource allocation
1391	  based on actual codec capabilities.
1392
1393config SND_SOC_ICS43432
1394	tristate "ICS43423 and compatible i2s microphones"
1395
1396config SND_SOC_IDT821034
1397	tristate "Renesas IDT821034 quad PCM codec"
1398	depends on SPI
1399	help
1400	  Enable support for the Renesas IDT821034 quad PCM with
1401	  programmable gain codec.
1402
1403	  To compile this driver as a module, choose M here: the module
1404	  will be called snd-soc-idt821034.
1405
1406config SND_SOC_INNO_RK3036
1407	tristate "Inno codec driver for RK3036 SoC"
1408	depends on ARCH_ROCKCHIP || COMPILE_TEST
1409	select REGMAP_MMIO
1410
1411config SND_SOC_ISABELLE
1412	tristate
1413	depends on I2C
1414
1415config SND_SOC_LM49453
1416	tristate
1417	depends on I2C
1418
1419config SND_SOC_LOCHNAGAR_SC
1420	tristate "Lochnagar Sound Card"
1421	depends on MFD_LOCHNAGAR || COMPILE_TEST
1422	help
1423	  This driver support the sound card functionality of the Cirrus
1424	  Logic Lochnagar audio development board.
1425
1426config SND_SOC_MADERA
1427	tristate
1428	select SND_SOC_WM_ADSP
1429	default y if SND_SOC_CS47L15=y
1430	default y if SND_SOC_CS47L35=y
1431	default y if SND_SOC_CS47L85=y
1432	default y if SND_SOC_CS47L90=y
1433	default y if SND_SOC_CS47L92=y
1434	default m if SND_SOC_CS47L15=m
1435	default m if SND_SOC_CS47L35=m
1436	default m if SND_SOC_CS47L85=m
1437	default m if SND_SOC_CS47L90=m
1438	default m if SND_SOC_CS47L92=m
1439
1440config SND_SOC_MAX98088
1441	tristate "Maxim MAX98088/9 Low-Power, Stereo Audio Codec"
1442	depends on I2C
1443
1444config SND_SOC_MAX98090
1445	tristate "Maxim MAX98090 CODEC"
1446	depends on I2C
1447
1448config SND_SOC_MAX98095
1449	tristate
1450	depends on I2C
1451
1452config SND_SOC_MAX98357A
1453	tristate "Maxim MAX98357A CODEC"
1454
1455config SND_SOC_MAX98371
1456	tristate
1457	depends on I2C
1458
1459config SND_SOC_MAX98504
1460	tristate "Maxim MAX98504 speaker amplifier"
1461	depends on I2C
1462
1463config SND_SOC_MAX9867
1464	tristate "Maxim MAX9867 CODEC"
1465	depends on I2C
1466
1467config SND_SOC_MAX98925
1468	tristate
1469	depends on I2C
1470
1471config SND_SOC_MAX98926
1472	tristate
1473	depends on I2C
1474
1475config SND_SOC_MAX98927
1476	tristate "Maxim Integrated MAX98927 Speaker Amplifier"
1477	depends on I2C
1478
1479config SND_SOC_MAX98520
1480	tristate "Maxim Integrated MAX98520 Speaker Amplifier"
1481	depends on I2C
1482	help
1483	  Enable support for Maxim Integrated MAX98520 audio
1484	  amplifier, which implements a tripler charge pump
1485	  based boost converter and supports sample rates of
1486	  8KHz to 192KHz.
1487
1488	  To compile this driver as a module, choose M here.
1489
1490config SND_SOC_MAX98363
1491	tristate "Analog Devices MAX98363 Soundwire Speaker Amplifier"
1492	depends on SOUNDWIRE
1493	select REGMAP_SOUNDWIRE
1494	help
1495	  Enable support for Analog Devices MAX98363 Soundwire
1496	  amplifier. MAX98363 supports the MIPI SoundWire v1.2
1497	  compatible interface for audio and control data.
1498	  This amplifier does not support I2C and I2S.
1499
1500config SND_SOC_MAX98373
1501	tristate
1502
1503config SND_SOC_MAX98373_I2C
1504	tristate "Maxim Integrated MAX98373 Speaker Amplifier"
1505	depends on I2C
1506	select SND_SOC_MAX98373
1507
1508config SND_SOC_MAX98373_SDW
1509	tristate "Maxim Integrated MAX98373 Speaker Amplifier - SDW"
1510	depends on SOUNDWIRE
1511	select SND_SOC_MAX98373
1512	select REGMAP_SOUNDWIRE
1513	help
1514	  Enable support for Maxim Integrated MAX98373 Soundwire
1515	  amplifier. MAX98373 supports either the MIPI SoundWire
1516	  compatible interface for audio and control data, or
1517	  the PCM interface for audio data and a standard I2C
1518	  interface for control data. Select this if MAX98373 is
1519	  connected via soundwire.
1520
1521config SND_SOC_MAX98388
1522	tristate "Analog Devices MAX98388 Speaker Amplifier"
1523	depends on I2C
1524	help
1525	  Enable support for Analog Devices MAX98388 audio
1526	  amplifier. The device provides a PCM interface for
1527	  audio data and a standard I2C interface for control
1528	  data communication.
1529
1530config SND_SOC_MAX98390
1531	tristate "Maxim Integrated MAX98390 Speaker Amplifier"
1532	depends on I2C
1533
1534config SND_SOC_MAX98396
1535	tristate "Analog Devices MAX98396 Speaker Amplifier"
1536	depends on I2C
1537	help
1538	  Enable support for Analog Devices MAX98396 audio
1539	  amplifier. The device provides a PCM interface for
1540	  audio data and a standard I2C interface for control
1541	  data communication.
1542
1543config SND_SOC_MAX9850
1544	tristate
1545	depends on I2C
1546
1547config SND_SOC_MAX9860
1548	tristate "Maxim MAX9860 Mono Audio Voice Codec"
1549	depends on I2C
1550	select REGMAP_I2C
1551
1552config SND_SOC_MSM8916_WCD_ANALOG
1553	tristate "Qualcomm MSM8916 WCD Analog Codec"
1554	depends on SPMI || COMPILE_TEST
1555
1556config SND_SOC_MSM8916_WCD_DIGITAL
1557	tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
1558	select REGMAP_MMIO
1559
1560config SND_SOC_PCM1681
1561	tristate "Texas Instruments PCM1681 CODEC"
1562	depends on I2C
1563
1564config SND_SOC_PCM1754
1565	tristate "Texas Instruments PCM1754 CODEC"
1566	depends on GPIOLIB
1567
1568config SND_SOC_PCM1789
1569	tristate
1570
1571config SND_SOC_PCM1789_I2C
1572	tristate "Texas Instruments PCM1789 CODEC (I2C)"
1573	depends on I2C
1574	select SND_SOC_PCM1789
1575	help
1576	  Enable support for Texas Instruments PCM1789 CODEC.
1577	  Select this if your PCM1789 is connected via an I2C bus.
1578
1579config SND_SOC_PCM179X
1580	tristate
1581
1582config SND_SOC_PCM179X_I2C
1583	tristate "Texas Instruments PCM179X CODEC (I2C)"
1584	depends on I2C
1585	select SND_SOC_PCM179X
1586	help
1587	  Enable support for Texas Instruments PCM179x CODEC.
1588	  Select this if your PCM179x is connected via an I2C bus.
1589
1590config SND_SOC_PCM179X_SPI
1591	tristate "Texas Instruments PCM179X CODEC (SPI)"
1592	depends on SPI_MASTER
1593	select SND_SOC_PCM179X
1594	help
1595	  Enable support for Texas Instruments PCM179x CODEC.
1596	  Select this if your PCM179x is connected via an SPI bus.
1597
1598config SND_SOC_PCM186X
1599	tristate
1600
1601config SND_SOC_PCM186X_I2C
1602	tristate "Texas Instruments PCM186x CODECs - I2C"
1603	depends on I2C
1604	select SND_SOC_PCM186X
1605	select REGMAP_I2C
1606
1607config SND_SOC_PCM186X_SPI
1608	tristate "Texas Instruments PCM186x CODECs - SPI"
1609	depends on SPI_MASTER
1610	select SND_SOC_PCM186X
1611	select REGMAP_SPI
1612
1613config SND_SOC_PCM3008
1614	tristate
1615
1616config SND_SOC_PCM3060
1617	tristate
1618
1619config SND_SOC_PCM3060_I2C
1620	tristate "Texas Instruments PCM3060 CODEC - I2C"
1621	depends on I2C
1622	select SND_SOC_PCM3060
1623	select REGMAP_I2C
1624
1625config SND_SOC_PCM3060_SPI
1626	tristate "Texas Instruments PCM3060 CODEC - SPI"
1627	depends on SPI_MASTER
1628	select SND_SOC_PCM3060
1629	select REGMAP_SPI
1630
1631config SND_SOC_PCM3168A
1632	tristate
1633
1634config SND_SOC_PCM3168A_I2C
1635	tristate "Texas Instruments PCM3168A CODEC - I2C"
1636	depends on I2C
1637	select SND_SOC_PCM3168A
1638	select REGMAP_I2C
1639
1640config SND_SOC_PCM3168A_SPI
1641	tristate "Texas Instruments PCM3168A CODEC - SPI"
1642	depends on SPI_MASTER
1643	select SND_SOC_PCM3168A
1644	select REGMAP_SPI
1645
1646config SND_SOC_PCM5102A
1647	tristate "Texas Instruments PCM5102A CODEC"
1648
1649config SND_SOC_PCM512x
1650	tristate
1651
1652config SND_SOC_PCM512x_I2C
1653	tristate "Texas Instruments PCM512x CODECs - I2C"
1654	depends on I2C
1655	select SND_SOC_PCM512x
1656	select REGMAP_I2C
1657
1658config SND_SOC_PCM512x_SPI
1659	tristate "Texas Instruments PCM512x CODECs - SPI"
1660	depends on SPI_MASTER
1661	select SND_SOC_PCM512x
1662	select REGMAP_SPI
1663
1664config SND_SOC_PCM6240
1665	tristate "Texas Instruments PCM6240 Family Audio chips based on I2C"
1666	depends on I2C
1667	help
1668	  Enable support for Texas Instruments PCM6240 Family Audio chips.
1669	  Note the PCM6240 driver implements a flexible and configurable
1670	  setting for register and filter coefficients, to one, two or
1671	  even multiple PCM6240 Family Audio chips.
1672
1673config SND_SOC_PEB2466
1674	tristate "Infineon PEB2466 quad PCM codec"
1675	depends on SPI
1676	select REGMAP_SPI
1677	help
1678	  Enable support for the Infineon PEB2466 quad PCM codec,
1679	  also named SICOFI 4-uC.
1680
1681	  To compile this driver as a module, choose M here: the module
1682	  will be called snd-soc-peb2466.
1683
1684config SND_SOC_PM4125
1685	depends on SND_SOC_PM4125_SDW
1686	select SND_SOC_WCD_COMMON
1687	tristate
1688	depends on SOUNDWIRE || !SOUNDWIRE
1689
1690config SND_SOC_PM4125_SDW
1691	tristate "PM4125 audio codec - SDW"
1692	select SND_SOC_PM4125
1693	select SND_SOC_WCD_MBHC
1694	select REGMAP_IRQ
1695	select SND_SOC_WCD_COMMON
1696	depends on SOUNDWIRE
1697	select REGMAP_SOUNDWIRE
1698	help
1699	  The PMIC PM4125 has an in-built audio codec IC used with SoCs
1700	  like QCM2290, and it is connected via soundwire and SPMI.
1701	  To compile this codec driver say Y or m.
1702
1703config SND_SOC_RK3308
1704	tristate "Rockchip RK3308 audio CODEC"
1705	depends on ARM64 || COMPILE_TEST
1706	depends on ARCH_ROCKCHIP || COMPILE_TEST
1707	select REGMAP_MMIO
1708	help
1709	  This is a device driver for the audio codec embedded in the
1710	  Rockchip RK3308 SoC.
1711
1712	  It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported
1713	  sampling rate is 192 kHz.
1714
1715config SND_SOC_RK3328
1716	tristate "Rockchip RK3328 audio CODEC"
1717	depends on ARCH_ROCKCHIP || COMPILE_TEST
1718	select REGMAP_MMIO
1719
1720config SND_SOC_RK817
1721	tristate "Rockchip RK817 audio CODEC"
1722	depends on MFD_RK8XX || COMPILE_TEST
1723
1724config SND_SOC_RL6231
1725	tristate
1726	default y if SND_SOC_RT5514=y
1727	default y if SND_SOC_RT5616=y
1728	default y if SND_SOC_RT5640=y
1729	default y if SND_SOC_RT5645=y
1730	default y if SND_SOC_RT5651=y
1731	default y if SND_SOC_RT5659=y
1732	default y if SND_SOC_RT5660=y
1733	default y if SND_SOC_RT5663=y
1734	default y if SND_SOC_RT5665=y
1735	default y if SND_SOC_RT5668=y
1736	default y if SND_SOC_RT5670=y
1737	default y if SND_SOC_RT5677=y
1738	default y if SND_SOC_RT5682=y
1739	default y if SND_SOC_RT1011=y
1740	default y if SND_SOC_RT1015=y
1741	default y if SND_SOC_RT1015P=y
1742	default y if SND_SOC_RT1019=y
1743	default y if SND_SOC_RT1305=y
1744	default y if SND_SOC_RT1308=y
1745	default m if SND_SOC_RT5514=m
1746	default m if SND_SOC_RT5616=m
1747	default m if SND_SOC_RT5640=m
1748	default m if SND_SOC_RT5645=m
1749	default m if SND_SOC_RT5651=m
1750	default m if SND_SOC_RT5659=m
1751	default m if SND_SOC_RT5660=m
1752	default m if SND_SOC_RT5663=m
1753	default m if SND_SOC_RT5665=m
1754	default m if SND_SOC_RT5668=m
1755	default m if SND_SOC_RT5670=m
1756	default m if SND_SOC_RT5677=m
1757	default m if SND_SOC_RT5682=m
1758	default m if SND_SOC_RT1011=m
1759	default m if SND_SOC_RT1015=m
1760	default m if SND_SOC_RT1015P=m
1761	default m if SND_SOC_RT1019=m
1762	default m if SND_SOC_RT1305=m
1763	default m if SND_SOC_RT1308=m
1764
1765config SND_SOC_RT_SDW_COMMON
1766	tristate
1767	default y if SND_SOC_RT721_SDCA_SDW=y
1768	default m if SND_SOC_RT721_SDCA_SDW=m
1769
1770config SND_SOC_RL6347A
1771	tristate
1772	default y if SND_SOC_RT274=y
1773	default y if SND_SOC_RT286=y
1774	default y if SND_SOC_RT298=y
1775	default m if SND_SOC_RT274=m
1776	default m if SND_SOC_RT286=m
1777	default m if SND_SOC_RT298=m
1778
1779config SND_SOC_RT274
1780	tristate
1781	depends on I2C
1782
1783config SND_SOC_RT286
1784	tristate
1785	depends on I2C
1786
1787config SND_SOC_RT298
1788	tristate
1789	depends on I2C
1790
1791config SND_SOC_RT1011
1792	tristate
1793	depends on I2C
1794
1795config SND_SOC_RT1015
1796	tristate
1797	depends on I2C
1798
1799config SND_SOC_RT1015P
1800	tristate
1801
1802config SND_SOC_RT1016
1803	tristate
1804	depends on I2C
1805
1806config SND_SOC_RT1017_SDCA_SDW
1807	tristate "Realtek RT1017 SDCA Codec - SDW"
1808	depends on SOUNDWIRE
1809	select REGMAP_SOUNDWIRE
1810
1811config SND_SOC_RT1019
1812	tristate
1813	depends on I2C
1814
1815config SND_SOC_RT1305
1816	tristate
1817	depends on I2C
1818
1819config SND_SOC_RT1308
1820	tristate
1821	depends on I2C
1822
1823config SND_SOC_RT1308_SDW
1824	tristate "Realtek RT1308 Codec - SDW"
1825	depends on I2C && SOUNDWIRE
1826	select REGMAP_SOUNDWIRE
1827
1828config SND_SOC_RT1316_SDW
1829	tristate "Realtek RT1316 Codec - SDW"
1830	depends on SOUNDWIRE
1831	select REGMAP_SOUNDWIRE
1832
1833config SND_SOC_RT1318
1834	tristate
1835	depends on I2C
1836
1837config SND_SOC_RT1318_SDW
1838	tristate "Realtek RT1318 Codec - SDW"
1839	depends on SOUNDWIRE
1840	select REGMAP_SOUNDWIRE
1841
1842config SND_SOC_RT1320_SDW
1843	tristate "Realtek RT1320 Codec - SDW"
1844	depends on SOUNDWIRE
1845	select REGMAP_SOUNDWIRE
1846	select REGMAP_SOUNDWIRE_MBQ
1847
1848config SND_SOC_RT5514
1849	tristate
1850	depends on I2C
1851
1852config SND_SOC_RT5514_SPI
1853	tristate
1854	depends on SPI_MASTER
1855
1856config SND_SOC_RT5514_SPI_BUILTIN
1857	bool # force RT5514_SPI to be built-in to avoid link errors
1858	default SND_SOC_RT5514=y && SND_SOC_RT5514_SPI=m
1859
1860config SND_SOC_RT5575
1861	tristate "Realtek ALC5575 Codec - I2C"
1862	depends on I2C
1863
1864config SND_SOC_RT5575_SPI
1865	bool "Realtek ALC5575 Codec - SPI"
1866	depends on SPI_MASTER && I2C
1867	depends on SND_SOC_RT5575
1868	depends on SPI_MASTER=y || SND_SOC_RT5575=m
1869
1870config SND_SOC_RT5616
1871	tristate "Realtek RT5616 CODEC"
1872	depends on I2C
1873
1874config SND_SOC_RT5631
1875	tristate "Realtek ALC5631/RT5631 CODEC"
1876	depends on I2C
1877
1878config SND_SOC_RT5640
1879	tristate "Realtek RT5640/RT5639 Codec"
1880	depends on I2C
1881
1882config SND_SOC_RT5645
1883	tristate "Realtek RT5645/RT5650 Codec"
1884	depends on I2C
1885
1886config SND_SOC_RT5651
1887	tristate
1888	depends on I2C
1889
1890config SND_SOC_RT5659
1891	tristate "Realtek RT5658/RT5659 Codec"
1892	depends on I2C
1893
1894config SND_SOC_RT5660
1895	tristate
1896	depends on I2C
1897
1898config SND_SOC_RT5663
1899	tristate
1900	depends on I2C
1901
1902config SND_SOC_RT5665
1903	tristate
1904	depends on I2C
1905
1906config SND_SOC_RT5668
1907	tristate
1908	depends on I2C
1909
1910config SND_SOC_RT5670
1911	tristate
1912	depends on I2C
1913
1914config SND_SOC_RT5677
1915	tristate "Realtek RT5677 Codec"
1916	depends on I2C
1917	select REGMAP_I2C
1918	select REGMAP_IRQ
1919
1920config SND_SOC_RT5677_SPI
1921	tristate
1922	default SND_SOC_RT5677 && SPI
1923
1924config SND_SOC_RT5682
1925	tristate
1926
1927config SND_SOC_RT5682_I2C
1928	tristate
1929	depends on I2C
1930	select SND_SOC_RT5682
1931
1932config SND_SOC_RT5682_SDW
1933	tristate "Realtek RT5682 Codec - SDW"
1934	depends on SOUNDWIRE
1935	select SND_SOC_RT5682
1936	select REGMAP_SOUNDWIRE
1937
1938config SND_SOC_RT5682S
1939	tristate
1940	depends on I2C
1941
1942config SND_SOC_RT700
1943	tristate
1944
1945config SND_SOC_RT700_SDW
1946	tristate "Realtek RT700 Codec - SDW"
1947	depends on SOUNDWIRE
1948	select SND_SOC_RT700
1949	select REGMAP_SOUNDWIRE
1950
1951config SND_SOC_RT711
1952	tristate
1953
1954config SND_SOC_RT711_SDW
1955	tristate "Realtek RT711 Codec - SDW"
1956	depends on SOUNDWIRE
1957	select SND_SOC_RT711
1958	select REGMAP_SOUNDWIRE
1959
1960config SND_SOC_RT711_SDCA_SDW
1961	tristate "Realtek RT711 SDCA Codec - SDW"
1962	depends on SOUNDWIRE
1963	select REGMAP_SOUNDWIRE
1964	select REGMAP_SOUNDWIRE_MBQ
1965
1966config SND_SOC_RT712_SDCA_SDW
1967	tristate "Realtek RT712 SDCA Codec - SDW"
1968	depends on SOUNDWIRE
1969	select REGMAP_SOUNDWIRE
1970	select REGMAP_SOUNDWIRE_MBQ
1971
1972config SND_SOC_RT712_SDCA_DMIC_SDW
1973	tristate "Realtek RT712 SDCA DMIC Codec - SDW"
1974	depends on SOUNDWIRE
1975	select REGMAP_SOUNDWIRE
1976	select REGMAP_SOUNDWIRE_MBQ
1977
1978config SND_SOC_RT721_SDCA_SDW
1979	tristate "Realtek RT721 SDCA Codec - SDW"
1980	depends on SOUNDWIRE
1981	select REGMAP_SOUNDWIRE
1982	select REGMAP_SOUNDWIRE_MBQ
1983
1984config SND_SOC_RT722_SDCA_SDW
1985	tristate "Realtek RT722 SDCA Codec - SDW"
1986	depends on SOUNDWIRE
1987	select REGMAP_SOUNDWIRE
1988	select REGMAP_SOUNDWIRE_MBQ
1989
1990config SND_SOC_RT715
1991	tristate
1992
1993config SND_SOC_RT715_SDW
1994	tristate "Realtek RT715 Codec - SDW"
1995	depends on SOUNDWIRE
1996	select SND_SOC_RT715
1997	select REGMAP_SOUNDWIRE
1998
1999config SND_SOC_RT715_SDCA_SDW
2000	tristate "Realtek RT715 SDCA Codec - SDW"
2001	depends on SOUNDWIRE
2002	select REGMAP_SOUNDWIRE
2003	select REGMAP_SOUNDWIRE_MBQ
2004
2005config SND_SOC_RT766_SDCA_SDW
2006	tristate "Realtek RT766 SDCA Codec - SDW"
2007	depends on SOUNDWIRE
2008	depends on SND_SOC_SDCA_CLASS
2009	select REGMAP_SOUNDWIRE
2010	select REGMAP_SOUNDWIRE_MBQ
2011
2012config SND_SOC_RT9120
2013	tristate "Richtek RT9120 Stereo Class-D Amplifier"
2014	depends on I2C
2015	select REGMAP_I2C
2016	help
2017	  Enable support for Richtek RT9120 20W, stereo, inductor-less,
2018	  high-efficiency Class-D audio amplifier.
2019
2020config SND_SOC_RT9123
2021	tristate "Richtek RT9123 Mono Class-D Amplifier"
2022	depends on I2C
2023	select REGMAP_I2C
2024	help
2025	  Enable support for the I2C control mode of Richtek RT9123 3.2W mono
2026	  Class-D audio amplifier.
2027
2028config SND_SOC_RT9123P
2029	tristate "Richtek RT9123P Mono Class-D Amplifier"
2030	help
2031	  Enable support for the HW control mode of Richtek RT9123P 3.2W mono
2032	  Class-D audio amplifier.
2033
2034config SND_SOC_RTQ9124
2035	tristate "Richtek RTQ9124 Mono Class-D Amplifier"
2036	depends on I2C
2037	select REGMAP
2038	help
2039	  Enable support for Richtek RTQ9124 1x30W digital input automotive
2040	  audio amplifier with current sense and real-time load diagnostics.
2041
2042config SND_SOC_RTQ9128
2043	tristate "Richtek RTQ9128 45W Digital Input Amplifier"
2044	depends on I2C
2045	select REGMAP
2046	help
2047	  Enable support for Richtek RTQ9128 digital input 4-channel
2048	  automotive audio amplifier.  It is a ultra-low output noise,
2049	  high-efficiency, four-channel class-D audio power amplifier
2050	  that can deliver over 87% power efficienty at 4x75W into 4Ohm,
2051	  25V supply in automotive applications.
2052
2053	  To compile this driver as a module, choose M here: the module
2054	  will be called snd-soc-rtq9128.
2055
2056config SND_SOC_SDW_MOCKUP
2057	tristate "SoundWire mockup codec"
2058	depends on EXPERT
2059	depends on SOUNDWIRE
2060	help
2061	  This option enables a SoundWire mockup codec that does not drive the
2062	  bus, take part in the command/command protocol or generate data on a
2063	  Source port.
2064	  This option is only intended to be used for tests on a device
2065	  with a connector, in combination with a bus analyzer, or to test new
2066	  topologies that differ from the actual hardware layout.
2067	  This mockup device could be totally virtual but could also be a
2068	  real physical one with one key restriction: it is not allowed by the
2069	  SoundWire specification to be configured via a sideband mechanism and
2070	  generate audio data for capture. However, nothing prevents such a
2071	  peripheral device from snooping the bus.
2072
2073#Freescale sgtl5000 codec
2074config SND_SOC_SGTL5000
2075	tristate "Freescale SGTL5000 CODEC"
2076	depends on I2C
2077
2078config SND_SOC_SI476X
2079	tristate
2080	depends on MFD_SI476X_CORE
2081
2082config SND_SOC_SIGMADSP
2083	tristate
2084	select CRC32
2085
2086config SND_SOC_SIGMADSP_I2C
2087	tristate
2088	select SND_SOC_SIGMADSP
2089
2090config SND_SOC_SIGMADSP_REGMAP
2091	tristate
2092	select SND_SOC_SIGMADSP
2093
2094config SND_SOC_SIMPLE_AMPLIFIER
2095	tristate "Simple Audio Amplifier"
2096
2097config SND_SOC_SIMPLE_MUX
2098	tristate "Simple Audio Mux"
2099	depends on GPIOLIB
2100
2101config SND_SOC_SMA1303
2102	tristate "Iron Device SMA1303 Audio Amplifier"
2103	depends on I2C
2104	help
2105	  Enable support for Iron Device SMA1303 Boosted Class-D amplifier
2106
2107config SND_SOC_SMA1307
2108	tristate "Iron Device SMA1307 Audio Amplifier"
2109	depends on I2C
2110	help
2111	  Enable support for Iron Device SMA1307 boosted digital speaker
2112	  amplifier with feedback-loop.
2113	  If you are using a system with an SMA1307 amplifier connected
2114	  via I2C, enable this option.
2115
2116config SND_SOC_SN624X_SDCA_SDW
2117	tristate "Senary SN624x SDCA Codec - SDW"
2118	depends on SND_SOC_SDCA
2119	depends on SOUNDWIRE
2120	select REGMAP_SOUNDWIRE
2121	select REGMAP_SOUNDWIRE_MBQ
2122	help
2123	  Enable support for Senary SN624x SDCA SoundWire codecs.
2124	  These multi-function devices provide headset jack, speaker
2125	  amplifier, and digital microphone endpoints on the SoundWire
2126	  bus.
2127
2128config SND_SOC_SPDIF
2129	tristate "S/PDIF CODEC"
2130
2131config SND_SOC_SRC4XXX_I2C
2132	tristate "Texas Instruments SRC4XXX DIR/DIT and SRC codecs"
2133	depends on I2C
2134	select SND_SOC_SRC4XXX
2135	help
2136	  Enable support for the TI SRC4XXX family of codecs. These include the
2137	  scr4392 which has digital receivers, transmitters, and
2138	  a sample rate converter, including numerous ports.
2139
2140config SND_SOC_SRC4XXX
2141	tristate
2142
2143config SND_SOC_SSM2305
2144	tristate "Analog Devices SSM2305 Class-D Amplifier"
2145	help
2146	  Enable support for Analog Devices SSM2305 filterless
2147	  high-efficiency mono Class-D audio power amplifiers.
2148
2149config SND_SOC_SSM2518
2150	tristate "Analog Devices SSM2518 Class-D Amplifier"
2151	depends on I2C
2152
2153config SND_SOC_SSM2602
2154	tristate
2155
2156config SND_SOC_SSM2602_SPI
2157	tristate "Analog Devices SSM2602 CODEC - SPI"
2158	depends on SPI_MASTER
2159	select SND_SOC_SSM2602
2160	select REGMAP_SPI
2161
2162config SND_SOC_SSM2602_I2C
2163	tristate "Analog Devices SSM2602 CODEC - I2C"
2164	depends on I2C
2165	select SND_SOC_SSM2602
2166	select REGMAP_I2C
2167
2168config SND_SOC_SSM3515
2169	tristate "Analog Devices SSM3515 amplifier driver"
2170	select REGMAP_I2C
2171	depends on I2C
2172	depends on OF
2173
2174config SND_SOC_SSM4567
2175	tristate "Analog Devices ssm4567 amplifier driver support"
2176	depends on I2C
2177
2178config SND_SOC_STA32X
2179	tristate "STA326, STA328 and STA329 speaker amplifier"
2180	depends on I2C
2181	select REGMAP_I2C
2182
2183config SND_SOC_STA350
2184	tristate "STA350 speaker amplifier"
2185	depends on I2C
2186
2187config SND_SOC_STA529
2188	tristate
2189	depends on I2C
2190
2191config SND_SOC_STAC9766
2192	tristate
2193	depends on SND_SOC_AC97_BUS
2194	select REGMAP_AC97
2195
2196config SND_SOC_STI_SAS
2197	tristate "codec Audio support for STI SAS codec"
2198
2199config SND_SOC_TAC5XX2_SDW
2200	tristate "Texas Instruments TAC5XX2 SoundWire Smart Amplifier"
2201	depends on SOUNDWIRE
2202	depends on SND_SOC_SDCA
2203	select REGMAP_SOUNDWIRE_MBQ
2204	help
2205	  This option enables support for Texas Instruments TAC5XX2 family
2206	  of SoundWire Smart Amplifiers. This includes TAC5572, TAC5672,
2207	  TAC5682 and TAS2883. To compile this driver as a module, choose
2208	  M here: the module will be called snd-soc-tac5xx2.
2209
2210config SND_SOC_TAS2552
2211	tristate "Texas Instruments TAS2552 Mono Audio amplifier"
2212	depends on I2C
2213
2214config SND_SOC_TAS2562
2215	tristate "Texas Instruments TAS2562 Mono Audio amplifier"
2216	depends on I2C
2217
2218config SND_SOC_TAS2764
2219	tristate "Texas Instruments TAS2764 Mono Audio amplifier"
2220	depends on I2C
2221
2222config SND_SOC_TAS2770
2223	tristate "Texas Instruments TAS2770 speaker amplifier"
2224	depends on I2C
2225
2226config SND_SOC_TAS2780
2227	tristate "Texas Instruments TAS2780 Mono Audio amplifier"
2228	depends on I2C
2229	help
2230	  Enable support for Texas Instruments TAS2780 high-efficiency
2231	  digital input mono Class-D audio power amplifiers.
2232
2233config SND_SOC_TAS2781_COMLIB
2234	tristate
2235
2236config SND_SOC_TAS2781_COMLIB_I2C
2237	depends on I2C
2238	select CRC8
2239	select REGMAP_I2C
2240	tristate
2241
2242config SND_SOC_TAS2781_FMWLIB
2243	select SND_SOC_TAS2781_COMLIB
2244	select CRC8
2245	tristate
2246	default n
2247
2248config SND_SOC_TAS2781_I2C
2249	tristate "Texas Instruments TAS2781 speaker amplifier based on I2C"
2250	depends on I2C
2251	select SND_SOC_TAS2781_COMLIB_I2C
2252	select SND_SOC_TAS2781_FMWLIB
2253	help
2254	  Enable support for Texas Instruments TAS2781 Smart Amplifier
2255	  Digital input mono Class-D and DSP-inside audio power amplifiers.
2256	  Note the TAS2781 driver implements a flexible and configurable
2257	  algo coefficient setting, for one, two or even multiple TAS2781
2258	  chips.
2259
2260config SND_SOC_TAS2783_SDW
2261	tristate "Texas Instruments TAS2783 speaker amplifier (sdw)"
2262	depends on SOUNDWIRE
2263	depends on SND_SOC_SDCA
2264	depends on EFI
2265	select REGMAP_SOUNDWIRE
2266	select REGMAP_SOUNDWIRE_MBQ
2267	select CRC32
2268	help
2269	  Enable support for Texas Instruments TAS2783A Digital input
2270	  mono Class-D and DSP-inside audio power amplifiers. TAS2783
2271	  driver implements a flexible and configurable algorithm
2272	  cofficient setting, for one, two or multiple TAS2783 chips.
2273
2274config SND_SOC_TAS5086
2275	tristate "Texas Instruments TAS5086 speaker amplifier"
2276	depends on I2C
2277
2278config SND_SOC_TAS571X
2279	tristate "Texas Instruments TAS571x power amplifiers"
2280	depends on I2C
2281	help
2282	  Enable support for Texas Instruments TAS5707, TAS5711, TAS5717,
2283	  TAS5719 and TAS5721 power amplifiers
2284
2285config SND_SOC_TAS5720
2286	tristate "Texas Instruments TAS5720 Mono Audio amplifier"
2287	depends on I2C
2288	help
2289	  Enable support for Texas Instruments TAS5720L/M high-efficiency mono
2290	  Class-D audio power amplifiers.
2291
2292config SND_SOC_TAS5805M
2293	tristate "Texas Instruments TAS5805M speaker amplifier"
2294	depends on I2C
2295	help
2296	  Enable support for Texas Instruments TAS5805M Class-D
2297	  amplifiers. This is a speaker amplifier with an integrated
2298	  DSP. DSP configuration for each instance needs to be supplied
2299	  via a device-tree attribute.
2300
2301config SND_SOC_TAS6424
2302	tristate "Texas Instruments TAS6424 Quad-Channel Audio amplifier"
2303	depends on I2C
2304	help
2305	  Enable support for Texas Instruments TAS6424 high-efficiency
2306	  digital input quad-channel Class-D audio power amplifiers.
2307
2308config SND_SOC_TAS675X
2309	tristate "Texas Instruments TAS675x Quad-Channel Audio Amplifier"
2310	depends on I2C
2311	select REGMAP_I2C
2312	help
2313	  Enable support for Texas Instruments TAS675x quad-channel Class-D
2314	  audio power amplifiers (TAS6754, TAS67524). The devices support I2S
2315	  and TDM interfaces with real-time voltage and current sense feedback
2316	  via SDOUT, and provide DC/AC/real-time load diagnostics for speaker
2317	  monitoring.
2318
2319config SND_SOC_TDA7419
2320	tristate "ST TDA7419 audio processor"
2321	depends on I2C
2322	select REGMAP_I2C
2323
2324config SND_SOC_TFA9879
2325	tristate "NXP Semiconductors TFA9879 amplifier"
2326	depends on I2C
2327
2328config SND_SOC_TFA989X
2329	tristate "NXP/Goodix TFA989X (TFA1) amplifiers"
2330	depends on I2C
2331	select REGMAP_I2C
2332	help
2333	  Enable support for NXP (now Goodix) TFA989X (TFA1 family) speaker
2334	  amplifiers, e.g. TFA9895.
2335	  Note that the driver currently bypasses the built-in "CoolFlux DSP"
2336	  and does not support (hardware) volume control.
2337
2338config SND_SOC_TLV320ADC3XXX
2339	tristate "Texas Instruments TLV320ADC3001/3101 audio ADC"
2340	depends on I2C
2341	depends on GPIOLIB
2342	help
2343	  Enable support for Texas Instruments TLV320ADC3001 and TLV320ADC3101
2344	  ADCs.
2345
2346config SND_SOC_TLV320AIC23
2347	tristate
2348
2349config SND_SOC_TLV320AIC23_I2C
2350	tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
2351	depends on I2C
2352	select SND_SOC_TLV320AIC23
2353
2354config SND_SOC_TLV320AIC23_SPI
2355	tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
2356	depends on SPI_MASTER
2357	select SND_SOC_TLV320AIC23
2358
2359config SND_SOC_TLV320AIC26
2360	tristate
2361	depends on SPI
2362
2363config SND_SOC_TLV320AIC31XX
2364	tristate "Texas Instruments TLV320AIC31xx CODECs"
2365	depends on I2C
2366	select REGMAP_I2C
2367
2368config SND_SOC_TLV320AIC32X4
2369	tristate
2370	depends on COMMON_CLK
2371
2372config SND_SOC_TLV320AIC32X4_I2C
2373	tristate "Texas Instruments TLV320AIC32x4 audio CODECs - I2C"
2374	depends on I2C
2375	depends on COMMON_CLK
2376	select SND_SOC_TLV320AIC32X4
2377
2378config SND_SOC_TLV320AIC32X4_SPI
2379	tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
2380	depends on SPI_MASTER
2381	depends on COMMON_CLK
2382	select SND_SOC_TLV320AIC32X4
2383
2384config SND_SOC_TLV320AIC3X
2385	tristate
2386
2387config SND_SOC_TLV320AIC3X_I2C
2388	tristate "Texas Instruments TLV320AIC3x audio CODECs - I2C"
2389	depends on I2C
2390	select SND_SOC_TLV320AIC3X
2391	select REGMAP_I2C
2392
2393config SND_SOC_TLV320AIC3X_SPI
2394	tristate "Texas Instruments TLV320AIC3x audio CODECs - SPI"
2395	depends on SPI_MASTER
2396	select SND_SOC_TLV320AIC3X
2397	select REGMAP_SPI
2398
2399config SND_SOC_TLV320DAC33
2400	tristate
2401	depends on I2C
2402	depends on GPIOLIB_LEGACY
2403
2404config SND_SOC_TLV320ADCX140
2405	tristate "Texas Instruments TLV320ADCX140 CODEC family"
2406	depends on I2C
2407	select REGMAP_I2C
2408	help
2409	  Add support for Texas Instruments tlv320adc3140, tlv320adc5140 and
2410	  tlv320adc6140 quad channel ADCs.
2411
2412config SND_SOC_TS3A227E
2413	tristate "TI Headset/Mic detect and keypress chip"
2414	depends on I2C
2415
2416config SND_SOC_TSCS42XX
2417	tristate "Tempo Semiconductor TSCS42xx CODEC"
2418	depends on I2C
2419	select REGMAP_I2C
2420	help
2421	  Add support for Tempo Semiconductor's TSCS42xx audio CODEC.
2422
2423config SND_SOC_TSCS454
2424	tristate "Tempo Semiconductor TSCS454 CODEC"
2425	depends on I2C
2426	select REGMAP_I2C
2427	help
2428	  Add support for Tempo Semiconductor's TSCS454 audio CODEC.
2429
2430config SND_SOC_TWL4030
2431	tristate
2432	depends on TWL4030_CORE
2433	select MFD_TWL4030_AUDIO
2434
2435config SND_SOC_TWL6040
2436	tristate
2437	depends on TWL6040_CORE
2438
2439config SND_SOC_UDA1334
2440	tristate "NXP UDA1334 DAC"
2441	depends on GPIOLIB
2442	help
2443	  The UDA1334 is an NXP audio codec, supports the I2S-bus data format
2444	  and has basic features such as de-emphasis (at 44.1 kHz sampling
2445	  rate) and mute.
2446
2447config SND_SOC_UDA1342
2448	tristate "NXP UDA1342 CODEC"
2449	depends on I2C
2450	help
2451	  The UDA1342 is an NXP audio codec, support 2x Stereo audio ADC (4x PGA
2452	  mic inputs), stereo audio DAC, with basic audio processing.
2453
2454config SND_SOC_UDA1380
2455	tristate "Philips UDA1380 CODEC"
2456	depends on I2C
2457	help
2458	  The UDA1380 codec is used in the HTC Magician and on a number of
2459	  Samsung reference boards, as well as the LPC32xx series.
2460
2461config SND_SOC_WCD_CLASSH
2462	tristate
2463
2464config SND_SOC_WCD_COMMON
2465	tristate
2466
2467config SND_SOC_WCD9335
2468	tristate "WCD9335 Codec"
2469	depends on SLIMBUS
2470	select REGMAP_SLIMBUS
2471	select REGMAP_IRQ
2472	select SND_SOC_WCD_CLASSH
2473	help
2474	  The WCD9335 is a standalone Hi-Fi audio CODEC IC, supports
2475	  Qualcomm Technologies, Inc. (QTI) multimedia solutions,
2476	  including the MSM8996, MSM8976, and MSM8956 chipsets.
2477
2478config SND_SOC_WCD_MBHC
2479	tristate
2480
2481config SND_SOC_WCD934X
2482	tristate "WCD9340/WCD9341 Codec"
2483	depends on COMMON_CLK
2484	depends on SLIMBUS
2485	depends on SOUNDWIRE || !SOUNDWIRE
2486	select REGMAP_IRQ
2487	select REGMAP_SLIMBUS
2488	select SND_SOC_WCD_CLASSH
2489	select SND_SOC_WCD_COMMON
2490	select SND_SOC_WCD_MBHC
2491	depends on MFD_WCD934X || COMPILE_TEST
2492	help
2493	  The WCD9340/9341 is a audio codec IC Integrated in
2494	  Qualcomm SoCs like SDM845.
2495
2496config SND_SOC_WCD937X
2497	depends on SND_SOC_WCD937X_SDW
2498	tristate
2499	depends on SOUNDWIRE || !SOUNDWIRE
2500	select SND_SOC_WCD_CLASSH
2501	select SND_SOC_WCD_COMMON
2502
2503config SND_SOC_WCD937X_SDW
2504	tristate "WCD9370/WCD9375 Codec - SDW"
2505	select SND_SOC_WCD937X
2506	select SND_SOC_WCD_MBHC
2507	select REGMAP_IRQ
2508	depends on SOUNDWIRE
2509	select REGMAP_SOUNDWIRE
2510	help
2511	  The WCD9370/9375 is an audio codec IC used with SoCs
2512	  like SC7280 or QCM6490 chipsets, and it connected
2513	  via soundwire.
2514	  To compile this codec driver say Y or m.
2515
2516config SND_SOC_WCD938X
2517	depends on SND_SOC_WCD938X_SDW
2518	tristate
2519	depends on SOUNDWIRE || !SOUNDWIRE
2520	select SND_SOC_WCD_CLASSH
2521	select SND_SOC_WCD_COMMON
2522	select MULTIPLEXER
2523
2524config SND_SOC_WCD938X_SDW
2525	tristate "WCD9380/WCD9385 Codec - SDW"
2526	select SND_SOC_WCD938X
2527	select SND_SOC_WCD_MBHC
2528	select REGMAP_IRQ
2529	depends on SOUNDWIRE
2530	select REGMAP_SOUNDWIRE
2531	help
2532	  The WCD9380/9385 is a audio codec IC Integrated in
2533	  Qualcomm SoCs like SM8250.
2534
2535config SND_SOC_WCD939X
2536	depends on SND_SOC_WCD939X_SDW
2537	tristate
2538	depends on SOUNDWIRE || !SOUNDWIRE
2539	depends on TYPEC || !TYPEC
2540	select SND_SOC_WCD_CLASSH
2541	select SND_SOC_WCD_COMMON
2542
2543config SND_SOC_WCD939X_SDW
2544	tristate "WCD9390/WCD9395 Codec - SDW"
2545	depends on TYPEC || !TYPEC
2546	select SND_SOC_WCD939X
2547	select SND_SOC_WCD_MBHC
2548	select REGMAP_IRQ
2549	depends on SOUNDWIRE
2550	select REGMAP_SOUNDWIRE
2551	help
2552	  The WCD9390/9395 is a audio codec IC Integrated in
2553	  Qualcomm SoCs like SM8650.
2554
2555config SND_SOC_WCD9378_SDCA
2556	tristate "Qualcomm Tambora (WCD9378) SDCA codec"
2557	depends on SOUNDWIRE
2558	depends on SND_SOC_SDCA_CLASS
2559	help
2560	  This enables support for the Qualcomm Tambora (WCD9378) headset
2561	  codec when driven via the SDCA class driver on ARM platforms
2562	  without ACPI/DisCo tables. It provides the static SDCA topology
2563	  and SoundWire data port properties transcribed from the factory
2564	  ACPI tables.
2565
2566config SND_SOC_WM0010
2567	tristate
2568	depends on SPI_MASTER
2569
2570config SND_SOC_WM1250_EV1
2571	tristate
2572	depends on I2C
2573
2574config SND_SOC_WM2000
2575	tristate
2576	depends on I2C
2577
2578config SND_SOC_WM2200
2579	tristate
2580	depends on I2C
2581	select SND_SOC_WM_ADSP
2582
2583config SND_SOC_WM5100
2584	tristate
2585	depends on I2C
2586
2587config SND_SOC_WM5102
2588	tristate
2589	depends on MFD_WM5102 && MFD_ARIZONA
2590	select SND_SOC_WM_ADSP
2591
2592config SND_SOC_WM5110
2593	tristate
2594	depends on MFD_WM5110 && MFD_ARIZONA
2595	select SND_SOC_WM_ADSP
2596
2597config SND_SOC_WM8350
2598	tristate
2599	depends on MFD_WM8350
2600
2601config SND_SOC_WM8400
2602	tristate
2603	# FIXME nothing selects SND_SOC_WM8400??
2604	depends on MFD_WM8400
2605
2606config SND_SOC_WM8510
2607	tristate "Wolfson Microelectronics WM8510 CODEC"
2608	depends on SND_SOC_I2C_AND_SPI
2609
2610config SND_SOC_WM8523
2611	tristate "Wolfson Microelectronics WM8523 DAC"
2612	depends on I2C
2613
2614config SND_SOC_WM8524
2615	tristate "Wolfson Microelectronics WM8524 DAC"
2616	depends on GPIOLIB
2617
2618config SND_SOC_WM8580
2619	tristate "Wolfson Microelectronics WM8580 and WM8581 CODECs"
2620	depends on I2C
2621
2622config SND_SOC_WM8711
2623	tristate "Wolfson Microelectronics WM8711 CODEC"
2624	depends on SND_SOC_I2C_AND_SPI
2625
2626config SND_SOC_WM8727
2627	tristate
2628
2629config SND_SOC_WM8728
2630	tristate "Wolfson Microelectronics WM8728 DAC"
2631	depends on SND_SOC_I2C_AND_SPI
2632
2633config SND_SOC_WM8731
2634	tristate
2635
2636config SND_SOC_WM8731_I2C
2637	tristate "Wolfson Microelectronics WM8731 CODEC with I2C"
2638	depends on I2C
2639	select REGMAP
2640	select SND_SOC_WM8731
2641
2642config SND_SOC_WM8731_SPI
2643	tristate "Wolfson Microelectronics WM8731 CODEC with SPI"
2644	depends on SPI
2645	select REGMAP
2646	select SND_SOC_WM8731
2647
2648config SND_SOC_WM8737
2649	tristate "Wolfson Microelectronics WM8737 ADC"
2650	depends on SND_SOC_I2C_AND_SPI
2651
2652config SND_SOC_WM8741
2653	tristate "Wolfson Microelectronics WM8741 DAC"
2654	depends on SND_SOC_I2C_AND_SPI
2655
2656config SND_SOC_WM8750
2657	tristate "Wolfson Microelectronics WM8750 CODEC"
2658	depends on SND_SOC_I2C_AND_SPI
2659
2660config SND_SOC_WM8753
2661	tristate "Wolfson Microelectronics WM8753 CODEC"
2662	depends on SND_SOC_I2C_AND_SPI
2663
2664config SND_SOC_WM8770
2665	tristate "Wolfson Microelectronics WM8770 CODEC"
2666	depends on SPI_MASTER
2667
2668config SND_SOC_WM8776
2669	tristate "Wolfson Microelectronics WM8776 CODEC"
2670	depends on SND_SOC_I2C_AND_SPI
2671
2672config SND_SOC_WM8782
2673	tristate "Wolfson Microelectronics WM8782 ADC"
2674
2675config SND_SOC_WM8804
2676	tristate
2677
2678config SND_SOC_WM8804_I2C
2679	tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver I2C"
2680	depends on I2C
2681	select SND_SOC_WM8804
2682	select REGMAP_I2C
2683
2684config SND_SOC_WM8804_SPI
2685	tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver SPI"
2686	depends on SPI_MASTER
2687	select SND_SOC_WM8804
2688	select REGMAP_SPI
2689
2690config SND_SOC_WM8900
2691	tristate
2692	depends on SND_SOC_I2C_AND_SPI
2693
2694config SND_SOC_WM8903
2695	tristate "Wolfson Microelectronics WM8903 CODEC"
2696	depends on I2C
2697
2698config SND_SOC_WM8904
2699	tristate "Wolfson Microelectronics WM8904 CODEC"
2700	depends on I2C
2701
2702config SND_SOC_WM8940
2703	tristate "Wolfson Microelectronics WM8940 codec"
2704	depends on I2C
2705
2706config SND_SOC_WM8955
2707	tristate
2708	depends on I2C
2709
2710config SND_SOC_WM8960
2711	tristate "Wolfson Microelectronics WM8960 CODEC"
2712	depends on I2C
2713
2714config SND_SOC_WM8961
2715	tristate "Wolfson Microelectronics WM8961 CODEC"
2716	depends on I2C
2717
2718config SND_SOC_WM8962
2719	tristate "Wolfson Microelectronics WM8962 CODEC"
2720	depends on I2C && INPUT
2721
2722config SND_SOC_WM8971
2723	tristate
2724	depends on I2C
2725
2726config SND_SOC_WM8974
2727	tristate "Wolfson Microelectronics WM8974 codec"
2728	depends on I2C
2729
2730config SND_SOC_WM8978
2731	tristate "Wolfson Microelectronics WM8978 codec"
2732	depends on I2C
2733
2734config SND_SOC_WM8983
2735	tristate
2736	depends on SND_SOC_I2C_AND_SPI
2737
2738config SND_SOC_WM8985
2739	tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
2740	depends on SND_SOC_I2C_AND_SPI
2741
2742config SND_SOC_WM8988
2743	tristate
2744	depends on SND_SOC_I2C_AND_SPI
2745
2746config SND_SOC_WM8990
2747	tristate
2748	depends on I2C
2749
2750config SND_SOC_WM8991
2751	tristate
2752	depends on I2C
2753
2754config SND_SOC_WM8993
2755	tristate
2756	depends on I2C
2757
2758config SND_SOC_WM8994
2759	tristate
2760	depends on MFD_WM8994
2761
2762config SND_SOC_WM8995
2763	tristate
2764	depends on SND_SOC_I2C_AND_SPI
2765
2766config SND_SOC_WM8996
2767	tristate
2768	depends on I2C
2769
2770config SND_SOC_WM8997
2771	tristate
2772	depends on MFD_WM8997 && MFD_ARIZONA
2773
2774config SND_SOC_WM8998
2775	tristate "Wolfson Microelectronics WM8998 codec driver"
2776	depends on MFD_WM8998 && MFD_ARIZONA
2777
2778config SND_SOC_WM9081
2779	tristate
2780	depends on I2C
2781
2782config SND_SOC_WM9090
2783	tristate
2784	depends on I2C
2785
2786config SND_SOC_WM9705
2787	tristate
2788	depends on SND_SOC_AC97_BUS || AC97_BUS_NEW
2789	select REGMAP_AC97
2790	select AC97_BUS_COMPAT if AC97_BUS_NEW
2791
2792config SND_SOC_WM9712
2793	tristate
2794	depends on SND_SOC_AC97_BUS || AC97_BUS_NEW
2795	select REGMAP_AC97
2796	select AC97_BUS_COMPAT if AC97_BUS_NEW
2797
2798config SND_SOC_WM9713
2799	tristate
2800	depends on SND_SOC_AC97_BUS || AC97_BUS_NEW
2801	select REGMAP_AC97
2802	select AC97_BUS_COMPAT if AC97_BUS_NEW
2803
2804config SND_SOC_WSA881X
2805	tristate "WSA881X Codec"
2806	depends on SOUNDWIRE
2807	select REGMAP_SOUNDWIRE
2808	help
2809	  This enables support for Qualcomm WSA8810/WSA8815 Class-D
2810	  Smart Speaker Amplifier.
2811
2812config SND_SOC_WSA883X
2813	tristate "WSA883X Codec"
2814	depends on SOUNDWIRE
2815	select REGMAP_SOUNDWIRE
2816	help
2817	  This enables support for Qualcomm WSA8830/WSA8835 Class-D
2818	  Smart Speaker Amplifier.
2819
2820config SND_SOC_WSA884X
2821	tristate "WSA884X Codec"
2822	depends on SOUNDWIRE
2823	select REGMAP_SOUNDWIRE
2824	help
2825	  This enables support for Qualcomm WSA8840/WSA8845/WSA8845H Class-D
2826	  Smart Speaker Amplifier.
2827
2828config SND_SOC_WSA885X
2829	tristate "WSA885X Codec"
2830	depends on I2C
2831	select REGMAP_I2C
2832	help
2833	  This enables support for Qualcomm WSA885X Stereo Smart Speaker
2834	  Amplifier. The codec driver programs the amplifier register
2835	  map and exposes the DAI and mixer controls used by Qualcomm
2836	  audio machine drivers.
2837
2838config SND_SOC_ZL38060
2839	tristate "Microsemi ZL38060 Connected Home Audio Processor"
2840	depends on SPI_MASTER
2841	depends on GPIOLIB
2842	select REGMAP
2843	help
2844	  Support for ZL38060 Connected Home Audio Processor from Microsemi,
2845	  which consists of a Digital Signal Processor (DSP), several Digital
2846	  Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.
2847
2848# Amp
2849config SND_SOC_LM4857
2850	tristate
2851	depends on I2C
2852
2853config SND_SOC_MAX9759
2854	tristate "Maxim MAX9759 speaker Amplifier"
2855	depends on GPIOLIB
2856
2857config SND_SOC_MAX9768
2858	tristate
2859	depends on I2C
2860
2861config SND_SOC_MAX9877
2862	tristate
2863	depends on I2C
2864
2865config SND_SOC_MC13783
2866	tristate
2867	depends on MFD_MC13XXX
2868
2869config SND_SOC_ML26124
2870	tristate
2871	depends on I2C
2872
2873config SND_SOC_MT6351
2874	tristate "MediaTek MT6351 Codec"
2875
2876config SND_SOC_MT6357
2877	tristate "MediaTek MT6357 Codec"
2878	help
2879	  Enable support for the platform which uses MT6357 as
2880	  external codec device.
2881
2882config SND_SOC_MT6358
2883	tristate "MediaTek MT6358 Codec"
2884	help
2885	  Enable support for the platform which uses MT6358 as
2886	  external codec device.
2887
2888config SND_SOC_MT6359
2889	tristate "MediaTek MT6359 Codec"
2890	depends on MTK_PMIC_WRAP
2891	help
2892	  Enable support for the platform which uses MT6359 as
2893	  external codec device.
2894
2895config SND_SOC_MT6359_ACCDET
2896	tristate "MediaTek MT6359 ACCDET driver"
2897	depends on MTK_PMIC_WRAP
2898	help
2899	  ACCDET means Accessory Detection technology, MediaTek develop it
2900	  for ASoC codec soc-jack detection mechanism.
2901	  Select N if you don't have jack on board.
2902
2903config SND_SOC_MT6660
2904	tristate "Mediatek MT6660 Speaker Amplifier"
2905	depends on I2C
2906	help
2907	  MediaTek MT6660 is a smart power amplifier which contain
2908	  speaker protection, multi-band DRC, equalizer functions.
2909	  Select N if you don't have MT6660 on board.
2910	  Select M to build this as module.
2911
2912config SND_SOC_NAU8315
2913	tristate "Nuvoton Technology Corporation NAU8315 CODEC"
2914
2915config SND_SOC_NAU8325
2916	tristate "Nuvoton Technology Corporation NAU8325 CODEC"
2917	depends on I2C
2918
2919config SND_SOC_NAU8540
2920	tristate "Nuvoton Technology Corporation NAU85L40 CODEC"
2921	depends on I2C
2922
2923config SND_SOC_NAU8810
2924	tristate "Nuvoton Technology Corporation NAU88C10 CODEC"
2925	depends on I2C
2926
2927config SND_SOC_NAU8821
2928	tristate "Nuvoton Technology Corporation NAU88L21 CODEC"
2929	depends on I2C
2930
2931config SND_SOC_NAU8822
2932	tristate "Nuvoton Technology Corporation NAU88C22 CODEC"
2933	depends on I2C
2934
2935config SND_SOC_NAU8824
2936	tristate "Nuvoton Technology Corporation NAU88L24 CODEC"
2937	depends on I2C
2938
2939config SND_SOC_NAU8825
2940	tristate
2941	depends on I2C
2942
2943config SND_SOC_NAU8360
2944	tristate "Nuvoton Technology Corporation NAU83G60 Stereo Smart Amplifier"
2945	depends on I2C
2946	select FW_LOADER
2947	help
2948	  The NAU83G60 is a stereo 30W+30W smart amplifier with integrated
2949	  low-latency Advanced Audio DSP running the KCS (Klippel Controlled
2950	  Sound) speaker control algorithm. KCS provides mechanical and
2951	  thermal speaker protection with voltage and current sensing.
2952
2953config SND_SOC_NTPFW
2954	tristate
2955
2956config SND_SOC_NTP8918
2957	select SND_SOC_NTPFW
2958	tristate "NeoFidelity NTP8918 amplifier"
2959	depends on I2C
2960
2961config SND_SOC_NTP8835
2962	select SND_SOC_NTPFW
2963	tristate "NeoFidelity NTP8835 and NTP8835C amplifiers"
2964	depends on I2C
2965
2966config SND_SOC_TPA6130A2
2967	tristate "Texas Instruments TPA6130A2 headphone amplifier"
2968	depends on I2C
2969
2970config SND_SOC_LPASS_MACRO_COMMON
2971	tristate
2972
2973config SND_SOC_LPASS_WSA_MACRO
2974	depends on COMMON_CLK
2975	depends on PM_CLK
2976	select REGMAP_MMIO
2977	select SND_SOC_LPASS_MACRO_COMMON
2978	tristate "Qualcomm WSA Macro in LPASS(Low Power Audio SubSystem)"
2979
2980config SND_SOC_LPASS_VA_MACRO
2981	depends on COMMON_CLK
2982	depends on PM_CLK
2983	select REGMAP_MMIO
2984	select SND_SOC_LPASS_MACRO_COMMON
2985	tristate "Qualcomm VA Macro in LPASS(Low Power Audio SubSystem)"
2986
2987config SND_SOC_LPASS_RX_MACRO
2988	depends on COMMON_CLK
2989	depends on PM_CLK
2990	select REGMAP_MMIO
2991	select SND_SOC_LPASS_MACRO_COMMON
2992	tristate "Qualcomm RX Macro in LPASS(Low Power Audio SubSystem)"
2993
2994config SND_SOC_LPASS_TX_MACRO
2995	depends on COMMON_CLK
2996	depends on PM_CLK
2997	select REGMAP_MMIO
2998	select SND_SOC_LPASS_MACRO_COMMON
2999	tristate "Qualcomm TX Macro in LPASS(Low Power Audio SubSystem)"
3000
3001endmenu
3002