summaryrefslogtreecommitdiff
path: root/sound/soc/sunxi/Kconfig
diff options
context:
space:
mode:
authorMarcus Cooper <codekipper@gmail.com>2016-02-08 20:09:21 +0300
committerMark Brown <broonie@kernel.org>2016-02-19 19:25:51 +0300
commitf8260afa444b670016f22f2ba1440d9d2e74dcb6 (patch)
tree47ce83c423ad037fe08d1da08f297dc82d044104 /sound/soc/sunxi/Kconfig
parent8020e1bbaa5e8d8340ab78c71a69ccdd362ab203 (diff)
downloadlinux-f8260afa444b670016f22f2ba1440d9d2e74dcb6.tar.xz
ASoC: sunxi: Add support for the SPDIF block
The sun4i, sun5i and sun7i SoC families have an SPDIF block which is capable of playback and capture. This patch enables the playback of this block for the sun4i families. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/Kconfig')
-rw-r--r--sound/soc/sunxi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 84c72ec6ad73..ae42294ef688 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -8,4 +8,12 @@ config SND_SUN4I_CODEC
Select Y or M to add support for the Codec embedded in the Allwinner
A10 and affiliated SoCs.
+config SND_SUN4I_SPDIF
+ tristate "Allwinner A10 SPDIF Support"
+ depends on OF
+ select SND_SOC_GENERIC_DMAENGINE_PCM
+ select REGMAP_MMIO
+ help
+ Say Y or M to add support for the S/PDIF audio block in the Allwinner
+ A10 and affiliated SoCs.
endmenu