ASoC: sprd: Add Spreadtrum multi-channel data transfer support
authorBaolin Wang <baolin.wang@linaro.org>
Tue, 23 Apr 2019 02:26:22 +0000 (10:26 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 25 Apr 2019 18:43:49 +0000 (19:43 +0100)
commitd7bff893e04f4e7b4a0789486da1435df5920f5a
treed110704cd86d70807dff57646d5eab23d9dee40c
parentc634d3ffc6b2c3b15ea79ffe0a761ce08b4da71a
ASoC: sprd: Add Spreadtrum multi-channel data transfer support

On Spreadtrum platform, the audio subsystem will use the multi-channel
data transfer controller to transfer sound stream between audio subsystem
and other AP/CP subsystem.

It can support 10 DAC channel and 10 ADC channel, and each channel has
512 bytes depth data fifo. Moreover each channel can be used DMA mode
or interrupt mode to transfer data.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sprd/Kconfig
sound/soc/sprd/Makefile
sound/soc/sprd/sprd-mcdt.c [new file with mode: 0644]
sound/soc/sprd/sprd-mcdt.h [new file with mode: 0644]