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