Commit d61e1126 authored by Shawn Guo's avatar Shawn Guo Committed by Mark Brown

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: default avatarShawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 93a86bea
config SND_MPC52xx_DMA config SND_MPC52xx_DMA
tristate tristate
# ASoC platform support for the Freescale PowerPC SOCs that have an SSI and config SND_SOC_FSL_SSI
# an Elo DMA controller, such as the MPC8610 and P1022. You will still need to tristate
# select a platform driver and a codec driver. depends on FSL_SOC
config SND_SOC_POWERPC_SSI
config SND_SOC_POWERPC_DMA
tristate tristate
depends on FSL_SOC depends on FSL_SOC
...@@ -12,7 +13,8 @@ config SND_SOC_MPC8610_HPCD ...@@ -12,7 +13,8 @@ config SND_SOC_MPC8610_HPCD
tristate "ALSA SoC support for the Freescale MPC8610 HPCD board" tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
# I2C is necessary for the CS4270 driver # I2C is necessary for the CS4270 driver
depends on MPC8610_HPCD && I2C depends on MPC8610_HPCD && I2C
select SND_SOC_POWERPC_SSI select SND_SOC_FSL_SSI
select SND_SOC_POWERPC_DMA
select SND_SOC_CS4270 select SND_SOC_CS4270
select SND_SOC_CS4270_VD33_ERRATA select SND_SOC_CS4270_VD33_ERRATA
default y if MPC8610_HPCD default y if MPC8610_HPCD
...@@ -23,7 +25,8 @@ config SND_SOC_P1022_DS ...@@ -23,7 +25,8 @@ config SND_SOC_P1022_DS
tristate "ALSA SoC support for the Freescale P1022 DS board" tristate "ALSA SoC support for the Freescale P1022 DS board"
# I2C is necessary for the WM8776 driver # I2C is necessary for the WM8776 driver
depends on P1022_DS && I2C depends on P1022_DS && I2C
select SND_SOC_POWERPC_SSI select SND_SOC_FSL_SSI
select SND_SOC_POWERPC_DMA
select SND_SOC_WM8776 select SND_SOC_WM8776
default y if P1022_DS default y if P1022_DS
help help
......
...@@ -9,7 +9,8 @@ obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o ...@@ -9,7 +9,8 @@ obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o
# Freescale PowerPC SSI/DMA Platform Support # Freescale PowerPC SSI/DMA Platform Support
snd-soc-fsl-ssi-objs := fsl_ssi.o snd-soc-fsl-ssi-objs := fsl_ssi.o
snd-soc-fsl-dma-objs := fsl_dma.o snd-soc-fsl-dma-objs := fsl_dma.o
obj-$(CONFIG_SND_SOC_POWERPC_SSI) += snd-soc-fsl-ssi.o snd-soc-fsl-dma.o obj-$(CONFIG_SND_SOC_FSL_SSI) += snd-soc-fsl-ssi.o
obj-$(CONFIG_SND_SOC_POWERPC_DMA) += snd-soc-fsl-dma.o
# MPC5200 Platform Support # MPC5200 Platform Support
obj-$(CONFIG_SND_MPC52xx_DMA) += mpc5200_dma.o obj-$(CONFIG_SND_MPC52xx_DMA) += mpc5200_dma.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment