[ALSA] ASoC Samsung S3C24xx build
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>
Wed, 14 Feb 2007 12:20:46 +0000 (13:20 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:37 +0000 (16:55 +0200)
This patch builds the Samsung S3C24xx audio DMA and I2S drivers.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/Kconfig
sound/soc/Makefile
sound/soc/s3c24xx/Kconfig [new file with mode: 0644]
sound/soc/s3c24xx/Makefile [new file with mode: 0644]

index dccaa4be679edb2321b832ecf6645d7c4aa2503f..03e04aecd74c23799d88b6ca3aa115a0669fa770 100644 (file)
@@ -26,6 +26,7 @@ menu "SoC Platforms"
 depends on SND_SOC
 source "sound/soc/at91/Kconfig"
 source "sound/soc/pxa/Kconfig"
+source "sound/soc/s3c24xx/Kconfig"
 endmenu
 
 # Supported codecs
index 98e6f49dafc2a5a4167b6d17f2182925e4f79c46..0ae2e49036f9050bffa9701129cb1bd4f69665d6 100644 (file)
@@ -1,4 +1,4 @@
 snd-soc-core-objs := soc-core.o soc-dapm.o
 
 obj-$(CONFIG_SND_SOC)  += snd-soc-core.o
-obj-$(CONFIG_SND_SOC)  += codecs/ at91/ pxa/
+obj-$(CONFIG_SND_SOC)  += codecs/ at91/ pxa/ s3c24xx/
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
new file mode 100644 (file)
index 0000000..433da9f
--- /dev/null
@@ -0,0 +1,16 @@
+menu "SoC Audio for the Samsung S3C24XX"
+
+config SND_S3C24XX_SOC
+       tristate "SoC Audio for the Samsung S3C24XX chips"
+       depends on ARCH_S3C2410 && SND
+       select SND_PCM
+       help
+         Say Y or M if you want to add support for codecs attached to
+         the S3C24XX AC97, I2S or SSP interface. You will also need
+         to select the audio interfaces to support below.
+
+config SND_S3C24XX_SOC_I2S
+       tristate
+
+endmenu
+
diff --git a/sound/soc/s3c24xx/Makefile b/sound/soc/s3c24xx/Makefile
new file mode 100644 (file)
index 0000000..6f0fffc
--- /dev/null
@@ -0,0 +1,6 @@
+# S3c24XX Platform Support
+snd-soc-s3c24xx-objs := s3c24xx-pcm.o
+snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o
+
+obj-$(CONFIG_SND_S3C24XX_SOC) += snd-soc-s3c24xx.o
+obj-$(CONFIG_SND_S3C24XX_SOC_I2S) += snd-soc-s3c24xx-i2s.o