Skip to content

Commit

Permalink
[ALSA] ASoC AT91RM92000 build
Browse files Browse the repository at this point in the history
This patch adds a Makefile and Kconfig to build the ASoC AT91RM9200
support.

Signed-off-by: Frank Mandarino <fmandarino@endrelia.com>
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Frank Mandarino authored and Jaroslav Kysela committed Feb 9, 2007
1 parent b41bf38 commit 8dafc0f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ config SND_SOC
This SoC audio support can also be built as a module. If so, the module
will be called snd-soc-core.

# All the supported Soc's
menu "SoC Platforms"
depends on SND_SOC
source "sound/soc/at91/Kconfig"
endmenu

# Supported codecs
source "sound/soc/codecs/Kconfig"

Expand Down
2 changes: 1 addition & 1 deletion sound/soc/Makefile
Original file line number Diff line number Diff line change
@@ -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/
obj-$(CONFIG_SND_SOC) += codecs/ at91/
24 changes: 24 additions & 0 deletions sound/soc/at91/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
menu "SoC Audio for the Atmel AT91"

config SND_AT91_SOC
tristate "SoC Audio for the Atmel AT91 System-on-Chip"
depends on ARCH_AT91 && SND
select SND_PCM
help
Say Y or M if you want to add support for codecs attached to
the AT91 SSC interface. You will also need
to select the audio interfaces to support below.

config SND_AT91_SOC_I2S
tristate

config SND_AT91_SOC_ETI_B1_WM8731
tristate "SoC I2S Audio support for Endrelia ETI-B1 board"
depends on SND_AT91_SOC && MACH_ETI_B1
select SND_AT91_SOC_I2S
select SND_SOC_WM8731
help
Say Y if you want to add support for SoC audio on Endrelia
ETI-B1 board.

endmenu
11 changes: 11 additions & 0 deletions sound/soc/at91/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AT91 Platform Support
snd-soc-at91-objs := at91rm9200-pcm.o
snd-soc-at91-i2s-objs := at91rm9200-i2s.o

obj-$(CONFIG_SND_AT91_SOC) += snd-soc-at91.o
obj-$(CONFIG_SND_AT91_SOC_I2S) += snd-soc-at91-i2s.o

# AT91 Machine Support
snd-soc-eti-b1-wm8731-objs := eti_b1_wm8731.o

obj-$(CONFIG_SND_AT91_SOC_ETI_B1_WM8731) += snd-soc-eti-b1-wm8731.o

0 comments on commit 8dafc0f

Please sign in to comment.