aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>2007-02-14 07:20:46 -0500
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:55:37 -0400
commit86e1f0df2f88fd86657ddb993bba468a75128e02 (patch)
tree8e19db09fca7beb6aa75f0a7f8eb1f43cecd28b2
parentc0f41bb1717ae31f806615e81b808753271dd3d9 (diff)
[ALSA] ASoC Samsung S3C24xx build
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>
-rw-r--r--sound/soc/Kconfig1
-rw-r--r--sound/soc/Makefile2
-rw-r--r--sound/soc/s3c24xx/Kconfig16
-rw-r--r--sound/soc/s3c24xx/Makefile6
4 files changed, 24 insertions, 1 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index dccaa4be679e..03e04aecd74c 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -26,6 +26,7 @@ menu "SoC Platforms"
26depends on SND_SOC 26depends on SND_SOC
27source "sound/soc/at91/Kconfig" 27source "sound/soc/at91/Kconfig"
28source "sound/soc/pxa/Kconfig" 28source "sound/soc/pxa/Kconfig"
29source "sound/soc/s3c24xx/Kconfig"
29endmenu 30endmenu
30 31
31# Supported codecs 32# Supported codecs
diff --git a/sound/soc/Makefile b/sound/soc/Makefile
index 98e6f49dafc2..0ae2e49036f9 100644
--- a/sound/soc/Makefile
+++ b/sound/soc/Makefile
@@ -1,4 +1,4 @@
1snd-soc-core-objs := soc-core.o soc-dapm.o 1snd-soc-core-objs := soc-core.o soc-dapm.o
2 2
3obj-$(CONFIG_SND_SOC) += snd-soc-core.o 3obj-$(CONFIG_SND_SOC) += snd-soc-core.o
4obj-$(CONFIG_SND_SOC) += codecs/ at91/ pxa/ 4obj-$(CONFIG_SND_SOC) += codecs/ at91/ pxa/ s3c24xx/
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
new file mode 100644
index 000000000000..433da9f854af
--- /dev/null
+++ b/sound/soc/s3c24xx/Kconfig
@@ -0,0 +1,16 @@
1menu "SoC Audio for the Samsung S3C24XX"
2
3config SND_S3C24XX_SOC
4 tristate "SoC Audio for the Samsung S3C24XX chips"
5 depends on ARCH_S3C2410 && SND
6 select SND_PCM
7 help
8 Say Y or M if you want to add support for codecs attached to
9 the S3C24XX AC97, I2S or SSP interface. You will also need
10 to select the audio interfaces to support below.
11
12config SND_S3C24XX_SOC_I2S
13 tristate
14
15endmenu
16
diff --git a/sound/soc/s3c24xx/Makefile b/sound/soc/s3c24xx/Makefile
new file mode 100644
index 000000000000..6f0fffcb30f5
--- /dev/null
+++ b/sound/soc/s3c24xx/Makefile
@@ -0,0 +1,6 @@
1# S3c24XX Platform Support
2snd-soc-s3c24xx-objs := s3c24xx-pcm.o
3snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o
4
5obj-$(CONFIG_SND_S3C24XX_SOC) += snd-soc-s3c24xx.o
6obj-$(CONFIG_SND_S3C24XX_SOC_I2S) += snd-soc-s3c24xx-i2s.o