ASoC: xlnx: enable i2s driver build
authorMaruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Fri, 7 Dec 2018 18:32:38 +0000 (00:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 15:31:17 +0000 (15:31 +0000)
Enabled i2s driver build option.

Signed-off-by: Maruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/Kconfig
sound/soc/Makefile
sound/soc/xilinx/Kconfig [new file with mode: 0644]
sound/soc/xilinx/Makefile [new file with mode: 0644]

index 1cf11cf51e1dd6912c3bdce14c9e651b4fd955c2..d21659f5a7e29c5e19d8f662b16e26ee26bbdcc2 100644 (file)
@@ -73,6 +73,7 @@ source "sound/soc/tegra/Kconfig"
 source "sound/soc/txx9/Kconfig"
 source "sound/soc/uniphier/Kconfig"
 source "sound/soc/ux500/Kconfig"
+source "sound/soc/xilinx/Kconfig"
 source "sound/soc/xtensa/Kconfig"
 source "sound/soc/zte/Kconfig"
 
index 62a5f87c3cfc435b4ff8b1984f77ec65b3e53578..aff7b19894360612be451efa54d83390ea6ae440 100644 (file)
@@ -57,5 +57,6 @@ obj-$(CONFIG_SND_SOC) += tegra/
 obj-$(CONFIG_SND_SOC)  += txx9/
 obj-$(CONFIG_SND_SOC)  += uniphier/
 obj-$(CONFIG_SND_SOC)  += ux500/
+obj-$(CONFIG_SND_SOC)  += xilinx/
 obj-$(CONFIG_SND_SOC)  += xtensa/
 obj-$(CONFIG_SND_SOC)  += zte/
diff --git a/sound/soc/xilinx/Kconfig b/sound/soc/xilinx/Kconfig
new file mode 100644 (file)
index 0000000..25e287f
--- /dev/null
@@ -0,0 +1,8 @@
+config SND_SOC_XILINX_I2S
+       tristate "Audio support for the the Xilinx I2S"
+       help
+         Select this option to enable Xilinx I2S Audio. This enables
+         I2S playback and capture using xilinx soft IP. In transmitter
+         mode, IP receives audio in AES format, extracts PCM and sends
+         PCM data. In receiver mode, IP receives PCM audio and
+         encapsulates PCM in AES format and sends AES data.
diff --git a/sound/soc/xilinx/Makefile b/sound/soc/xilinx/Makefile
new file mode 100644 (file)
index 0000000..6c1209b
--- /dev/null
@@ -0,0 +1,2 @@
+snd-soc-xlnx-i2s-objs      := xlnx_i2s.o
+obj-$(CONFIG_SND_SOC_XILINX_I2S) += snd-soc-xlnx-i2s.o