summaryrefslogtreecommitdiff
path: root/sound/soc/spear
diff options
context:
space:
mode:
authorRajeev Kumar <rajeev-dlh.kumar@st.com>2013-06-10 16:19:40 +0530
committerMark Brown <broonie@linaro.org>2013-06-12 16:25:22 +0100
commite58070ee4fdf797c47cb296992ce8db3df715eca (patch)
treeb5f8146d28c62a7d756b0729e3a633b86fb4a42d /sound/soc/spear
parent19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e (diff)
ASoC: Add Kconfig and Makefile to support SPEAr audio driver
This patch adds Kconfig and Makefile to support SPEAr Audio driver. Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/spear')
-rw-r--r--sound/soc/spear/Kconfig39
-rw-r--r--sound/soc/spear/Makefile7
2 files changed, 46 insertions, 0 deletions
diff --git a/sound/soc/spear/Kconfig b/sound/soc/spear/Kconfig
new file mode 100644
index 000000000000..3b7cdadc11cc
--- /dev/null
+++ b/sound/soc/spear/Kconfig
@@ -0,0 +1,39 @@
+config SND_SPEAR_EVM
+ tristate "SoC Audio support for SPEAr EVM"
+ select SND_DESIGNWARE_I2S
+ select SND_SOC_STA529
+ select SND_SPEAR_SOC
+ help
+ Say Y if you want to add support for SoC audio on SPEAr
+ platform
+
+config SND_SPEAR1340_EVM
+ tristate "SoC Audio support for SPEAr1340 EVM"
+ select SND_DESIGNWARE_I2S
+ select SND_SOC_STA529
+ select SND_SPEAR_SPDIF_OUT
+ select SND_SPEAR_SPDIF_IN
+ select SND_SOC_SPDIF
+ select SND_SPEAR_SOC
+ help
+ Say Y if you want to add support for SoC audio on SPEAr1340
+ platform
+
+config SND_SPEAR_SOC
+ tristate "SoC Audio for the ST chip"
+ depends on SND_DESIGNWARE_I2S || SND_SPEAR_SPDIF_OUT || \
+ SND_SPEAR_SPDIF_IN
+ help
+ Say Y or M if you want to add support for any of the audio
+ controllers (I2S/SPDIF). You will also need to select
+ the audio interface codecs to support below.
+
+config SND_SPEAR_SPDIF_OUT
+ tristate "SPEAr SPDIF Out Device Driver"
+ help
+ Say Y or M if you want to add support for SPDIF OUT driver.
+
+config SND_SPEAR_SPDIF_IN
+ tristate "SPEAr SPDIF IN Device Driver"
+ help
+ Say Y or M if you want to add support for SPDIF IN driver.
diff --git a/sound/soc/spear/Makefile b/sound/soc/spear/Makefile
new file mode 100644
index 000000000000..b36512655bcf
--- /dev/null
+++ b/sound/soc/spear/Makefile
@@ -0,0 +1,7 @@
+# SPEAR Platform Support
+obj-$(CONFIG_SND_SPEAR_SOC) += spear_pcm.o
+obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += spdif_in.o
+obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += spdif_out.o
+
+# SPEAR Machine Support
+obj-$(CONFIG_SND_SPEAR_EVM) += spear_evb.o