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>
8 lines
246 B
Plaintext
8 lines
246 B
Plaintext
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.
|