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

Commit e58070ee authored by Rajeev Kumar's avatar Rajeev Kumar Committed by Mark Brown
Browse files

ASoC: Add Kconfig and Makefile to support SPEAr audio driver



This patch adds Kconfig and Makefile to support SPEAr Audio driver.

Signed-off-by: default avatarRajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 19c7efcd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ source "sound/soc/pxa/Kconfig"
source "sound/soc/samsung/Kconfig"
source "sound/soc/s6000/Kconfig"
source "sound/soc/sh/Kconfig"
source "sound/soc/spear/Kconfig"
source "sound/soc/tegra/Kconfig"
source "sound/soc/txx9/Kconfig"
source "sound/soc/ux500/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ obj-$(CONFIG_SND_SOC) += pxa/
obj-$(CONFIG_SND_SOC)	+= samsung/
obj-$(CONFIG_SND_SOC)	+= s6000/
obj-$(CONFIG_SND_SOC)	+= sh/
obj-$(CONFIG_SND_SOC)	+= spear/
obj-$(CONFIG_SND_SOC)	+= tegra/
obj-$(CONFIG_SND_SOC)	+= txx9/
obj-$(CONFIG_SND_SOC)	+= ux500/
+39 −0
Original line number Diff line number Diff line
config SND_SPEAR_EVM
	tristate "SoC Audio support for SPEAr EVM"
	select SND_DESIGNWARE_I2S
	select SND_SOC_STA529
	select SND_SPEAR_SOC
	help
	 Say Y if you want to add support for SoC audio on SPEAr
	 platform

config SND_SPEAR1340_EVM
	tristate "SoC Audio support for SPEAr1340 EVM"
	select SND_DESIGNWARE_I2S
	select SND_SOC_STA529
	select SND_SPEAR_SPDIF_OUT
	select SND_SPEAR_SPDIF_IN
	select SND_SOC_SPDIF
	select SND_SPEAR_SOC
	help
	 Say Y if you want to add support for SoC audio on SPEAr1340
	 platform

config SND_SPEAR_SOC
	tristate "SoC Audio for the ST chip"
	depends on SND_DESIGNWARE_I2S || SND_SPEAR_SPDIF_OUT || \
		SND_SPEAR_SPDIF_IN
	help
	 Say Y or M if you want to add support for any of the audio
	 controllers (I2S/SPDIF). You will also need to select
	 the audio interface codecs to support below.

config SND_SPEAR_SPDIF_OUT
	tristate "SPEAr SPDIF Out Device Driver"
	help
	 Say Y or M if you want to add support for SPDIF OUT driver.

config SND_SPEAR_SPDIF_IN
	tristate "SPEAr SPDIF IN Device Driver"
	help
	 Say Y or M if you want to add support for SPDIF IN driver.
+7 −0
Original line number Diff line number Diff line
# SPEAR Platform Support
obj-$(CONFIG_SND_SPEAR_SOC) += spear_pcm.o
obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += spdif_in.o
obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += spdif_out.o

# SPEAR Machine Support
obj-$(CONFIG_SND_SPEAR_EVM) += spear_evb.o