aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-23 07:58:16 -0500
committerMark Brown <broonie@linaro.org>2014-02-04 12:35:15 -0500
commit1291e14175e6b83efe1464f32189acb21bc4be09 (patch)
tree5197187bbef415a99c3b21bc13629f9d7400caff
parent0d724f8a3bbc9b0ffd658732714d23694ff4abca (diff)
ASoC: codecs: Make OF supported CODECs visible in Kconfig
Now that we have a generic card driver we can't rely on the card driver selecting the CODECs for us so make the CODECs that can be enabled with OF directly selectable in Kconfig. For the platforms not using OF it's not clear that we don't still want to have some board specific selection since the kernel needs to contain code to register the devices; ACPI could provide this from firmware does not yet support any kind of generic card. It may also be desirable to hide these if OF is not enabled to reduce noise. Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/codecs/Kconfig97
1 files changed, 63 insertions, 34 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 034130b336aa..f0bdcc5abe83 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -190,8 +190,9 @@ config SND_SOC_AD73311
190 tristate 190 tristate
191 191
192config SND_SOC_ADAU1701 192config SND_SOC_ADAU1701
193 tristate "Analog Devices ADAU1701 CODEC"
194 depends on I2C
193 select SND_SOC_SIGMADSP 195 select SND_SOC_SIGMADSP
194 tristate
195 196
196config SND_SOC_ADAU1373 197config SND_SOC_ADAU1373
197 tristate 198 tristate
@@ -203,28 +204,31 @@ config SND_SOC_ADS117X
203 tristate 204 tristate
204 205
205config SND_SOC_AK4104 206config SND_SOC_AK4104
206 tristate 207 tristate "AKM AK4104 CODEC"
208 depends on SPI_MASTER
207 209
208config SND_SOC_AK4535 210config SND_SOC_AK4535
209 tristate 211 tristate
210 212
211config SND_SOC_AK4554 213config SND_SOC_AK4554
212 tristate 214 tristate "AKM AK4554 CODEC"
213 215
214config SND_SOC_AK4641 216config SND_SOC_AK4641
215 tristate 217 tristate
216 218
217config SND_SOC_AK4642 219config SND_SOC_AK4642
218 tristate 220 tristate "AKM AK4642 CODEC"
221 depends on I2C
219 222
220config SND_SOC_AK4671 223config SND_SOC_AK4671
221 tristate 224 tristate
222 225
223config SND_SOC_AK5386 226config SND_SOC_AK5386
224 tristate 227 tristate "AKM AK5638 CODEC"
225 228
226config SND_SOC_ALC5623 229config SND_SOC_ALC5623
227 tristate 230 tristate
231
228config SND_SOC_ALC5632 232config SND_SOC_ALC5632
229 tristate 233 tristate
230 234
@@ -235,14 +239,17 @@ config SND_SOC_CS42L51
235 tristate 239 tristate
236 240
237config SND_SOC_CS42L52 241config SND_SOC_CS42L52
238 tristate 242 tristate "Cirrus Logic CS42L52 CODEC"
243 depends on I2C
239 244
240config SND_SOC_CS42L73 245config SND_SOC_CS42L73
241 tristate 246 tristate "Cirrus Logic CS42L73 CODEC"
247 depends on I2C
242 248
243# Cirrus Logic CS4270 Codec 249# Cirrus Logic CS4270 Codec
244config SND_SOC_CS4270 250config SND_SOC_CS4270
245 tristate 251 tristate "Cirrus Logic CS4270 CODEC"
252 depends on I2C
246 253
247# Cirrus Logic CS4270 Codec VD = 3.3V Errata 254# Cirrus Logic CS4270 Codec VD = 3.3V Errata
248# Select if you are affected by the errata where the part will not function 255# Select if you are affected by the errata where the part will not function
@@ -253,7 +260,8 @@ config SND_SOC_CS4270_VD33_ERRATA
253 depends on SND_SOC_CS4270 260 depends on SND_SOC_CS4270
254 261
255config SND_SOC_CS4271 262config SND_SOC_CS4271
256 tristate 263 tristate "Cirrus Logic CS4271 CODEC"
264 depends on SND_SOC_I2C_AND_SPI
257 265
258config SND_SOC_CX20442 266config SND_SOC_CX20442
259 tristate 267 tristate
@@ -284,6 +292,9 @@ config SND_SOC_BT_SCO
284config SND_SOC_DMIC 292config SND_SOC_DMIC
285 tristate 293 tristate
286 294
295config SND_SOC_HDMI_CODEC
296 tristate "HDMI stub CODEC"
297
287config SND_SOC_ISABELLE 298config SND_SOC_ISABELLE
288 tristate 299 tristate
289 300
@@ -302,14 +313,13 @@ config SND_SOC_MAX98095
302config SND_SOC_MAX9850 313config SND_SOC_MAX9850
303 tristate 314 tristate
304 315
305config SND_SOC_HDMI_CODEC
306 tristate
307
308config SND_SOC_PCM1681 316config SND_SOC_PCM1681
309 tristate 317 tristate "Texas Instruments PCM1681 CODEC"
318 depends on I2C
310 319
311config SND_SOC_PCM1792A 320config SND_SOC_PCM1792A
312 tristate 321 tristate "Texas Instruments PCM1792A CODEC"
322 depends on SPI_MASTER
313 323
314config SND_SOC_PCM3008 324config SND_SOC_PCM3008
315 tristate 325 tristate
@@ -322,7 +332,8 @@ config SND_SOC_RT5640
322 332
323#Freescale sgtl5000 codec 333#Freescale sgtl5000 codec
324config SND_SOC_SGTL5000 334config SND_SOC_SGTL5000
325 tristate 335 tristate "Freescale SGTL5000 CODEC"
336 depends on I2C
326 337
327config SND_SOC_SI476X 338config SND_SOC_SI476X
328 tristate 339 tristate
@@ -335,7 +346,7 @@ config SND_SOC_SN95031
335 tristate 346 tristate
336 347
337config SND_SOC_SPDIF 348config SND_SOC_SPDIF
338 tristate 349 tristate "S/PDIF CODEC"
339 350
340config SND_SOC_SSM2518 351config SND_SOC_SSM2518
341 tristate 352 tristate
@@ -353,7 +364,8 @@ config SND_SOC_STAC9766
353 tristate 364 tristate
354 365
355config SND_SOC_TAS5086 366config SND_SOC_TAS5086
356 tristate 367 tristate "Texas Instruments TAS5086 speaker amplifier"
368 depends on I2C
357 369
358config SND_SOC_TLV320AIC23 370config SND_SOC_TLV320AIC23
359 tristate 371 tristate
@@ -366,7 +378,8 @@ config SND_SOC_TLV320AIC32X4
366 tristate 378 tristate
367 379
368config SND_SOC_TLV320AIC3X 380config SND_SOC_TLV320AIC3X
369 tristate 381 tristate "Texas Instruments TLV320AIC3x CODECs"
382 depends on I2C
370 383
371config SND_SOC_TLV320DAC33 384config SND_SOC_TLV320DAC33
372 tristate 385 tristate
@@ -415,55 +428,69 @@ config SND_SOC_WM8400
415 tristate 428 tristate
416 429
417config SND_SOC_WM8510 430config SND_SOC_WM8510
418 tristate 431 tristate "Wolfson Microelectronics WM8510 CODEC"
432 depends on SND_SOC_I2C_AND_SPI
419 433
420config SND_SOC_WM8523 434config SND_SOC_WM8523
421 tristate 435 tristate "Wolfson Microelectronics WM8523 DAC"
436 depends on I2C
422 437
423config SND_SOC_WM8580 438config SND_SOC_WM8580
424 tristate 439 tristate "Wolfson Microelectronics WM8523 CODEC"
440 depends on I2C
425 441
426config SND_SOC_WM8711 442config SND_SOC_WM8711
427 tristate 443 tristate "Wolfson Microelectronics WM8711 CODEC"
444 depends on SND_SOC_I2C_AND_SPI
428 445
429config SND_SOC_WM8727 446config SND_SOC_WM8727
430 tristate 447 tristate
431 448
432config SND_SOC_WM8728 449config SND_SOC_WM8728
433 tristate 450 tristate "Wolfson Microelectronics WM8728 DAC"
451 depends on SND_SOC_I2C_AND_SPI
434 452
435config SND_SOC_WM8731 453config SND_SOC_WM8731
436 tristate 454 tristate "Wolfson Microelectronics WM8731 CODEC"
455 depends on SND_SOC_I2C_AND_SPI
437 456
438config SND_SOC_WM8737 457config SND_SOC_WM8737
439 tristate 458 tristate "Wolfson Microelectronics WM8737 ADC"
459 depends on SND_SOC_I2C_AND_SPI
440 460
441config SND_SOC_WM8741 461config SND_SOC_WM8741
442 tristate 462 tristate "Wolfson Microelectronics WM8737 DAC"
463 depends on SND_SOC_I2C_AND_SPI
443 464
444config SND_SOC_WM8750 465config SND_SOC_WM8750
445 tristate 466 tristate "Wolfson Microelectronics WM8750 CODEC"
467 depends on SND_SOC_I2C_AND_SPI
446 468
447config SND_SOC_WM8753 469config SND_SOC_WM8753
448 tristate 470 tristate "Wolfson Microelectronics WM8753 CODEC"
471 depends on SND_SOC_I2C_AND_SPI
449 472
450config SND_SOC_WM8770 473config SND_SOC_WM8770
451 tristate 474 tristate "Wolfson Microelectronics WM8770 CODEC"
475 depends on SND_SOC_I2C_AND_SPI
452 476
453config SND_SOC_WM8776 477config SND_SOC_WM8776
454 tristate 478 tristate "Wolfson Microelectronics WM8776 CODEC"
479 depends on SND_SOC_I2C_AND_SPI
455 480
456config SND_SOC_WM8782 481config SND_SOC_WM8782
457 tristate 482 tristate
458 483
459config SND_SOC_WM8804 484config SND_SOC_WM8804
460 tristate 485 tristate "Wolfson Microelectronics WM8804 S/PDIF transceiver"
486 depends on SND_SOC_I2C_AND_SPI
461 487
462config SND_SOC_WM8900 488config SND_SOC_WM8900
463 tristate 489 tristate
464 490
465config SND_SOC_WM8903 491config SND_SOC_WM8903
466 tristate 492 tristate "Wolfson Microelectronics WM8903 CODEC"
493 depends on I2C
467 494
468config SND_SOC_WM8904 495config SND_SOC_WM8904
469 tristate 496 tristate
@@ -481,7 +508,8 @@ config SND_SOC_WM8961
481 tristate 508 tristate
482 509
483config SND_SOC_WM8962 510config SND_SOC_WM8962
484 tristate 511 tristate "Wolfson Microelectronics WM8962 CODEC"
512 depends on I2C
485 513
486config SND_SOC_WM8971 514config SND_SOC_WM8971
487 tristate 515 tristate
@@ -554,4 +582,5 @@ config SND_SOC_ML26124
554 tristate 582 tristate
555 583
556config SND_SOC_TPA6130A2 584config SND_SOC_TPA6130A2
557 tristate 585 tristate "Texas Instruments TPA6130A2 headphone amplifier"
586 depends on I2C