aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/Kconfig
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2008-11-18 03:18:17 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-18 06:40:19 -0500
commit67f854b910613eeffec4fe71e35c0cd8c32c82ec (patch)
treee544eb4033514ec44c46e21323d0402f450ac84d /sound/soc/blackfin/Kconfig
parent9905ed35fdec0ebb3be8a724021ff3b104571667 (diff)
ASoC: Blackfin: add multi-channel function support
This patch provides a option for users to enable multi-channel function support in Blackfin ASoC driver. Because Blackfin is without MMU, it is easy for us and the user to enable this function at compiling stage not dynamically on the fly. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin/Kconfig')
-rw-r--r--sound/soc/blackfin/Kconfig14
1 files changed, 11 insertions, 3 deletions
diff --git a/sound/soc/blackfin/Kconfig b/sound/soc/blackfin/Kconfig
index 3fce18788b77..43d89fc253ae 100644
--- a/sound/soc/blackfin/Kconfig
+++ b/sound/soc/blackfin/Kconfig
@@ -47,7 +47,7 @@ config SND_BF5XX_AC97
47 properly with this driver. This driver is known to work with the 47 properly with this driver. This driver is known to work with the
48 Analog Devices line of AC97 codecs. 48 Analog Devices line of AC97 codecs.
49 49
50config SND_MMAP_SUPPORT 50config SND_BF5XX_MMAP_SUPPORT
51 bool "Enable MMAP Support" 51 bool "Enable MMAP Support"
52 depends on SND_BF5XX_AC97 52 depends on SND_BF5XX_AC97
53 default y 53 default y
@@ -55,9 +55,17 @@ config SND_MMAP_SUPPORT
55 Say y if you want AC97 driver to support mmap mode. 55 Say y if you want AC97 driver to support mmap mode.
56 We introduce an intermediate buffer to simulate mmap. 56 We introduce an intermediate buffer to simulate mmap.
57 57
58config SND_BF5XX_MULTICHAN_SUPPORT
59 bool "Enable Multichannel Support"
60 depends on SND_BF5XX_AC97
61 default n
62 help
63 Say y if you want AC97 driver to support up to 5.1 channel audio.
64 this mode will consume much more memory for DMA.
65
58config SND_BF5XX_SOC_SPORT 66config SND_BF5XX_SOC_SPORT
59 tristate 67 tristate
60 68
61config SND_BF5XX_SOC_I2S 69config SND_BF5XX_SOC_I2S
62 tristate 70 tristate
63 select SND_BF5XX_SOC_SPORT 71 select SND_BF5XX_SOC_SPORT
@@ -90,7 +98,7 @@ config SND_BF5XX_HAVE_COLD_RESET
90 depends on SND_BF5XX_AC97 98 depends on SND_BF5XX_AC97
91 default y if BFIN548_EZKIT 99 default y if BFIN548_EZKIT
92 default n if !BFIN548_EZKIT 100 default n if !BFIN548_EZKIT
93 101
94config SND_BF5XX_RESET_GPIO_NUM 102config SND_BF5XX_RESET_GPIO_NUM
95 int "Set a GPIO for cold reset" 103 int "Set a GPIO for cold reset"
96 depends on SND_BF5XX_HAVE_COLD_RESET 104 depends on SND_BF5XX_HAVE_COLD_RESET