aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-22 17:41:11 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-30 11:54:10 -0400
commitca53fb24dd21bff32c4b41b2be1035a1adfc0135 (patch)
treef16fb6314e5d10ac47a20f34729da092e0cdb7ae /sound/soc/codecs/Kconfig
parente775f6c0fb6ac25ab8845d4ad1e17b4b015487f0 (diff)
ASoC: Use finer grained dependencies in SND_SOC_ALL_CODECS
Move the bus dependencies in SND_SOC_ALL_CODECS into the individual codec options rather than have them centrally. This allows the inclusion of AC97 codecs when testing on platforms with AC97 support and will also handle codecs on multi-function devices more gracefully. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig44
1 files changed, 24 insertions, 20 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 38a0e3b620a7..3c76cae68b4a 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1,31 +1,35 @@
1config SND_SOC_ALL_CODECS 1config SND_SOC_ALL_CODECS
2 tristate "Build all ASoC CODEC drivers" 2 tristate "Build all ASoC CODEC drivers"
3 depends on I2C 3 select SND_SOC_AC97 if SND_SOC_AC97_BUS
4 select SPI 4 select SND_SOC_AD1980 if SND_SOC_AC97_BUS
5 select SPI_MASTER 5 select SND_SOC_AD73311 if I2C
6 select SND_SOC_AD73311 6 select SND_SOC_AK4535 if I2C
7 select SND_SOC_AK4535 7 select SND_SOC_CS4270 if I2C
8 select SND_SOC_CS4270 8 select SND_SOC_SSM2602 if I2C
9 select SND_SOC_SSM2602 9 select SND_SOC_TLV320AIC23 if I2C
10 select SND_SOC_TLV320AIC23 10 select SND_SOC_TLV320AIC26 if SPI_MASTER
11 select SND_SOC_TLV320AIC26 11 select SND_SOC_TLV320AIC3X if I2C
12 select SND_SOC_TLV320AIC3X 12 select SND_SOC_UDA1380 if I2C
13 select SND_SOC_UDA1380 13 select SND_SOC_WM8510 if (I2C || SPI_MASTER)
14 select SND_SOC_WM8510 14 select SND_SOC_WM8580 if I2C
15 select SND_SOC_WM8580 15 select SND_SOC_WM8731 if (I2C || SPI_MASTER)
16 select SND_SOC_WM8731 16 select SND_SOC_WM8750 if (I2C || SPI_MASTER)
17 select SND_SOC_WM8750 17 select SND_SOC_WM8753 if (I2C || SPI_MASTER)
18 select SND_SOC_WM8753 18 select SND_SOC_WM8900 if I2C
19 select SND_SOC_WM8900 19 select SND_SOC_WM8903 if I2C
20 select SND_SOC_WM8903 20 select SND_SOC_WM8971 if I2C
21 select SND_SOC_WM8971 21 select SND_SOC_WM8990 if I2C
22 select SND_SOC_WM8990 22 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
23 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
23 help 24 help
24 Normally ASoC codec drivers are only built if a machine driver which 25 Normally ASoC codec drivers are only built if a machine driver which
25 uses them is also built since they are only usable with a machine 26 uses them is also built since they are only usable with a machine
26 driver. Selecting this option will allow these drivers to be built 27 driver. Selecting this option will allow these drivers to be built
27 without an explicit machine driver for test and development purposes. 28 without an explicit machine driver for test and development purposes.
28 29
30 Support for the bus types used to access the codecs to be built must
31 be selected separately.
32
29 If unsure select "N". 33 If unsure select "N".
30 34
31 35