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