xref: /linux-6.15/sound/soc/codecs/Kconfig (revision ca73d314)
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_AK4641
50	imply SND_SOC_AK4642
51	imply SND_SOC_AK4671
52	imply SND_SOC_AK5386
53	imply SND_SOC_AK5558
54	imply SND_SOC_ALC5623
55	imply SND_SOC_ALC5632
56	imply SND_SOC_AUDIO_IIO_AUX
57	imply SND_SOC_AW8738
58	imply SND_SOC_AW87390
59	imply SND_SOC_AW88395
60	imply SND_SOC_AW88261
61	imply SND_SOC_AW88399
62	imply SND_SOC_BT_SCO
63	imply SND_SOC_BD28623
64	imply SND_SOC_CHV3_CODEC
65	imply SND_SOC_CQ0093VC
66	imply SND_SOC_CROS_EC_CODEC
67	imply SND_SOC_CS35L32
68	imply SND_SOC_CS35L33
69	imply SND_SOC_CS35L34
70	imply SND_SOC_CS35L35
71	imply SND_SOC_CS35L36
72	imply SND_SOC_CS35L41_SPI
73	imply SND_SOC_CS35L41_I2C
74	imply SND_SOC_CS35L45_I2C
75	imply SND_SOC_CS35L45_SPI
76	imply SND_SOC_CS35L56_I2C
77	imply SND_SOC_CS35L56_SPI
78	imply SND_SOC_CS35L56_SDW
79	imply SND_SOC_CS42L42
80	imply SND_SOC_CS42L42_SDW
81	imply SND_SOC_CS42L43
82	imply SND_SOC_CS42L43_SDW
83	imply SND_SOC_CS42L51_I2C
84	imply SND_SOC_CS42L52
85	imply SND_SOC_CS42L56
86	imply SND_SOC_CS42L73
87	imply SND_SOC_CS4234
88	imply SND_SOC_CS4265
89	imply SND_SOC_CS4270
90	imply SND_SOC_CS4271_I2C
91	imply SND_SOC_CS4271_SPI
92	imply SND_SOC_CS42XX8_I2C
93	imply SND_SOC_CS43130
94	imply SND_SOC_CS4341
95	imply SND_SOC_CS4349
96	imply SND_SOC_CS47L15
97	imply SND_SOC_CS47L24
98	imply SND_SOC_CS47L35
99	imply SND_SOC_CS47L85
100	imply SND_SOC_CS47L90
101	imply SND_SOC_CS47L92
102	imply SND_SOC_CS53L30
103	imply SND_SOC_CX20442
104	imply SND_SOC_CX2072X
105	imply SND_SOC_DA7210
106	imply SND_SOC_DA7213
107	imply SND_SOC_DA7218
108	imply SND_SOC_DA7219
109	imply SND_SOC_DA732X
110	imply SND_SOC_DA9055
111	imply SND_SOC_DMIC
112	imply SND_SOC_ES8316
113	imply SND_SOC_ES8326
114	imply SND_SOC_ES8328_SPI
115	imply SND_SOC_ES8328_I2C
116	imply SND_SOC_ES7134
117	imply SND_SOC_ES7241
118	imply SND_SOC_FRAMER
119	imply SND_SOC_GTM601
120	imply SND_SOC_HDAC_HDMI
121	imply SND_SOC_HDAC_HDA
122	imply SND_SOC_ICS43432
123	imply SND_SOC_IDT821034
124	imply SND_SOC_INNO_RK3036
125	imply SND_SOC_ISABELLE
126	imply SND_SOC_JZ4740_CODEC
127	imply SND_SOC_JZ4725B_CODEC
128	imply SND_SOC_JZ4760_CODEC
129	imply SND_SOC_JZ4770_CODEC
130	imply SND_SOC_LM4857
131	imply SND_SOC_LM49453
132	imply SND_SOC_LOCHNAGAR_SC
133	imply SND_SOC_MAX98088
134	imply SND_SOC_MAX98090
135	imply SND_SOC_MAX98095
136	imply SND_SOC_MAX98357A
137	imply SND_SOC_MAX98371
138	imply SND_SOC_MAX98504
139	imply SND_SOC_MAX98520
140	imply SND_SOC_MAX9867
141	imply SND_SOC_MAX98925
142	imply SND_SOC_MAX98926
143	imply SND_SOC_MAX98927
144	imply SND_SOC_MAX98363
145	imply SND_SOC_MAX98373_I2C
146	imply SND_SOC_MAX98373_SDW
147	imply SND_SOC_MAX98388
148	imply SND_SOC_MAX98390
149	imply SND_SOC_MAX98396
150	imply SND_SOC_MAX9850
151	imply SND_SOC_MAX9860
152	imply SND_SOC_MAX9759
153	imply SND_SOC_MAX9768
154	imply SND_SOC_MAX9877
155	imply SND_SOC_MC13783
156	imply SND_SOC_ML26124
157	imply SND_SOC_MT6351
158	imply SND_SOC_MT6358
159	imply SND_SOC_MT6359
160	imply SND_SOC_MT6660
161	imply SND_SOC_NAU8315
162	imply SND_SOC_NAU8540
163	imply SND_SOC_NAU8810
164	imply SND_SOC_NAU8821
165	imply SND_SOC_NAU8822
166	imply SND_SOC_NAU8824
167	imply SND_SOC_NAU8825
168	imply SND_SOC_HDMI_CODEC
169	imply SND_SOC_PCM1681
170	imply SND_SOC_PCM1789_I2C
171	imply SND_SOC_PCM179X_I2C
172	imply SND_SOC_PCM179X_SPI
173	imply SND_SOC_PCM186X_I2C
174	imply SND_SOC_PCM186X_SPI
175	imply SND_SOC_PCM3008
176	imply SND_SOC_PCM3060_I2C
177	imply SND_SOC_PCM3060_SPI
178	imply SND_SOC_PCM3168A_I2C
179	imply SND_SOC_PCM3168A_SPI
180	imply SND_SOC_PCM5102A
181	imply SND_SOC_PCM512x_I2C
182	imply SND_SOC_PCM512x_SPI
183	imply SND_SOC_PCM6240
184	imply SND_SOC_PEB2466
185	imply SND_SOC_RK3308
186	imply SND_SOC_RK3328
187	imply SND_SOC_RK817
188	imply SND_SOC_RT274
189	imply SND_SOC_RT286
190	imply SND_SOC_RT298
191	imply SND_SOC_RT1011
192	imply SND_SOC_RT1015
193	imply SND_SOC_RT1015P
194	imply SND_SOC_RT1016
195	imply SND_SOC_RT1017_SDCA_SDW
196	imply SND_SOC_RT1019
197	imply SND_SOC_RT1305
198	imply SND_SOC_RT1308
199	imply SND_SOC_RT5514
200	imply SND_SOC_RT5616
201	imply SND_SOC_RT5631
202	imply SND_SOC_RT5640
203	imply SND_SOC_RT5645
204	imply SND_SOC_RT5651
205	imply SND_SOC_RT5659
206	imply SND_SOC_RT5660
207	imply SND_SOC_RT5663
208	imply SND_SOC_RT5665
209	imply SND_SOC_RT5668
210	imply SND_SOC_RT5670
211	imply SND_SOC_RT5677
212	imply SND_SOC_RT5682_I2C
213	imply SND_SOC_RT5682_SDW
214	imply SND_SOC_RT5682S
215	imply SND_SOC_RT700_SDW
216	imply SND_SOC_RT711_SDW
217	imply SND_SOC_RT711_SDCA_SDW
218	imply SND_SOC_RT712_SDCA_SDW
219	imply SND_SOC_RT712_SDCA_DMIC_SDW
220	imply SND_SOC_RT715_SDW
221	imply SND_SOC_RT715_SDCA_SDW
222	imply SND_SOC_RT722_SDCA_SDW
223	imply SND_SOC_RT1308_SDW
224	imply SND_SOC_RT1316_SDW
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_AK4619
603        tristate "AKM AK4619 CODEC"
604        depends on I2C
605
606config SND_SOC_AK4641
607	tristate
608	depends on I2C
609
610config SND_SOC_AK4642
611	tristate "AKM AK4642 CODEC"
612	depends on I2C
613
614config SND_SOC_AK4671
615	tristate
616	depends on I2C
617
618config SND_SOC_AK5386
619	tristate "AKM AK5638 CODEC"
620
621config SND_SOC_AK5558
622	tristate "AKM AK5558 CODEC"
623	depends on I2C
624	select REGMAP_I2C
625
626config SND_SOC_ALC5623
627	tristate "Realtek ALC5623 CODEC"
628	depends on I2C
629
630config SND_SOC_ALC5632
631	tristate
632	depends on I2C
633
634config SND_SOC_AUDIO_IIO_AUX
635	tristate "Audio IIO Auxiliary device"
636	depends on IIO
637	help
638	  Enable support for Industrial I/O devices as audio auxiliary devices.
639	  This allows to have an IIO device present in the audio path and
640	  controlled using mixer controls.
641
642	  To compile this driver as a module, choose M here: the module
643	  will be called snd-soc-audio-iio-aux.
644
645config SND_SOC_AW8738
646	tristate "Awinic AW8738 Audio Amplifier"
647	select GPIOLIB
648	help
649	  Enable support for the Awinic AW8738 audio amplifier (or similar).
650	  The driver supports simple audio amplifiers similar to
651	  SND_SOC_SIMPLE_AMPLIFIER, but additionally allows setting the
652	  operation mode using the Awinic-specific one-wire pulse control.
653
654config SND_SOC_AW88395_LIB
655	select CRC8
656	tristate
657
658config SND_SOC_AW88395
659	tristate "Soc Audio for awinic aw88395"
660	depends on I2C
661	select CRC32
662	select REGMAP_I2C
663	select GPIOLIB
664	select SND_SOC_AW88395_LIB
665	help
666	  this option enables support for aw88395 Smart PA.
667	  The Awinic AW88395 is an I2S/TDM input, high efficiency
668	  digital Smart K audio amplifier with an integrated 10V
669	  smart boost convert.
670
671config SND_SOC_AW88261
672	tristate "Soc Audio for awinic aw88261"
673	depends on I2C
674	select REGMAP_I2C
675	select GPIOLIB
676	select SND_SOC_AW88395_LIB
677	help
678	  This option enables support for aw88261 Smart PA.
679	  The awinic AW88261 is an I2S/TDM input, high efficiency
680	  digital Smart K audio amplifier. The output voltage of
681	  boost converter can be adjusted smartly according to
682	  the input amplitude.
683
684config SND_SOC_AW87390
685	tristate "Soc Audio for awinic aw87390"
686	depends on I2C
687	select REGMAP_I2C
688	select SND_SOC_AW88395_LIB
689	help
690	  The awinic aw87390 is specifically designed to improve
691	  the musical output dynamic range, enhance the overall
692	  sound quality, which is a new high efficiency, low
693	  noise, constant large volume, 6th Smart K audio amplifier.
694
695config SND_SOC_AW88399
696	tristate "Soc Audio for awinic aw88399"
697	depends on I2C
698	select CRC8
699	select REGMAP_I2C
700	select GPIOLIB
701	select SND_SOC_AW88395_LIB
702	help
703	  This option enables support for aw88399 Smart PA.
704	  The awinic AW88399 is an I2S/TDM input, high efficiency
705	  digital Smart K audio amplifier and SKTune speaker
706	  protection algorithms.
707
708config SND_SOC_BD28623
709	tristate "ROHM BD28623 CODEC"
710	help
711	  Enable support for ROHM BD28623MUV Class D speaker amplifier.
712	  This codec does not have any control buses such as I2C, it
713	  detect format of I2S automatically.
714
715config SND_SOC_BT_SCO
716	tristate "Dummy BT SCO codec driver"
717
718config SND_SOC_CHV3_CODEC
719	tristate "Google Chameleon v3 codec driver"
720	help
721	  Enable support for the Google Chameleon v3 audio codec.
722	  This codec does not have a control interface, it always outputs
723	  8 channel S32_LE audio.
724
725config SND_SOC_CPCAP
726	tristate "Motorola CPCAP codec"
727	depends on MFD_CPCAP || COMPILE_TEST
728
729config SND_SOC_CQ0093VC
730	tristate
731
732config SND_SOC_CROS_EC_CODEC
733	tristate "codec driver for ChromeOS EC"
734	depends on CROS_EC
735	select CRYPTO
736	select CRYPTO_LIB_SHA256
737	help
738	  If you say yes here you will get support for the
739	  ChromeOS Embedded Controller's Audio Codec.
740
741config SND_SOC_CS_AMP_LIB
742	tristate
743
744config SND_SOC_CS_AMP_LIB_TEST
745	tristate "KUnit test for Cirrus Logic cs-amp-lib"
746	depends on KUNIT
747	default KUNIT_ALL_TESTS
748	select SND_SOC_CS_AMP_LIB
749	help
750	  This builds KUnit tests for the Cirrus Logic common
751	  amplifier library.
752	  For more information on KUnit and unit tests in general,
753	  please refer to the KUnit documentation in
754	  Documentation/dev-tools/kunit/.
755	  If in doubt, say "N".
756
757config SND_SOC_CS35L32
758	tristate "Cirrus Logic CS35L32 CODEC"
759	depends on I2C
760
761config SND_SOC_CS35L33
762	tristate "Cirrus Logic CS35L33 CODEC"
763	depends on I2C
764
765config SND_SOC_CS35L34
766	tristate "Cirrus Logic CS35L34 CODEC"
767	depends on I2C
768
769config SND_SOC_CS35L35
770	tristate "Cirrus Logic CS35L35 CODEC"
771	depends on I2C
772
773config SND_SOC_CS35L36
774	tristate "Cirrus Logic CS35L36 CODEC"
775	depends on I2C
776
777config SND_SOC_CS35L41_LIB
778	tristate
779
780config SND_SOC_CS35L41
781	tristate
782
783config SND_SOC_CS35L41_SPI
784	tristate "Cirrus Logic CS35L41 CODEC (SPI)"
785	depends on SPI_MASTER
786	select SND_SOC_CS35L41_LIB
787	select SND_SOC_CS35L41
788	select REGMAP_SPI
789
790config SND_SOC_CS35L41_I2C
791	tristate "Cirrus Logic CS35L41 CODEC (I2C)"
792	depends on I2C
793	select SND_SOC_CS35L41_LIB
794	select SND_SOC_CS35L41
795	select REGMAP_I2C
796
797config SND_SOC_CS35L45
798	tristate
799	select REGMAP_IRQ
800
801config SND_SOC_CS35L45_SPI
802	tristate "Cirrus Logic CS35L45 CODEC (SPI)"
803	depends on SPI_MASTER
804	select REGMAP
805	select REGMAP_SPI
806	select SND_SOC_CS35L45
807	help
808	  Enable support for Cirrus Logic CS35L45 smart speaker amplifier
809	  with SPI control.
810
811config SND_SOC_CS35L45_I2C
812	tristate "Cirrus Logic CS35L45 CODEC (I2C)"
813	depends on I2C
814	select REGMAP
815	select REGMAP_I2C
816	select SND_SOC_CS35L45
817	help
818	  Enable support for Cirrus Logic CS35L45 smart speaker amplifier
819	  with I2C control.
820
821config SND_SOC_CS35L56
822	tristate
823
824config SND_SOC_CS35L56_SHARED
825	select SND_SOC_CS_AMP_LIB
826	tristate
827
828config SND_SOC_CS35L56_I2C
829	tristate "Cirrus Logic CS35L56 CODEC (I2C)"
830	depends on I2C
831	depends on SOUNDWIRE || !SOUNDWIRE
832	select REGMAP_I2C
833	select SND_SOC_CS35L56
834	select SND_SOC_CS35L56_SHARED
835	help
836	  Enable support for Cirrus Logic CS35L56 boosted amplifier with I2C control
837
838config SND_SOC_CS35L56_SPI
839	tristate "Cirrus Logic CS35L56 CODEC (SPI)"
840	depends on SPI_MASTER
841	depends on SOUNDWIRE || !SOUNDWIRE
842	select REGMAP_SPI
843	select SND_SOC_CS35L56
844	select SND_SOC_CS35L56_SHARED
845	help
846	  Enable support for Cirrus Logic CS35L56 boosted amplifier with SPI control
847
848config SND_SOC_CS35L56_SDW
849	tristate "Cirrus Logic CS35L56 CODEC (SDW)"
850	depends on SOUNDWIRE
851	select REGMAP
852	select SND_SOC_CS35L56
853	select SND_SOC_CS35L56_SHARED
854	help
855	  Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control
856
857config SND_SOC_CS42L42_CORE
858	tristate
859
860config SND_SOC_CS42L42
861	tristate "Cirrus Logic CS42L42 CODEC (I2C)"
862	depends on I2C
863	select REGMAP
864	select REGMAP_I2C
865	select SND_SOC_CS42L42_CORE
866
867config SND_SOC_CS42L42_SDW
868	tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
869	depends on SOUNDWIRE
870	select SND_SOC_CS42L42_CORE
871	help
872	  Enable support for Cirrus Logic CS42L42 codec with Soundwire control
873
874config SND_SOC_CS42L43
875	tristate "Cirrus Logic CS42L43 CODEC"
876	depends on MFD_CS42L43
877	help
878	  Select this to support the audio functions of the Cirrus Logic
879	  CS42L43 PC CODEC.
880
881config SND_SOC_CS42L43_SDW
882	tristate "Cirrus Logic CS42L43 CODEC (SoundWire)"
883	depends on SND_SOC_CS42L43 && MFD_CS42L43_SDW
884	help
885	  Select this to support the audio functions of the Cirrus Logic
886	  CS42L43 PC CODEC over SoundWire.
887
888config SND_SOC_CS42L51
889	tristate
890
891config SND_SOC_CS42L51_I2C
892	tristate "Cirrus Logic CS42L51 CODEC (I2C)"
893	depends on I2C
894	select SND_SOC_CS42L51
895
896config SND_SOC_CS42L52
897	tristate "Cirrus Logic CS42L52 CODEC"
898	depends on I2C && INPUT
899
900config SND_SOC_CS42L56
901	tristate "Cirrus Logic CS42L56 CODEC"
902	depends on I2C && INPUT
903
904config SND_SOC_CS42L73
905	tristate "Cirrus Logic CS42L73 CODEC"
906	depends on I2C
907
908config SND_SOC_CS42L83
909	tristate "Cirrus Logic CS42L83 CODEC"
910	depends on I2C
911	select REGMAP
912	select REGMAP_I2C
913	select SND_SOC_CS42L42_CORE
914
915config SND_SOC_CS4234
916	tristate "Cirrus Logic CS4234 CODEC"
917	depends on I2C
918	select REGMAP_I2C
919
920config SND_SOC_CS4265
921	tristate "Cirrus Logic CS4265 CODEC"
922	depends on I2C
923	select REGMAP_I2C
924
925# Cirrus Logic CS4270 Codec
926config SND_SOC_CS4270
927	tristate "Cirrus Logic CS4270 CODEC"
928	depends on I2C
929
930# Cirrus Logic CS4270 Codec VD = 3.3V Errata
931# Select if you are affected by the errata where the part will not function
932# if MCLK divide-by-1.5 is selected and VD is set to 3.3V.  The driver will
933# not select any sample rates that require MCLK to be divided by 1.5.
934config SND_SOC_CS4270_VD33_ERRATA
935	bool
936	depends on SND_SOC_CS4270
937
938config SND_SOC_CS4271
939	tristate
940
941config SND_SOC_CS4271_I2C
942	tristate "Cirrus Logic CS4271 CODEC (I2C)"
943	depends on I2C
944	select SND_SOC_CS4271
945	select REGMAP_I2C
946
947config SND_SOC_CS4271_SPI
948	tristate "Cirrus Logic CS4271 CODEC (SPI)"
949	depends on SPI_MASTER
950	select SND_SOC_CS4271
951	select REGMAP_SPI
952
953config SND_SOC_CS42XX8
954	tristate
955
956config SND_SOC_CS42XX8_I2C
957	tristate "Cirrus Logic CS42448/CS42888 CODEC (I2C)"
958	depends on I2C
959	select SND_SOC_CS42XX8
960	select REGMAP_I2C
961
962# Cirrus Logic CS43130 HiFi DAC
963config SND_SOC_CS43130
964	tristate "Cirrus Logic CS43130 CODEC"
965	depends on I2C
966
967config SND_SOC_CS4341
968	tristate "Cirrus Logic CS4341 CODEC"
969	depends on SND_SOC_I2C_AND_SPI
970	select REGMAP_I2C if I2C
971	select REGMAP_SPI if SPI_MASTER
972
973# Cirrus Logic CS4349 HiFi DAC
974config SND_SOC_CS4349
975	tristate "Cirrus Logic CS4349 CODEC"
976	depends on I2C
977
978config SND_SOC_CS47L15
979	tristate
980	depends on MFD_CS47L15
981
982config SND_SOC_CS47L24
983	tristate
984	depends on MFD_CS47L24 && MFD_ARIZONA
985
986config SND_SOC_CS47L35
987	tristate
988	depends on MFD_CS47L35
989
990config SND_SOC_CS47L85
991	tristate
992	depends on MFD_CS47L85
993
994config SND_SOC_CS47L90
995	tristate
996	depends on MFD_CS47L90
997
998config SND_SOC_CS47L92
999	tristate
1000	depends on MFD_CS47L92
1001
1002# Cirrus Logic Quad-Channel ADC
1003config SND_SOC_CS53L30
1004	tristate "Cirrus Logic CS53L30 CODEC"
1005	depends on I2C
1006
1007config SND_SOC_CX20442
1008	tristate
1009	depends on TTY
1010
1011config SND_SOC_CX2072X
1012	tristate "Conexant CX2072X CODEC"
1013	depends on I2C
1014	help
1015	  Enable support for Conexant CX20721 and CX20723 codec chips.
1016
1017config SND_SOC_JZ4740_CODEC
1018	depends on MACH_INGENIC || COMPILE_TEST
1019	depends on OF
1020	select REGMAP_MMIO
1021	tristate "Ingenic JZ4740 internal CODEC"
1022	help
1023	  Enable support for the internal CODEC found in the JZ4740 SoC
1024	  from Ingenic.
1025
1026	  This driver can also be built as a module. If so, the module
1027	  will be called snd-soc-jz4740-codec.
1028
1029config SND_SOC_JZ4725B_CODEC
1030	depends on MACH_INGENIC || COMPILE_TEST
1031	depends on OF
1032	select REGMAP
1033	tristate "Ingenic JZ4725B internal CODEC"
1034	help
1035	  Enable support for the internal CODEC found in the JZ4725B SoC
1036	  from Ingenic.
1037
1038	  This driver can also be built as a module. If so, the module
1039	  will be called snd-soc-jz4725b-codec.
1040
1041config SND_SOC_JZ4760_CODEC
1042        depends on MACH_INGENIC || COMPILE_TEST
1043        depends on OF
1044        select REGMAP
1045        tristate "Ingenic JZ4760 internal CODEC"
1046        help
1047          Enable support for the internal CODEC found in the JZ4760 SoC
1048          from Ingenic.
1049
1050          This driver can also be built as a module. If so, the module
1051          will be called snd-soc-jz4760-codec.
1052
1053config SND_SOC_JZ4770_CODEC
1054	depends on MACH_INGENIC || COMPILE_TEST
1055	depends on OF
1056	select REGMAP
1057	tristate "Ingenic JZ4770 internal CODEC"
1058	help
1059	  Enable support for the internal CODEC found in the JZ4770 SoC
1060	  from Ingenic.
1061
1062	  This driver can also be built as a module. If so, the module
1063	  will be called snd-soc-jz4770-codec.
1064
1065config SND_SOC_DA7210
1066	tristate
1067	depends on SND_SOC_I2C_AND_SPI
1068
1069config SND_SOC_DA7213
1070	tristate "Dialog DA7213 CODEC"
1071	depends on I2C
1072
1073config SND_SOC_DA7218
1074	tristate
1075	depends on I2C
1076
1077config SND_SOC_DA7219
1078	tristate
1079	depends on I2C
1080
1081config SND_SOC_DA732X
1082	tristate
1083	depends on I2C
1084
1085config SND_SOC_DA9055
1086	tristate
1087	depends on I2C
1088
1089config SND_SOC_DMIC
1090	tristate "Generic Digital Microphone CODEC"
1091	help
1092	  Enable support for the Generic Digital Microphone CODEC.
1093	  Select this if your sound card has DMICs.
1094
1095config SND_SOC_HDMI_CODEC
1096	tristate
1097	select SND_PCM_ELD
1098	select SND_PCM_IEC958
1099	select HDMI
1100
1101config SND_SOC_ES7134
1102	tristate "Everest Semi ES7134 CODEC"
1103
1104config SND_SOC_ES7241
1105	tristate "Everest Semi ES7241 CODEC"
1106
1107config SND_SOC_ES83XX_DSM_COMMON
1108	depends on ACPI
1109	tristate
1110
1111config SND_SOC_ES8311
1112	tristate "Everest Semi ES8311 CODEC"
1113	depends on I2C
1114
1115config SND_SOC_ES8316
1116	tristate "Everest Semi ES8316 CODEC"
1117	depends on I2C
1118
1119config SND_SOC_ES8326
1120	tristate "Everest Semi ES8326 CODEC"
1121	depends on I2C
1122
1123config SND_SOC_ES8328
1124	tristate
1125
1126config SND_SOC_ES8328_I2C
1127	tristate "Everest Semi ES8328 CODEC (I2C)"
1128	depends on I2C
1129	select SND_SOC_ES8328
1130
1131config SND_SOC_ES8328_SPI
1132	tristate "Everest Semi ES8328 CODEC (SPI)"
1133	depends on SPI_MASTER
1134	select SND_SOC_ES8328
1135
1136config SND_SOC_FRAMER
1137	tristate "Framer codec"
1138	depends on GENERIC_FRAMER
1139	help
1140	  Enable support for the framer codec.
1141	  The framer codec uses the generic framer infrastructure to transport
1142	  some audio data over an analog E1/T1/J1 line.
1143	  This codec allows to use some of the time slots available on the TDM
1144	  bus on which the framer is connected to transport the audio data.
1145
1146	  To compile this driver as a module, choose M here: the module
1147	  will be called snd-soc-framer.
1148
1149
1150config SND_SOC_GTM601
1151	tristate 'GTM601 UMTS modem audio codec'
1152
1153config SND_SOC_HDAC_HDMI
1154	tristate
1155	select SND_HDA_EXT_CORE
1156	select SND_PCM_ELD
1157	select HDMI
1158
1159config SND_SOC_HDAC_HDA
1160	tristate
1161	select SND_HDA
1162
1163config SND_SOC_HDA
1164	tristate "HD-Audio codec driver"
1165	select SND_HDA_EXT_CORE
1166	select SND_HDA
1167	help
1168	  This enables HD-Audio codec support in ASoC subsystem. Compared
1169	  to SND_SOC_HDAC_HDA, driver's behavior is identical to HD-Audio
1170	  legacy solution - including the dynamic resource allocation
1171	  based on actual codec capabilities.
1172
1173config SND_SOC_ICS43432
1174	tristate "ICS43423 and compatible i2s microphones"
1175
1176config SND_SOC_IDT821034
1177	tristate "Renesas IDT821034 quad PCM codec"
1178	depends on SPI
1179	help
1180	  Enable support for the Renesas IDT821034 quad PCM with
1181	  programmable gain codec.
1182
1183	  To compile this driver as a module, choose M here: the module
1184	  will be called snd-soc-idt821034.
1185
1186config SND_SOC_INNO_RK3036
1187	tristate "Inno codec driver for RK3036 SoC"
1188	depends on ARCH_ROCKCHIP || COMPILE_TEST
1189	select REGMAP_MMIO
1190
1191config SND_SOC_ISABELLE
1192	tristate
1193	depends on I2C
1194
1195config SND_SOC_LM49453
1196	tristate
1197	depends on I2C
1198
1199config SND_SOC_LOCHNAGAR_SC
1200	tristate "Lochnagar Sound Card"
1201	depends on MFD_LOCHNAGAR || COMPILE_TEST
1202	help
1203	  This driver support the sound card functionality of the Cirrus
1204	  Logic Lochnagar audio development board.
1205
1206config SND_SOC_MADERA
1207	tristate
1208	default y if SND_SOC_CS47L15=y
1209	default y if SND_SOC_CS47L35=y
1210	default y if SND_SOC_CS47L85=y
1211	default y if SND_SOC_CS47L90=y
1212	default y if SND_SOC_CS47L92=y
1213	default m if SND_SOC_CS47L15=m
1214	default m if SND_SOC_CS47L35=m
1215	default m if SND_SOC_CS47L85=m
1216	default m if SND_SOC_CS47L90=m
1217	default m if SND_SOC_CS47L92=m
1218
1219config SND_SOC_MAX98088
1220	tristate "Maxim MAX98088/9 Low-Power, Stereo Audio Codec"
1221	depends on I2C
1222
1223config SND_SOC_MAX98090
1224	tristate "Maxim MAX98090 CODEC"
1225	depends on I2C
1226
1227config SND_SOC_MAX98095
1228	tristate
1229	depends on I2C
1230
1231config SND_SOC_MAX98357A
1232	tristate "Maxim MAX98357A CODEC"
1233
1234config SND_SOC_MAX98371
1235	tristate
1236	depends on I2C
1237
1238config SND_SOC_MAX98504
1239	tristate "Maxim MAX98504 speaker amplifier"
1240	depends on I2C
1241
1242config SND_SOC_MAX9867
1243	tristate "Maxim MAX9867 CODEC"
1244	depends on I2C
1245
1246config SND_SOC_MAX98925
1247	tristate
1248	depends on I2C
1249
1250config SND_SOC_MAX98926
1251	tristate
1252	depends on I2C
1253
1254config SND_SOC_MAX98927
1255	tristate "Maxim Integrated MAX98927 Speaker Amplifier"
1256	depends on I2C
1257
1258config SND_SOC_MAX98520
1259	tristate "Maxim Integrated MAX98520 Speaker Amplifier"
1260	depends on I2C
1261	help
1262	  Enable support for Maxim Integrated MAX98520 audio
1263	  amplifier, which implements a tripler charge pump
1264	  based boost converter and supports sample rates of
1265	  8KHz to 192KHz.
1266
1267	  To compile this driver as a module, choose M here.
1268
1269config SND_SOC_MAX98363
1270	tristate "Analog Devices MAX98363 Soundwire Speaker Amplifier"
1271	depends on SOUNDWIRE
1272	select REGMAP_SOUNDWIRE
1273	help
1274	  Enable support for Analog Devices MAX98363 Soundwire
1275	  amplifier. MAX98363 supports the MIPI SoundWire v1.2
1276	  compatible interface for audio and control data.
1277	  This amplifier does not support I2C and I2S.
1278
1279config SND_SOC_MAX98373
1280	tristate
1281
1282config SND_SOC_MAX98373_I2C
1283	tristate "Maxim Integrated MAX98373 Speaker Amplifier"
1284	depends on I2C
1285	select SND_SOC_MAX98373
1286
1287config SND_SOC_MAX98373_SDW
1288	tristate "Maxim Integrated MAX98373 Speaker Amplifier - SDW"
1289	depends on SOUNDWIRE
1290	select SND_SOC_MAX98373
1291	select REGMAP_SOUNDWIRE
1292	help
1293	  Enable support for Maxim Integrated MAX98373 Soundwire
1294	  amplifier. MAX98373 supports either the MIPI SoundWire
1295	  compatible interface for audio and control data, or
1296	  the PCM interface for audio data and a standard I2C
1297	  interface for control data. Select this if MAX98373 is
1298	  connected via soundwire.
1299
1300config SND_SOC_MAX98388
1301	tristate "Analog Devices MAX98388 Speaker Amplifier"
1302	depends on I2C
1303	help
1304	  Enable support for Analog Devices MAX98388 audio
1305	  amplifier. The device provides a PCM interface for
1306	  audio data and a standard I2C interface for control
1307	  data communication.
1308
1309config SND_SOC_MAX98390
1310	tristate "Maxim Integrated MAX98390 Speaker Amplifier"
1311	depends on I2C
1312
1313config SND_SOC_MAX98396
1314	tristate "Analog Devices MAX98396 Speaker Amplifier"
1315	depends on I2C
1316	help
1317	  Enable support for Analog Devices MAX98396 audio
1318	  amplifier. The device provides a PCM interface for
1319	  audio data and a standard I2C interface for control
1320	  data communication.
1321
1322config SND_SOC_MAX9850
1323	tristate
1324	depends on I2C
1325
1326config SND_SOC_MAX9860
1327	tristate "Maxim MAX9860 Mono Audio Voice Codec"
1328	depends on I2C
1329	select REGMAP_I2C
1330
1331config SND_SOC_MSM8916_WCD_ANALOG
1332	tristate "Qualcomm MSM8916 WCD Analog Codec"
1333	depends on SPMI || COMPILE_TEST
1334
1335config SND_SOC_MSM8916_WCD_DIGITAL
1336	tristate "Qualcomm MSM8916 WCD DIGITAL Codec"
1337	select REGMAP_MMIO
1338
1339config SND_SOC_PCM1681
1340	tristate "Texas Instruments PCM1681 CODEC"
1341	depends on I2C
1342
1343config SND_SOC_PCM1789
1344	tristate
1345
1346config SND_SOC_PCM1789_I2C
1347	tristate "Texas Instruments PCM1789 CODEC (I2C)"
1348	depends on I2C
1349	select SND_SOC_PCM1789
1350	help
1351	  Enable support for Texas Instruments PCM1789 CODEC.
1352	  Select this if your PCM1789 is connected via an I2C bus.
1353
1354config SND_SOC_PCM179X
1355	tristate
1356
1357config SND_SOC_PCM179X_I2C
1358	tristate "Texas Instruments PCM179X CODEC (I2C)"
1359	depends on I2C
1360	select SND_SOC_PCM179X
1361	help
1362	  Enable support for Texas Instruments PCM179x CODEC.
1363	  Select this if your PCM179x is connected via an I2C bus.
1364
1365config SND_SOC_PCM179X_SPI
1366	tristate "Texas Instruments PCM179X CODEC (SPI)"
1367	depends on SPI_MASTER
1368	select SND_SOC_PCM179X
1369	help
1370	  Enable support for Texas Instruments PCM179x CODEC.
1371	  Select this if your PCM179x is connected via an SPI bus.
1372
1373config SND_SOC_PCM186X
1374	tristate
1375
1376config SND_SOC_PCM186X_I2C
1377	tristate "Texas Instruments PCM186x CODECs - I2C"
1378	depends on I2C
1379	select SND_SOC_PCM186X
1380	select REGMAP_I2C
1381
1382config SND_SOC_PCM186X_SPI
1383	tristate "Texas Instruments PCM186x CODECs - SPI"
1384	depends on SPI_MASTER
1385	select SND_SOC_PCM186X
1386	select REGMAP_SPI
1387
1388config SND_SOC_PCM3008
1389	tristate
1390
1391config SND_SOC_PCM3060
1392	tristate
1393
1394config SND_SOC_PCM3060_I2C
1395	tristate "Texas Instruments PCM3060 CODEC - I2C"
1396	depends on I2C
1397	select SND_SOC_PCM3060
1398	select REGMAP_I2C
1399
1400config SND_SOC_PCM3060_SPI
1401	tristate "Texas Instruments PCM3060 CODEC - SPI"
1402	depends on SPI_MASTER
1403	select SND_SOC_PCM3060
1404	select REGMAP_SPI
1405
1406config SND_SOC_PCM3168A
1407	tristate
1408
1409config SND_SOC_PCM3168A_I2C
1410	tristate "Texas Instruments PCM3168A CODEC - I2C"
1411	depends on I2C
1412	select SND_SOC_PCM3168A
1413	select REGMAP_I2C
1414
1415config SND_SOC_PCM3168A_SPI
1416	tristate "Texas Instruments PCM3168A CODEC - SPI"
1417	depends on SPI_MASTER
1418	select SND_SOC_PCM3168A
1419	select REGMAP_SPI
1420
1421config SND_SOC_PCM5102A
1422	tristate "Texas Instruments PCM5102A CODEC"
1423
1424config SND_SOC_PCM512x
1425	tristate
1426
1427config SND_SOC_PCM512x_I2C
1428	tristate "Texas Instruments PCM512x CODECs - I2C"
1429	depends on I2C
1430	select SND_SOC_PCM512x
1431	select REGMAP_I2C
1432
1433config SND_SOC_PCM512x_SPI
1434	tristate "Texas Instruments PCM512x CODECs - SPI"
1435	depends on SPI_MASTER
1436	select SND_SOC_PCM512x
1437	select REGMAP_SPI
1438
1439config SND_SOC_PCM6240
1440	tristate "Texas Instruments PCM6240 Family Audio chips based on I2C"
1441	depends on I2C
1442	help
1443	  Enable support for Texas Instruments PCM6240 Family Audio chips.
1444	  Note the PCM6240 driver implements a flexible and configurable
1445	  setting for register and filter coefficients, to one, two or
1446	  even multiple PCM6240 Family Audio chips.
1447
1448config SND_SOC_PEB2466
1449	tristate "Infineon PEB2466 quad PCM codec"
1450	depends on SPI
1451	select REGMAP_SPI
1452	help
1453	  Enable support for the Infineon PEB2466 quad PCM codec,
1454	  also named SICOFI 4-uC.
1455
1456	  To compile this driver as a module, choose M here: the module
1457	  will be called snd-soc-peb2466.
1458
1459config SND_SOC_RK3308
1460	tristate "Rockchip RK3308 audio CODEC"
1461	depends on ARM64 || COMPILE_TEST
1462	depends on ARCH_ROCKCHIP || COMPILE_TEST
1463	select REGMAP_MMIO
1464	help
1465	  This is a device driver for the audio codec embedded in the
1466	  Rockchip RK3308 SoC.
1467
1468	  It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported
1469	  sampling rate is 192 kHz.
1470
1471config SND_SOC_RK3328
1472	tristate "Rockchip RK3328 audio CODEC"
1473	depends on ARCH_ROCKCHIP || COMPILE_TEST
1474	select REGMAP_MMIO
1475
1476config SND_SOC_RK817
1477	tristate "Rockchip RK817 audio CODEC"
1478	depends on MFD_RK8XX || COMPILE_TEST
1479
1480config SND_SOC_RL6231
1481	tristate
1482	default y if SND_SOC_RT5514=y
1483	default y if SND_SOC_RT5616=y
1484	default y if SND_SOC_RT5640=y
1485	default y if SND_SOC_RT5645=y
1486	default y if SND_SOC_RT5651=y
1487	default y if SND_SOC_RT5659=y
1488	default y if SND_SOC_RT5660=y
1489	default y if SND_SOC_RT5663=y
1490	default y if SND_SOC_RT5665=y
1491	default y if SND_SOC_RT5668=y
1492	default y if SND_SOC_RT5670=y
1493	default y if SND_SOC_RT5677=y
1494	default y if SND_SOC_RT5682=y
1495	default y if SND_SOC_RT1011=y
1496	default y if SND_SOC_RT1015=y
1497	default y if SND_SOC_RT1015P=y
1498	default y if SND_SOC_RT1019=y
1499	default y if SND_SOC_RT1305=y
1500	default y if SND_SOC_RT1308=y
1501	default m if SND_SOC_RT5514=m
1502	default m if SND_SOC_RT5616=m
1503	default m if SND_SOC_RT5640=m
1504	default m if SND_SOC_RT5645=m
1505	default m if SND_SOC_RT5651=m
1506	default m if SND_SOC_RT5659=m
1507	default m if SND_SOC_RT5660=m
1508	default m if SND_SOC_RT5663=m
1509	default m if SND_SOC_RT5665=m
1510	default m if SND_SOC_RT5668=m
1511	default m if SND_SOC_RT5670=m
1512	default m if SND_SOC_RT5677=m
1513	default m if SND_SOC_RT5682=m
1514	default m if SND_SOC_RT1011=m
1515	default m if SND_SOC_RT1015=m
1516	default m if SND_SOC_RT1015P=m
1517	default m if SND_SOC_RT1019=m
1518	default m if SND_SOC_RT1305=m
1519	default m if SND_SOC_RT1308=m
1520
1521config SND_SOC_RL6347A
1522	tristate
1523	default y if SND_SOC_RT274=y
1524	default y if SND_SOC_RT286=y
1525	default y if SND_SOC_RT298=y
1526	default m if SND_SOC_RT274=m
1527	default m if SND_SOC_RT286=m
1528	default m if SND_SOC_RT298=m
1529
1530config SND_SOC_RT274
1531	tristate
1532	depends on I2C
1533
1534config SND_SOC_RT286
1535	tristate
1536	depends on I2C
1537
1538config SND_SOC_RT298
1539	tristate
1540	depends on I2C
1541
1542config SND_SOC_RT1011
1543	tristate
1544	depends on I2C
1545
1546config SND_SOC_RT1015
1547	tristate
1548	depends on I2C
1549
1550config SND_SOC_RT1015P
1551	tristate
1552
1553config SND_SOC_RT1016
1554	tristate
1555	depends on I2C
1556
1557config SND_SOC_RT1017_SDCA_SDW
1558	tristate "Realtek RT1017 SDCA Codec - SDW"
1559	depends on SOUNDWIRE
1560	select REGMAP_SOUNDWIRE
1561
1562config SND_SOC_RT1019
1563	tristate
1564	depends on I2C
1565
1566config SND_SOC_RT1305
1567	tristate
1568	depends on I2C
1569
1570config SND_SOC_RT1308
1571	tristate
1572	depends on I2C
1573
1574config SND_SOC_RT1308_SDW
1575	tristate "Realtek RT1308 Codec - SDW"
1576	depends on I2C && SOUNDWIRE
1577	select REGMAP_SOUNDWIRE
1578
1579config SND_SOC_RT1316_SDW
1580	tristate "Realtek RT1316 Codec - SDW"
1581	depends on SOUNDWIRE
1582	select REGMAP_SOUNDWIRE
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