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 |
1274738d | 16 | select SND_SOC_AD1938 if SPI_MASTER |
ca53fb24 MB |
17 | select SND_SOC_AD1980 if SND_SOC_AC97_BUS |
18 | select SND_SOC_AD73311 if I2C | |
a381934e | 19 | select SND_SOC_AK4104 if SPI_MASTER |
ca53fb24 | 20 | select SND_SOC_AK4535 if I2C |
a3a83d9a | 21 | select SND_SOC_AK4642 if I2C |
2312fd8f | 22 | select SND_SOC_AK4671 if I2C |
ca53fb24 | 23 | select SND_SOC_CS4270 if I2C |
9db9ed97 | 24 | select SND_SOC_MAX9877 if I2C |
1c0090c2 | 25 | select SND_SOC_PCM3008 |
be461ba8 | 26 | select SND_SOC_SPDIF |
ca53fb24 | 27 | select SND_SOC_SSM2602 if I2C |
3c166c7f | 28 | select SND_SOC_STAC9766 if SND_SOC_AC97_BUS |
ca53fb24 MB |
29 | select SND_SOC_TLV320AIC23 if I2C |
30 | select SND_SOC_TLV320AIC26 if SPI_MASTER | |
31 | select SND_SOC_TLV320AIC3X if I2C | |
493b67ef | 32 | select SND_SOC_TPA6130A2 if I2C |
c8bf93f0 | 33 | select SND_SOC_TLV320DAC33 if I2C |
cc17557e | 34 | select SND_SOC_TWL4030 if TWL4030_CORE |
1cad1de1 | 35 | select SND_SOC_UDA134X |
ca53fb24 | 36 | select SND_SOC_UDA1380 if I2C |
40aa4a30 | 37 | select SND_SOC_WM8350 if MFD_WM8350 |
aaf1e176 | 38 | select SND_SOC_WM8400 if MFD_WM8400 |
227b4dc6 | 39 | select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI |
1dcf98ff | 40 | select SND_SOC_WM8523 if I2C |
ca53fb24 | 41 | select SND_SOC_WM8580 if I2C |
08aff8cd | 42 | select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI |
227b4dc6 MB |
43 | select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI |
44 | select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI | |
45 | select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI | |
46 | select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI | |
924914ee | 47 | select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI |
ca53fb24 MB |
48 | select SND_SOC_WM8900 if I2C |
49 | select SND_SOC_WM8903 if I2C | |
0b5e92c5 | 50 | select SND_SOC_WM8940 if I2C |
f2644a2c | 51 | select SND_SOC_WM8960 if I2C |
74dc55ed | 52 | select SND_SOC_WM8961 if I2C |
ca53fb24 | 53 | select SND_SOC_WM8971 if I2C |
0a1bf553 | 54 | select SND_SOC_WM8974 if I2C |
5409fb4e | 55 | select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI |
ca53fb24 | 56 | select SND_SOC_WM8990 if I2C |
942c435b | 57 | select SND_SOC_WM8993 if I2C |
86ed3669 | 58 | select SND_SOC_WM9081 if I2C |
2aceefef | 59 | select SND_SOC_WM9705 if SND_SOC_AC97_BUS |
ca53fb24 MB |
60 | select SND_SOC_WM9712 if SND_SOC_AC97_BUS |
61 | select SND_SOC_WM9713 if SND_SOC_AC97_BUS | |
0c941615 MB |
62 | help |
63 | Normally ASoC codec drivers are only built if a machine driver which | |
64 | uses them is also built since they are only usable with a machine | |
65 | driver. Selecting this option will allow these drivers to be built | |
66 | without an explicit machine driver for test and development purposes. | |
67 | ||
ca53fb24 MB |
68 | Support for the bus types used to access the codecs to be built must |
69 | be selected separately. | |
70 | ||
0c941615 MB |
71 | If unsure select "N". |
72 | ||
a2342ae3 MB |
73 | config SND_SOC_WM_HUBS |
74 | tristate | |
75 | default y if SND_SOC_WM8993=y | |
76 | default m if SND_SOC_WM8993=m | |
0c941615 | 77 | |
7f137ab6 RP |
78 | config SND_SOC_AC97_CODEC |
79 | tristate | |
89fe5117 | 80 | select SND_AC97_CODEC |
7f137ab6 | 81 | |
7eaae41e BS |
82 | config SND_SOC_AD1836 |
83 | tristate | |
84 | ||
1274738d BS |
85 | config SND_SOC_AD1938 |
86 | tristate | |
87 | ||
5f57dc8b CC |
88 | config SND_SOC_AD1980 |
89 | tristate | |
90 | ||
0e77e784 CC |
91 | config SND_SOC_AD73311 |
92 | tristate | |
93 | ||
a381934e DM |
94 | config SND_SOC_AK4104 |
95 | tristate | |
96 | ||
796d2ca8 RP |
97 | config SND_SOC_AK4535 |
98 | tristate | |
99 | ||
a3a83d9a KM |
100 | config SND_SOC_AK4642 |
101 | tristate | |
102 | ||
2312fd8f JS |
103 | config SND_SOC_AK4671 |
104 | tristate | |
105 | ||
3e860846 MB |
106 | # Cirrus Logic CS4270 Codec |
107 | config SND_SOC_CS4270 | |
108 | tristate | |
109 | ||
3e860846 MB |
110 | # Cirrus Logic CS4270 Codec VD = 3.3V Errata |
111 | # Select if you are affected by the errata where the part will not function | |
112 | # if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will | |
113 | # not select any sample rates that require MCLK to be divided by 1.5. | |
114 | config SND_SOC_CS4270_VD33_ERRATA | |
115 | bool | |
116 | depends on SND_SOC_CS4270 | |
117 | ||
459dc352 JK |
118 | config SND_SOC_CX20442 |
119 | tristate | |
120 | ||
1cad1de1 CP |
121 | config SND_SOC_L3 |
122 | tristate | |
123 | ||
1c0090c2 HV |
124 | config SND_SOC_PCM3008 |
125 | tristate | |
126 | ||
be461ba8 C |
127 | config SND_SOC_SPDIF |
128 | tristate | |
129 | ||
3e860846 MB |
130 | config SND_SOC_SSM2602 |
131 | tristate | |
132 | ||
3c166c7f JS |
133 | config SND_SOC_STAC9766 |
134 | tristate | |
135 | ||
c1f27190 AK |
136 | config SND_SOC_TLV320AIC23 |
137 | tristate | |
c1f27190 | 138 | |
3e860846 | 139 | config SND_SOC_TLV320AIC26 |
d5d8d837 | 140 | tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE |
446e0f69 | 141 | depends on SPI |
3e860846 MB |
142 | |
143 | config SND_SOC_TLV320AIC3X | |
144 | tristate | |
c8bf93f0 PU |
145 | |
146 | config SND_SOC_TLV320DAC33 | |
147 | tristate | |
3e860846 | 148 | |
cc17557e | 149 | config SND_SOC_TWL4030 |
7a1fecf5 | 150 | select TWL4030_CODEC |
cc17557e | 151 | tristate |
cc17557e | 152 | |
1cad1de1 CP |
153 | config SND_SOC_UDA134X |
154 | tristate | |
1cad1de1 | 155 | |
b7482f52 PZ |
156 | config SND_SOC_UDA1380 |
157 | tristate | |
158 | ||
40aa4a30 MB |
159 | config SND_SOC_WM8350 |
160 | tristate | |
161 | ||
aaf1e176 MB |
162 | config SND_SOC_WM8400 |
163 | tristate | |
164 | ||
5d421516 MB |
165 | config SND_SOC_WM8510 |
166 | tristate | |
167 | ||
1dcf98ff MB |
168 | config SND_SOC_WM8523 |
169 | tristate | |
170 | ||
e88ba015 MB |
171 | config SND_SOC_WM8580 |
172 | tristate | |
173 | ||
bd6d4177 MA |
174 | config SND_SOC_WM8711 |
175 | tristate | |
176 | ||
71cfc902 MB |
177 | config SND_SOC_WM8728 |
178 | tristate | |
179 | ||
7f137ab6 RP |
180 | config SND_SOC_WM8731 |
181 | tristate | |
7f137ab6 RP |
182 | |
183 | config SND_SOC_WM8750 | |
184 | tristate | |
7f137ab6 | 185 | |
33703b73 LG |
186 | config SND_SOC_WM8753 |
187 | tristate | |
33703b73 | 188 | |
924914ee MB |
189 | config SND_SOC_WM8776 |
190 | tristate | |
191 | ||
0e0e16a8 MB |
192 | config SND_SOC_WM8900 |
193 | tristate | |
194 | ||
f1c0a02f MB |
195 | config SND_SOC_WM8903 |
196 | tristate | |
197 | ||
0b5e92c5 JC |
198 | config SND_SOC_WM8940 |
199 | tristate | |
200 | ||
f2644a2c MB |
201 | config SND_SOC_WM8960 |
202 | tristate | |
203 | ||
74dc55ed MB |
204 | config SND_SOC_WM8961 |
205 | tristate | |
206 | ||
8bae3e23 KK |
207 | config SND_SOC_WM8971 |
208 | tristate | |
209 | ||
0a1bf553 MB |
210 | config SND_SOC_WM8974 |
211 | tristate | |
212 | ||
5409fb4e MB |
213 | config SND_SOC_WM8988 |
214 | tristate | |
215 | ||
f10485e7 MB |
216 | config SND_SOC_WM8990 |
217 | tristate | |
218 | ||
942c435b MB |
219 | config SND_SOC_WM8993 |
220 | tristate | |
221 | ||
86ed3669 MB |
222 | config SND_SOC_WM9081 |
223 | tristate | |
224 | ||
2aceefef IM |
225 | config SND_SOC_WM9705 |
226 | tristate | |
227 | ||
7f137ab6 RP |
228 | config SND_SOC_WM9712 |
229 | tristate | |
b0c813ce | 230 | |
83ac08c0 LG |
231 | config SND_SOC_WM9713 |
232 | tristate | |
9db9ed97 JS |
233 | |
234 | # Amp | |
235 | config SND_SOC_MAX9877 | |
236 | tristate | |
493b67ef PU |
237 | |
238 | config SND_SOC_TPA6130A2 | |
239 | tristate |