From bed2911d6258b7980c7afa30706c00a3a9da6cbc Mon Sep 17 00:00:00 2001 From: Songhee Baek Date: Mon, 20 Jan 2014 21:26:47 -0800 Subject: [PATCH] ASoC: tegra-alt: Add T210 grenada machine driver This machine driver is for grenada platform with unit fpga. Bug 1442940 Change-Id: Ifda6d493b115986f02b5497107a0f0894f73697d Signed-off-by: Songhee Baek Signed-off-by: Arun Shamanna Lakshmi Reviewed-on: http://git-master/r/397316 (cherry picked from commit 0fbf59a029a0e275766002a10abe4ecdc31c8064) Reviewed-on: http://git-master/r/402619 Tested-by: Sumit Bhattacharya Reviewed-by: Sumit Bhattacharya --- sound/soc/tegra-alt/Kconfig | 19 +++++++++++++++++++ sound/soc/tegra-alt/Makefile | 3 +++ 2 files changed, 22 insertions(+) diff --git a/sound/soc/tegra-alt/Kconfig b/sound/soc/tegra-alt/Kconfig index fb47ff88..3e7e4b62 100644 --- a/sound/soc/tegra-alt/Kconfig +++ b/sound/soc/tegra-alt/Kconfig @@ -137,3 +137,22 @@ config SND_SOC_TEGRA_VCM30T124_ALT Say Y or M here if you want to add support for SoC audio on the TEGRA VCM30_T124 using wm8731 and ad1937 codecs or using ak4618 and ad1937. + +config SND_SOC_TEGRA_GRENADA_ALT + tristate "SoC Audio support for GRENADA" + depends on SND_SOC_TEGRA_ALT + select SND_SOC_TEGRA210_XBAR_ALT + select SND_SOC_TEGRA210_PCM_ALT + select SND_SOC_TEGRA210_ADMA_ALT + select SND_SOC_TEGRA210_ADMAIF_ALT + select SND_SOC_TEGRA210_I2S_ALT + select SND_SOC_TEGRA210_AMX_ALT + select SND_SOC_TEGRA210_ADX_ALT + select SND_SOC_TEGRA210_MIXER_ALT + select SND_SOC_TEGRA210_SFC_ALT + select SND_SOC_TEGRA210_AFC_ALT + select SND_SOC_TEGRA210_MVC_ALT + select SND_SOC_TEGRA210_SPDIF_ALT + select SND_SOC_SPDIF + help + Say Y or M here. diff --git a/sound/soc/tegra-alt/Makefile b/sound/soc/tegra-alt/Makefile index f4e1ead9..eed665bf 100644 --- a/sound/soc/tegra-alt/Makefile +++ b/sound/soc/tegra-alt/Makefile @@ -25,6 +25,7 @@ snd-soc-tegra210-alt-fpga-clock-objs := ahub_unit_fpga_clock.o obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-utils.o obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-pcm.o +obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra210-alt-fpga-clock.o obj-$(CONFIG_SND_SOC_TEGRA30_APBIF_ALT) += snd-soc-tegra30-alt-apbif.o obj-$(CONFIG_SND_SOC_TEGRA30_XBAR_ALT) += snd-soc-tegra30-alt-xbar.o obj-$(CONFIG_SND_SOC_TEGRA30_I2S_ALT) += snd-soc-tegra30-alt-i2s.o @@ -45,5 +46,7 @@ obj-$(CONFIG_SND_SOC_TEGRA210_SPDIF_ALT) += snd-soc-tegra210-alt-spdif.o # Tegra machine Support snd-soc-tegra-alt-vcm30t124-objs := tegra_vcm30t124_alt.o snd-soc-tegra-alt-vcm30t124-b00-objs := tegra_vcm30t124_b00_alt.o +snd-soc-tegra-alt-grenada-objs := tegra_grenada_alt.o obj-$(CONFIG_SND_SOC_TEGRA_VCM30T124_ALT) += snd-soc-tegra-alt-vcm30t124.o obj-$(CONFIG_SND_SOC_TEGRA_VCM30T124_ALT) += snd-soc-tegra-alt-vcm30t124-b00.o +obj-$(CONFIG_SND_SOC_TEGRA_GRENADA_ALT) += snd-soc-tegra-alt-grenada.o