Skip to content

Commit

Permalink
ASoC: NUC900/audio: add nuc900 audio driver support
Browse files Browse the repository at this point in the history
Add support for NUC900 AC97

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Wan ZongShun authored and Mark Brown committed May 19, 2010
1 parent b6f4bb3 commit 1082e27
Show file tree
Hide file tree
Showing 8 changed files with 1,036 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ source "sound/soc/blackfin/Kconfig"
source "sound/soc/davinci/Kconfig"
source "sound/soc/fsl/Kconfig"
source "sound/soc/imx/Kconfig"
source "sound/soc/nuc900/Kconfig"
source "sound/soc/omap/Kconfig"
source "sound/soc/pxa/Kconfig"
source "sound/soc/s3c24xx/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions sound/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ obj-$(CONFIG_SND_SOC) += blackfin/
obj-$(CONFIG_SND_SOC) += davinci/
obj-$(CONFIG_SND_SOC) += fsl/
obj-$(CONFIG_SND_SOC) += imx/
obj-$(CONFIG_SND_SOC) += nuc900/
obj-$(CONFIG_SND_SOC) += omap/
obj-$(CONFIG_SND_SOC) += pxa/
obj-$(CONFIG_SND_SOC) += s3c24xx/
Expand Down
27 changes: 27 additions & 0 deletions sound/soc/nuc900/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
##
## NUC900 series AC97 API
##
config SND_SOC_NUC900
tristate "SoC Audio for NUC900 series"
depends on ARCH_W90X900
help
This option enables support for AC97 mode on the NUC900 SoC.

config SND_SOC_NUC900_AC97
tristate
select AC97_BUS
select SND_AC97_CODEC
select SND_SOC_AC97_BUS


##
## Boards
##
config SND_SOC_NUC900EVB
tristate "NUC900 AC97 support for demo board"
depends on SND_SOC_NUC900
select SND_SOC_NUC900_AC97
select SND_SOC_AC97_CODEC
help
Select this option to enable audio (AC97) on the
NUC900 demoboard.
11 changes: 11 additions & 0 deletions sound/soc/nuc900/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# NUC900 series audio
snd-soc-nuc900-pcm-objs := nuc900-pcm.o
snd-soc-nuc900-ac97-objs := nuc900-ac97.o

obj-$(CONFIG_SND_SOC_NUC900) += snd-soc-nuc900-pcm.o
obj-$(CONFIG_SND_SOC_NUC900_AC97) += snd-soc-nuc900-ac97.o

# Boards
snd-soc-nuc900-audio-objs := nuc900-audio.o

obj-$(CONFIG_SND_SOC_NUC900EVB) += snd-soc-nuc900-audio.o
Loading

0 comments on commit 1082e27

Please sign in to comment.