aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/Kconfig
diff options
context:
space:
mode:
authorScott Jiang <scott.jiang.linux@gmail.com>2012-06-20 17:00:30 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-20 06:26:12 -0400
commitd2aae47f804830da904d2454d73959eda4ebb0fd (patch)
tree98fc58e529180af877a81865cd6ac2f0de3b184f /sound/soc/blackfin/Kconfig
parent629b15b95d5b12a47791147b7559eacbad04d507 (diff)
ASoC: add sport driver for bf6xx soc
The SPORT(Serial Port) module on bf6xx soc has a totally different ip comparing to bf5xx soc. An individual SPORT module consists of two independently configurable SPORT halves with identical functionality. Each SPORT half can be configured for either transmitter or receiver. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin/Kconfig')
-rw-r--r--sound/soc/blackfin/Kconfig10
1 files changed, 7 insertions, 3 deletions
diff --git a/sound/soc/blackfin/Kconfig b/sound/soc/blackfin/Kconfig
index 9f6bc55fc399..0374a3965095 100644
--- a/sound/soc/blackfin/Kconfig
+++ b/sound/soc/blackfin/Kconfig
@@ -1,7 +1,8 @@
1config SND_BF5XX_I2S 1config SND_BF5XX_I2S
2 tristate "SoC I2S Audio for the ADI BF5xx chip" 2 tristate "SoC I2S Audio for the ADI Blackfin chip"
3 depends on BLACKFIN 3 depends on BLACKFIN
4 select SND_BF5XX_SOC_SPORT 4 select SND_BF5XX_SOC_SPORT if !BF60x
5 select SND_BF6XX_SOC_SPORT if BF60x
5 help 6 help
6 Say Y or M if you want to add support for codecs attached to 7 Say Y or M if you want to add support for codecs attached to
7 the Blackfin SPORT (synchronous serial ports) interface in I2S 8 the Blackfin SPORT (synchronous serial ports) interface in I2S
@@ -162,6 +163,9 @@ config SND_BF5XX_SOC_AD1980
162config SND_BF5XX_SOC_SPORT 163config SND_BF5XX_SOC_SPORT
163 tristate 164 tristate
164 165
166config SND_BF6XX_SOC_SPORT
167 tristate
168
165config SND_BF5XX_SOC_I2S 169config SND_BF5XX_SOC_I2S
166 tristate 170 tristate
167 171
@@ -173,7 +177,7 @@ config SND_BF5XX_SOC_AC97
173 177
174config SND_BF5XX_SPORT_NUM 178config SND_BF5XX_SPORT_NUM
175 int "Set a SPORT for Sound chip" 179 int "Set a SPORT for Sound chip"
176 depends on (SND_BF5XX_I2S || SND_BF5XX_AC97 || SND_BF5XX_TDM) 180 depends on (SND_BF5XX_SOC_SPORT || SND_BF6XX_SOC_SPORT)
177 range 0 3 if BF54x 181 range 0 3 if BF54x
178 range 0 1 if !BF54x 182 range 0 1 if !BF54x
179 default 0 183 default 0