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