ASoC: Add simplfied device registration for Atmel SSC devices
[linux-2.6-block.git] / sound / soc / codecs / Kconfig
CommitLineData
227b4dc6
MB
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y
9 default y if SPI_MASTER=y
10
0c941615
MB
11config SND_SOC_ALL_CODECS
12 tristate "Build all ASoC CODEC drivers"
070504ad 13 select SND_SOC_L3
0763722d 14 select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS
e9ade7f9 15 select SND_SOC_AD1836 if SPI_MASTER
a1533d94 16 select SND_SOC_AD193X if SND_SOC_I2C_AND_SPI
ca53fb24 17 select SND_SOC_AD1980 if SND_SOC_AC97_BUS
2dcf9fb9 18 select SND_SOC_ADS117X
ca53fb24 19 select SND_SOC_AD73311 if I2C
a381934e 20 select SND_SOC_AK4104 if SPI_MASTER
ca53fb24 21 select SND_SOC_AK4535 if I2C
a3a83d9a 22 select SND_SOC_AK4642 if I2C
2312fd8f 23 select SND_SOC_AK4671 if I2C
b56e972b 24 select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC
72ed5a8c 25 select SND_SOC_CS42L51 if I2C
ca53fb24 26 select SND_SOC_CS4270 if I2C
98615454 27 select SND_SOC_DA7210 if I2C
3b097d64 28 select SND_SOC_JZ4740 if SOC_JZ4740
b4541665 29 select SND_SOC_MAX9877 if I2C
1c0090c2 30 select SND_SOC_PCM3008
be461ba8 31 select SND_SOC_SPDIF
ca53fb24 32 select SND_SOC_SSM2602 if I2C
3c166c7f 33 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
ca53fb24
MB
34 select SND_SOC_TLV320AIC23 if I2C
35 select SND_SOC_TLV320AIC26 if SPI_MASTER
36 select SND_SOC_TLV320AIC3X if I2C
493b67ef 37 select SND_SOC_TPA6130A2 if I2C
c8bf93f0 38 select SND_SOC_TLV320DAC33 if I2C
cc17557e 39 select SND_SOC_TWL4030 if TWL4030_CORE
8ecbabd9 40 select SND_SOC_TWL6040 if TWL4030_CORE
1cad1de1 41 select SND_SOC_UDA134X
ca53fb24 42 select SND_SOC_UDA1380 if I2C
3a66d387 43 select SND_SOC_WM2000 if I2C
40aa4a30 44 select SND_SOC_WM8350 if MFD_WM8350
aaf1e176 45 select SND_SOC_WM8400 if MFD_WM8400
227b4dc6 46 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
1dcf98ff 47 select SND_SOC_WM8523 if I2C
ca53fb24 48 select SND_SOC_WM8580 if I2C
08aff8cd 49 select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI
89933dee 50 select SND_SOC_WM8727
227b4dc6
MB
51 select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI
52 select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
992bee40 53 select SND_SOC_WM8741 if SND_SOC_I2C_AND_SPI
227b4dc6
MB
54 select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
55 select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI
924914ee 56 select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI
ca53fb24
MB
57 select SND_SOC_WM8900 if I2C
58 select SND_SOC_WM8903 if I2C
a91eb199 59 select SND_SOC_WM8904 if I2C
0b5e92c5 60 select SND_SOC_WM8940 if I2C
b35a28af 61 select SND_SOC_WM8955 if I2C
f2644a2c 62 select SND_SOC_WM8960 if I2C
74dc55ed 63 select SND_SOC_WM8961 if I2C
9a76f1ff 64 select SND_SOC_WM8962 if I2C
ca53fb24 65 select SND_SOC_WM8971 if I2C
0a1bf553 66 select SND_SOC_WM8974 if I2C
0d34e915 67 select SND_SOC_WM8978 if I2C
5409fb4e 68 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI
ca53fb24 69 select SND_SOC_WM8990 if I2C
942c435b 70 select SND_SOC_WM8993 if I2C
fead215d 71 select SND_SOC_WM8994 if MFD_WM8994
86ed3669 72 select SND_SOC_WM9081 if I2C
39b8eab7 73 select SND_SOC_WM9090 if I2C
2aceefef 74 select SND_SOC_WM9705 if SND_SOC_AC97_BUS
ca53fb24
MB
75 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
76 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
0c941615
MB
77 help
78 Normally ASoC codec drivers are only built if a machine driver which
79 uses them is also built since they are only usable with a machine
80 driver. Selecting this option will allow these drivers to be built
81 without an explicit machine driver for test and development purposes.
82
ca53fb24
MB
83 Support for the bus types used to access the codecs to be built must
84 be selected separately.
85
0c941615
MB
86 If unsure select "N".
87
a2342ae3
MB
88config SND_SOC_WM_HUBS
89 tristate
41f9a314
CC
90 default y if SND_SOC_WM8993=y || SND_SOC_WM8994=y
91 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
0c941615 92
7f137ab6
RP
93config SND_SOC_AC97_CODEC
94 tristate
89fe5117 95 select SND_AC97_CODEC
7f137ab6 96
7eaae41e
BS
97config SND_SOC_AD1836
98 tristate
99
a1533d94 100config SND_SOC_AD193X
1274738d
BS
101 tristate
102
5f57dc8b
CC
103config SND_SOC_AD1980
104 tristate
105
0e77e784
CC
106config SND_SOC_AD73311
107 tristate
2dcf9fb9
GG
108
109config SND_SOC_ADS117X
110 tristate
0e77e784 111
a381934e
DM
112config SND_SOC_AK4104
113 tristate
114
796d2ca8
RP
115config SND_SOC_AK4535
116 tristate
117
a3a83d9a
KM
118config SND_SOC_AK4642
119 tristate
120
2312fd8f
JS
121config SND_SOC_AK4671
122 tristate
123
b56e972b
MA
124config SND_SOC_CQ0093VC
125 tristate
126
72ed5a8c 127config SND_SOC_CS42L51
128 tristate
129
3e860846
MB
130# Cirrus Logic CS4270 Codec
131config SND_SOC_CS4270
132 tristate
133
3e860846
MB
134# Cirrus Logic CS4270 Codec VD = 3.3V Errata
135# Select if you are affected by the errata where the part will not function
136# if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will
137# not select any sample rates that require MCLK to be divided by 1.5.
138config SND_SOC_CS4270_VD33_ERRATA
139 bool
140 depends on SND_SOC_CS4270
141
459dc352
JK
142config SND_SOC_CX20442
143 tristate
144
3b097d64
LPC
145config SND_SOC_JZ4740_CODEC
146 tristate
147
1cad1de1
CP
148config SND_SOC_L3
149 tristate
150
b4541665
MB
151config SND_SOC_DA7210
152 tristate
153
1c0090c2
HV
154config SND_SOC_PCM3008
155 tristate
156
be461ba8
C
157config SND_SOC_SPDIF
158 tristate
159
3e860846
MB
160config SND_SOC_SSM2602
161 tristate
162
3c166c7f
JS
163config SND_SOC_STAC9766
164 tristate
165
c1f27190
AK
166config SND_SOC_TLV320AIC23
167 tristate
c1f27190 168
3e860846 169config SND_SOC_TLV320AIC26
d5d8d837 170 tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
446e0f69 171 depends on SPI
3e860846
MB
172
173config SND_SOC_TLV320AIC3X
174 tristate
c8bf93f0
PU
175
176config SND_SOC_TLV320DAC33
177 tristate
3e860846 178
cc17557e 179config SND_SOC_TWL4030
7a1fecf5 180 select TWL4030_CODEC
cc17557e 181 tristate
cc17557e 182
8ecbabd9
MLC
183config SND_SOC_TWL6040
184 tristate
185
1cad1de1
CP
186config SND_SOC_UDA134X
187 tristate
1cad1de1 188
b7482f52
PZ
189config SND_SOC_UDA1380
190 tristate
191
40aa4a30
MB
192config SND_SOC_WM8350
193 tristate
194
aaf1e176
MB
195config SND_SOC_WM8400
196 tristate
197
5d421516
MB
198config SND_SOC_WM8510
199 tristate
200
1dcf98ff
MB
201config SND_SOC_WM8523
202 tristate
203
e88ba015
MB
204config SND_SOC_WM8580
205 tristate
206
bd6d4177
MA
207config SND_SOC_WM8711
208 tristate
209
89933dee
NJ
210config SND_SOC_WM8727
211 tristate
212
71cfc902
MB
213config SND_SOC_WM8728
214 tristate
215
7f137ab6
RP
216config SND_SOC_WM8731
217 tristate
7f137ab6 218
992bee40
IL
219config SND_SOC_WM8741
220 tristate
221
7f137ab6
RP
222config SND_SOC_WM8750
223 tristate
7f137ab6 224
33703b73
LG
225config SND_SOC_WM8753
226 tristate
33703b73 227
924914ee
MB
228config SND_SOC_WM8776
229 tristate
230
0e0e16a8
MB
231config SND_SOC_WM8900
232 tristate
233
f1c0a02f
MB
234config SND_SOC_WM8903
235 tristate
236
a91eb199
MB
237config SND_SOC_WM8904
238 tristate
239
0b5e92c5
JC
240config SND_SOC_WM8940
241 tristate
242
b35a28af
MB
243config SND_SOC_WM8955
244 tristate
245
f2644a2c
MB
246config SND_SOC_WM8960
247 tristate
248
74dc55ed
MB
249config SND_SOC_WM8961
250 tristate
251
9a76f1ff
MB
252config SND_SOC_WM8962
253 tristate
254
8bae3e23
KK
255config SND_SOC_WM8971
256 tristate
257
0a1bf553
MB
258config SND_SOC_WM8974
259 tristate
260
0d34e915
GL
261config SND_SOC_WM8978
262 tristate
263
5409fb4e
MB
264config SND_SOC_WM8988
265 tristate
266
f10485e7
MB
267config SND_SOC_WM8990
268 tristate
269
942c435b
MB
270config SND_SOC_WM8993
271 tristate
272
9e6e96a1
MB
273config SND_SOC_WM8994
274 tristate
275
86ed3669
MB
276config SND_SOC_WM9081
277 tristate
278
2aceefef
IM
279config SND_SOC_WM9705
280 tristate
281
7f137ab6
RP
282config SND_SOC_WM9712
283 tristate
b0c813ce 284
83ac08c0
LG
285config SND_SOC_WM9713
286 tristate
9db9ed97
JS
287
288# Amp
289config SND_SOC_MAX9877
290 tristate
493b67ef
PU
291
292config SND_SOC_TPA6130A2
293 tristate
3a66d387
MB
294
295config SND_SOC_WM2000
296 tristate
39b8eab7
MB
297
298config SND_SOC_WM9090
299 tristate