summaryrefslogtreecommitdiffstats
path: root/sound/soc/adi/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-12-06 11:02:52 +0100
committerMark Brown <broonie@linaro.org>2013-12-09 17:57:36 +0000
commit429e4374cc007f260c7d0e2d0df5247deeaf8fbe (patch)
tree0683f51b5d2deb4a2bd4cc24eefd4656dd59b9eb /sound/soc/adi/Kconfig
parentd7b528eff9277b83b315500f44ade178035ed0d1 (diff)
downloadlinux-429e4374cc007f260c7d0e2d0df5247deeaf8fbe.tar.bz2
ASoC: Add support for the Analog Devices AXI-SPDIF driver
This patch adds a ASoC driver for the AXI-SPDIF softcore. The core implements a simple SPDIF transmitter and is used on some Analog Devices' reference designs for various FPGA platforms. For now the driver only support the PL330 as the the DMA controller. The driver uses the generic PCM dmaengine driver for its PCM. The only restriction is that we need to set the SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag as the dmaengine driver for the DMA core (PL330) that is used with this core has no residue reporting capabilities yet. This will be fixed in the future though. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/adi/Kconfig')
-rw-r--r--sound/soc/adi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/adi/Kconfig b/sound/soc/adi/Kconfig
index 46f4b79f7a87..dd763f55edac 100644
--- a/sound/soc/adi/Kconfig
+++ b/sound/soc/adi/Kconfig
@@ -11,3 +11,11 @@ config SND_SOC_ADI_AXI_I2S
select REGMAP_MMIO
help
ASoC driver for the Analog Devices AXI-I2S softcore peripheral.
+
+config SND_SOC_ADI_AXI_SPDIF
+ tristate "AXI-SPDIF support"
+ depends on SND_SOC_ADI
+ select SND_SOC_GENERIC_DMAENGINE_PCM
+ select REGMAP_MMIO
+ help
+ ASoC driver for the Analog Devices AXI-SPDIF softcore peripheral.