Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eba9e06f authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Mark Brown
Browse files

ASoC: fsl: Separation of the main audio options and boards



This patch provide separation of the main audio options and boards.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent c9eaa447
Loading
Loading
Loading
Loading
+22 −14
Original line number Original line Diff line number Diff line
menu "SoC Audio for Freescale CPUs"

config SND_SOC_FSL_SAI
config SND_SOC_FSL_SAI
	tristate
	tristate
	select REGMAP_MMIO
	select REGMAP_MMIO
@@ -18,13 +20,27 @@ config SND_SOC_FSL_ESAI
config SND_SOC_FSL_UTILS
config SND_SOC_FSL_UTILS
	tristate
	tristate


menuconfig SND_POWERPC_SOC
config SND_SOC_IMX_PCM_DMA
	tristate
	select SND_SOC_GENERIC_DMAENGINE_PCM

config SND_SOC_IMX_AUDMUX
	tristate

config SND_POWERPC_SOC
	tristate "SoC Audio for Freescale PowerPC CPUs"
	tristate "SoC Audio for Freescale PowerPC CPUs"
	depends on FSL_SOC || PPC_MPC52xx
	depends on FSL_SOC || PPC_MPC52xx
	help
	help
	  Say Y or M if you want to add support for codecs attached to
	  Say Y or M if you want to add support for codecs attached to
	  the PowerPC CPUs.
	  the PowerPC CPUs.


config SND_IMX_SOC
	tristate "SoC Audio for Freescale i.MX CPUs"
	depends on ARCH_MXC || COMPILE_TEST
	help
	  Say Y or M if you want to add support for codecs attached to
	  the i.MX CPUs.

if SND_POWERPC_SOC
if SND_POWERPC_SOC


config SND_MPC52xx_DMA
config SND_MPC52xx_DMA
@@ -33,6 +49,8 @@ config SND_MPC52xx_DMA
config SND_SOC_POWERPC_DMA
config SND_SOC_POWERPC_DMA
	tristate
	tristate


comment "SoC Audio support for Freescale PPC boards:"

config SND_SOC_MPC8610_HPCD
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
@@ -110,13 +128,6 @@ config SND_MPC52xx_SOC_EFIKA


endif # SND_POWERPC_SOC
endif # SND_POWERPC_SOC


menuconfig SND_IMX_SOC
	tristate "SoC Audio for Freescale i.MX CPUs"
	depends on ARCH_MXC || COMPILE_TEST
	help
	  Say Y or M if you want to add support for codecs attached to
	  the i.MX CPUs.

if SND_IMX_SOC
if SND_IMX_SOC


config SND_SOC_IMX_SSI
config SND_SOC_IMX_SSI
@@ -127,12 +138,7 @@ config SND_SOC_IMX_PCM_FIQ
	tristate
	tristate
	select FIQ
	select FIQ


config SND_SOC_IMX_PCM_DMA
comment "SoC Audio support for Freescale i.MX boards:"
	tristate
	select SND_SOC_GENERIC_DMAENGINE_PCM

config SND_SOC_IMX_AUDMUX
	tristate


config SND_MXC_SOC_WM1133_EV1
config SND_MXC_SOC_WM1133_EV1
	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
@@ -225,3 +231,5 @@ config SND_SOC_IMX_MC13783
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_IMX_PCM_DMA


endif # SND_IMX_SOC
endif # SND_IMX_SOC

endmenu