aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-16 04:56:37 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 06:28:25 -0400
commitd61e11260016f3589d60f94286c89ef823a26605 (patch)
treeb471997bab23373d07c88b69d0f51b4e03f0d687 /sound/soc/fsl
parent93a86bea26637c2dd4db6d736e010789d339a96d (diff)
ASoC: fsl: separate SSI and DMA Kconfig options
The fsl_ssi driver will possibly be shared between Freescale PowerPC and ARM/IMX families, so give it a separate Kconfig option. Then fsl_ssi driver can possibly be selected independently from selecting PowerPC DMA based PCM driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/Kconfig15
-rw-r--r--sound/soc/fsl/Makefile3
2 files changed, 11 insertions, 7 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index d754d34d68a6..ca693b2ed838 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -1,10 +1,11 @@
1config SND_MPC52xx_DMA 1config SND_MPC52xx_DMA
2 tristate 2 tristate
3 3
4# ASoC platform support for the Freescale PowerPC SOCs that have an SSI and 4config SND_SOC_FSL_SSI
5# an Elo DMA controller, such as the MPC8610 and P1022. You will still need to 5 tristate
6# select a platform driver and a codec driver. 6 depends on FSL_SOC
7config SND_SOC_POWERPC_SSI 7
8config SND_SOC_POWERPC_DMA
8 tristate 9 tristate
9 depends on FSL_SOC 10 depends on FSL_SOC
10 11
@@ -12,7 +13,8 @@ config SND_SOC_MPC8610_HPCD
12 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board" 13 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
13 # I2C is necessary for the CS4270 driver 14 # I2C is necessary for the CS4270 driver
14 depends on MPC8610_HPCD && I2C 15 depends on MPC8610_HPCD && I2C
15 select SND_SOC_POWERPC_SSI 16 select SND_SOC_FSL_SSI
17 select SND_SOC_POWERPC_DMA
16 select SND_SOC_CS4270 18 select SND_SOC_CS4270
17 select SND_SOC_CS4270_VD33_ERRATA 19 select SND_SOC_CS4270_VD33_ERRATA
18 default y if MPC8610_HPCD 20 default y if MPC8610_HPCD
@@ -23,7 +25,8 @@ config SND_SOC_P1022_DS
23 tristate "ALSA SoC support for the Freescale P1022 DS board" 25 tristate "ALSA SoC support for the Freescale P1022 DS board"
24 # I2C is necessary for the WM8776 driver 26 # I2C is necessary for the WM8776 driver
25 depends on P1022_DS && I2C 27 depends on P1022_DS && I2C
26 select SND_SOC_POWERPC_SSI 28 select SND_SOC_FSL_SSI
29 select SND_SOC_POWERPC_DMA
27 select SND_SOC_WM8776 30 select SND_SOC_WM8776
28 default y if P1022_DS 31 default y if P1022_DS
29 help 32 help
diff --git a/sound/soc/fsl/Makefile b/sound/soc/fsl/Makefile
index b4a38c0ac58c..95d483f6af7f 100644
--- a/sound/soc/fsl/Makefile
+++ b/sound/soc/fsl/Makefile
@@ -9,7 +9,8 @@ obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o
9# Freescale PowerPC SSI/DMA Platform Support 9# Freescale PowerPC SSI/DMA Platform Support
10snd-soc-fsl-ssi-objs := fsl_ssi.o 10snd-soc-fsl-ssi-objs := fsl_ssi.o
11snd-soc-fsl-dma-objs := fsl_dma.o 11snd-soc-fsl-dma-objs := fsl_dma.o
12obj-$(CONFIG_SND_SOC_POWERPC_SSI) += snd-soc-fsl-ssi.o snd-soc-fsl-dma.o 12obj-$(CONFIG_SND_SOC_FSL_SSI) += snd-soc-fsl-ssi.o
13obj-$(CONFIG_SND_SOC_POWERPC_DMA) += snd-soc-fsl-dma.o
13 14
14# MPC5200 Platform Support 15# MPC5200 Platform Support
15obj-$(CONFIG_SND_MPC52xx_DMA) += mpc5200_dma.o 16obj-$(CONFIG_SND_MPC52xx_DMA) += mpc5200_dma.o