summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>2019-01-03 23:39:53 +0530
committerMark Brown <broonie@kernel.org>2019-01-07 18:08:09 +0000
commit47caf048a017ecc95cdd0802bc3b015a1559e601 (patch)
tree3548ae0a59b0b40abc9385a39d6af9831a28d128
parentb1d2a4cca20cb84ffe02116fd8d2b91a94d49d5e (diff)
downloadlinux-47caf048a017ecc95cdd0802bc3b015a1559e601.tar.bz2
ASoC: xlnx: enable SPDIF driver build
Added SPDIF driver build related changes. Signed-off-by: Maruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/xilinx/Kconfig7
-rw-r--r--sound/soc/xilinx/Makefile2
2 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/xilinx/Kconfig b/sound/soc/xilinx/Kconfig
index ac48d6a00c36..47f606b924e4 100644
--- a/sound/soc/xilinx/Kconfig
+++ b/sound/soc/xilinx/Kconfig
@@ -13,3 +13,10 @@ config SND_SOC_XILINX_AUDIO_FORMATTER
Select this option to enable Xilinx audio formatter
support. This provides DMA platform device support for
audio functionality.
+
+config SND_SOC_XILINX_SPDIF
+ tristate "Audio support for the the Xilinx SPDIF"
+ help
+ Select this option to enable Xilinx SPDIF Audio.
+ This provides playback and capture of SPDIF audio in
+ AES format.
diff --git a/sound/soc/xilinx/Makefile b/sound/soc/xilinx/Makefile
index 432693b1cc79..d79fd38b094b 100644
--- a/sound/soc/xilinx/Makefile
+++ b/sound/soc/xilinx/Makefile
@@ -2,3 +2,5 @@ snd-soc-xlnx-i2s-objs := xlnx_i2s.o
obj-$(CONFIG_SND_SOC_XILINX_I2S) += snd-soc-xlnx-i2s.o
snd-soc-xlnx-formatter-pcm-objs := xlnx_formatter_pcm.o
obj-$(CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER) += snd-soc-xlnx-formatter-pcm.o
+snd-soc-xlnx-spdif-objs := xlnx_spdif.o
+obj-$(CONFIG_SND_SOC_XILINX_SPDIF) += snd-soc-xlnx-spdif.o