diff options
-rw-r--r-- | sound/soc/Kconfig | 6 | ||||
-rw-r--r-- | sound/soc/Makefile | 2 | ||||
-rw-r--r-- | sound/soc/at91/Kconfig | 24 | ||||
-rw-r--r-- | sound/soc/at91/Makefile | 11 |
4 files changed, 42 insertions, 1 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 288bad30b213..e7dab5bdc6b2 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
@@ -19,6 +19,12 @@ config SND_SOC | |||
19 | This SoC audio support can also be built as a module. If so, the module | 19 | This SoC audio support can also be built as a module. If so, the module |
20 | will be called snd-soc-core. | 20 | will be called snd-soc-core. |
21 | 21 | ||
22 | # All the supported Soc's | ||
23 | menu "SoC Platforms" | ||
24 | depends on SND_SOC | ||
25 | source "sound/soc/at91/Kconfig" | ||
26 | endmenu | ||
27 | |||
22 | # Supported codecs | 28 | # Supported codecs |
23 | source "sound/soc/codecs/Kconfig" | 29 | source "sound/soc/codecs/Kconfig" |
24 | 30 | ||
diff --git a/sound/soc/Makefile b/sound/soc/Makefile index 3dd4f20c5ecf..3e12a1654c49 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | snd-soc-core-objs := soc-core.o soc-dapm.o | 1 | snd-soc-core-objs := soc-core.o soc-dapm.o |
2 | 2 | ||
3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o | 3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o |
4 | obj-$(CONFIG_SND_SOC) += codecs/ | 4 | obj-$(CONFIG_SND_SOC) += codecs/ at91/ |
diff --git a/sound/soc/at91/Kconfig b/sound/soc/at91/Kconfig new file mode 100644 index 000000000000..d38ba9203bd9 --- /dev/null +++ b/sound/soc/at91/Kconfig | |||
@@ -0,0 +1,24 @@ | |||
1 | menu "SoC Audio for the Atmel AT91" | ||
2 | |||
3 | config SND_AT91_SOC | ||
4 | tristate "SoC Audio for the Atmel AT91 System-on-Chip" | ||
5 | depends on ARCH_AT91 && SND | ||
6 | select SND_PCM | ||
7 | help | ||
8 | Say Y or M if you want to add support for codecs attached to | ||
9 | the AT91 SSC interface. You will also need | ||
10 | to select the audio interfaces to support below. | ||
11 | |||
12 | config SND_AT91_SOC_I2S | ||
13 | tristate | ||
14 | |||
15 | config SND_AT91_SOC_ETI_B1_WM8731 | ||
16 | tristate "SoC I2S Audio support for Endrelia ETI-B1 board" | ||
17 | depends on SND_AT91_SOC && MACH_ETI_B1 | ||
18 | select SND_AT91_SOC_I2S | ||
19 | select SND_SOC_WM8731 | ||
20 | help | ||
21 | Say Y if you want to add support for SoC audio on Endrelia | ||
22 | ETI-B1 board. | ||
23 | |||
24 | endmenu | ||
diff --git a/sound/soc/at91/Makefile b/sound/soc/at91/Makefile new file mode 100644 index 000000000000..eb12ea2d1944 --- /dev/null +++ b/sound/soc/at91/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # AT91 Platform Support | ||
2 | snd-soc-at91-objs := at91rm9200-pcm.o | ||
3 | snd-soc-at91-i2s-objs := at91rm9200-i2s.o | ||
4 | |||
5 | obj-$(CONFIG_SND_AT91_SOC) += snd-soc-at91.o | ||
6 | obj-$(CONFIG_SND_AT91_SOC_I2S) += snd-soc-at91-i2s.o | ||
7 | |||
8 | # AT91 Machine Support | ||
9 | snd-soc-eti-b1-wm8731-objs := eti_b1_wm8731.o | ||
10 | |||
11 | obj-$(CONFIG_SND_AT91_SOC_ETI_B1_WM8731) += snd-soc-eti-b1-wm8731.o | ||