[alsa-devel] [PATCH V3 4/5] sound: asoc: Adding Kconfig and Makefile to support SPEAr13XX ASoC driver
Rajeev Kumar
rajeev-dlh.kumar at st.com
Mon Apr 11 07:30:03 CEST 2011
This patch adds Kconfig and Makefile to support SPEAr13XX ASoC driver
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar at st.com>
---
sound/soc/spear/Kconfig | 19 +++++++++++++++++++
sound/soc/spear/Makefile | 12 ++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/spear/Kconfig
create mode 100644 sound/soc/spear/Makefile
diff --git a/sound/soc/spear/Kconfig b/sound/soc/spear/Kconfig
new file mode 100644
index 0000000..666f95f
--- /dev/null
+++ b/sound/soc/spear/Kconfig
@@ -0,0 +1,19 @@
+config SND_SOC_SPEAR_PCM
+ tristate "SoC Audio for the ST chip"
+ help
+ Say Y or M if you want to add support for codecs attached to
+ the I2S interface. You will also need
+ to select the audio interfaces to support below.
+
+config SND_SOC_SPEAR_I2S
+ tristate
+
+config SND_SOC_SPEAR_EVM
+ tristate "SoC Audio support for Spear EVM"
+ depends on SND_SOC_SPEAR_PCM
+ select SND_SOC_SPEAR_I2S
+ select SND_SOC_STA529
+ help
+ A driver for the EVM machine.
+ Say Y if you want to select audio on ST SPEAR board
+
diff --git a/sound/soc/spear/Makefile b/sound/soc/spear/Makefile
new file mode 100644
index 0000000..cc0972e
--- /dev/null
+++ b/sound/soc/spear/Makefile
@@ -0,0 +1,12 @@
+# SPEAR Platform Support
+snd-soc-pcm-objs := spear13xx-pcm.o
+snd-soc-i2s-objs := spear13xx-i2s.o
+
+obj-$(CONFIG_SND_SOC_SPEAR_PCM) += snd-soc-pcm.o
+obj-$(CONFIG_SND_SOC_SPEAR_I2S) += snd-soc-i2s.o
+
+# SPEAR Machine Support
+snd-soc-evb-objs := evb_sta529.o
+
+obj-$(CONFIG_SND_SOC_SPEAR_EVM) += snd-soc-evb.o
+
--
1.6.0.2
More information about the Alsa-devel
mailing list