Skip to content

Commit

Permalink
ASoC: mxs: add asoc configuration files
Browse files Browse the repository at this point in the history
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Dong Aisheng authored and Mark Brown committed Jul 28, 2011
1 parent fcb5e47 commit 009ad05
Show file tree
Hide file tree
Showing 4 changed files with 32 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 @@ -51,6 +51,7 @@ source "sound/soc/nuc900/Kconfig"
source "sound/soc/omap/Kconfig"
source "sound/soc/kirkwood/Kconfig"
source "sound/soc/mid-x86/Kconfig"
source "sound/soc/mxs/Kconfig"
source "sound/soc/pxa/Kconfig"
source "sound/soc/samsung/Kconfig"
source "sound/soc/s6000/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions sound/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ obj-$(CONFIG_SND_SOC) += fsl/
obj-$(CONFIG_SND_SOC) += imx/
obj-$(CONFIG_SND_SOC) += jz4740/
obj-$(CONFIG_SND_SOC) += mid-x86/
obj-$(CONFIG_SND_SOC) += mxs/
obj-$(CONFIG_SND_SOC) += nuc900/
obj-$(CONFIG_SND_SOC) += omap/
obj-$(CONFIG_SND_SOC) += kirkwood/
Expand Down
20 changes: 20 additions & 0 deletions sound/soc/mxs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
menuconfig SND_MXS_SOC
tristate "SoC Audio for Freescale MXS CPUs"
depends on ARCH_MXS
select SND_PCM
help
Say Y or M if you want to add support for codecs attached to
the MXS SAIF interface.


if SND_MXS_SOC

config SND_SOC_MXS_SGTL5000
tristate "SoC Audio support for i.MX boards with sgtl5000"
depends on I2C
select SND_SOC_SGTL5000
help
Say Y if you want to add support for SoC audio on an MXS board with
a sgtl5000 codec.

endif # SND_MXS_SOC
10 changes: 10 additions & 0 deletions sound/soc/mxs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# MXS Platform Support
snd-soc-mxs-objs := mxs-saif.o
snd-soc-mxs-pcm-objs := mxs-pcm.o

obj-$(CONFIG_SND_MXS_SOC) += snd-soc-mxs.o snd-soc-mxs-pcm.o

# i.MX Machine Support
snd-soc-mxs-sgtl5000-objs := mxs-sgtl5000.o

obj-$(CONFIG_SND_SOC_MXS_SGTL5000) += snd-soc-mxs-sgtl5000.o

0 comments on commit 009ad05

Please sign in to comment.