summaryrefslogtreecommitdiff
path: root/sound/soc/sprd/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-03-27 19:47:03 +0800
committerMark Brown <broonie@kernel.org>2019-04-02 12:57:03 +0700
commitcce1396936ef2b347d622b4d49718818eb32029d (patch)
tree0333bed943371092581cef52a50895c53d9efd1d /sound/soc/sprd/Kconfig
parentf661fa2804af6950d1b7f5ffa22f6a80dcf52958 (diff)
ASoC: sprd: Add Spreadtrum audio compress offload support
We use 2-stage DMA mode to support Spreadtrum audio compress offload, which means we use one DMA source channel to transfer data from IRAM buffer to the DSP fifo to do decoding/encoding, once IRAM buffer is empty by transferring done, another DMA destination channel will be triggered automatically to start to transfer data from DDR buffer to the IRAM buffer. This can reduce the AP subsystem wakeup times to save power. Co-developed-by: Yintang Ren <yintang.ren@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sprd/Kconfig')
-rw-r--r--sound/soc/sprd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sprd/Kconfig b/sound/soc/sprd/Kconfig
index 43ece7daf0e9..3b1eb320dab4 100644
--- a/sound/soc/sprd/Kconfig
+++ b/sound/soc/sprd/Kconfig
@@ -1,6 +1,7 @@
config SND_SOC_SPRD
tristate "SoC Audio for the Spreadtrum SoC chips"
depends on ARCH_SPRD || COMPILE_TEST
+ select SND_SOC_COMPRESS
help
Say Y or M if you want to add support for codecs attached to
the Spreadtrum SoCs' Audio interfaces.