From 3b8791b7816ae84adb8bc5a22cd65b16056da4a3 Mon Sep 17 00:00:00 2001 From: Songhee Baek Date: Fri, 6 Dec 2013 20:51:55 -0800 Subject: [PATCH] ASoC: tegra-alt: add spdif driver This change is for adding spdif driver in tegra-alt ASoC. Bug 1423733 Change-Id: Ic52b58ab9bd0e8cb82e7834a5d1d2f3f87550bf8 Signed-off-by: Songhee Baek Reviewed-on: http://git-master/r/339601 GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson Reviewed-by: Gajanan Bhat Reviewed-by: Arun Shamanna Lakshmi --- sound/soc/tegra-alt/Kconfig | 7 +++++++ sound/soc/tegra-alt/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/sound/soc/tegra-alt/Kconfig b/sound/soc/tegra-alt/Kconfig index 1fbc85f4..190cb8ae 100644 --- a/sound/soc/tegra-alt/Kconfig +++ b/sound/soc/tegra-alt/Kconfig @@ -36,6 +36,12 @@ config SND_SOC_TEGRA30_I2S_ALT help Say Y or M if you want to add support for Tegra30 I2S module. +config SND_SOC_TEGRA30_SPDIF_ALT + tristate "Tegra30 SPDIF driver" + depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_30_OR_LATER + help + Say Y or M if you want to add support for Tegra30 SPDIF module. + config SND_SOC_TEGRA114_AMX_ALT tristate "Tegra114 AMX driver" depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_114_OR_LATER @@ -59,6 +65,7 @@ config SND_SOC_TEGRA_VCM30T124_ALT select SND_SOC_TEGRA114_ADX_ALT select SND_SOC_AD193X select SND_SOC_WM8731 + select SND_SOC_SPDIF help Say Y or M here if you want to add support for SoC audio on the TEGRA VCM30_T124 using wm8731 and ad1937 codecs. diff --git a/sound/soc/tegra-alt/Makefile b/sound/soc/tegra-alt/Makefile index 52ef0ef1..d8d4c83d 100644 --- a/sound/soc/tegra-alt/Makefile +++ b/sound/soc/tegra-alt/Makefile @@ -8,6 +8,7 @@ snd-soc-tegra-alt-utils-objs := tegra_asoc_utils_alt.o snd-soc-tegra30-alt-apbif-objs := tegra30_apbif_alt.o snd-soc-tegra30-alt-xbar-objs := tegra30_xbar_alt.o snd-soc-tegra30-alt-i2s-objs := tegra30_i2s_alt.o +snd-soc-tegra30-alt-spdif-objs := tegra30_spdif_alt.o snd-soc-tegra114-alt-amx-objs := tegra114_amx_alt.o snd-soc-tegra114-alt-adx-objs := tegra114_adx_alt.o @@ -16,6 +17,7 @@ obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-utils.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 +obj-$(CONFIG_SND_SOC_TEGRA30_SPDIF_ALT) += snd-soc-tegra30-alt-spdif.o obj-$(CONFIG_SND_SOC_TEGRA114_AMX_ALT) += snd-soc-tegra114-alt-amx.o obj-$(CONFIG_SND_SOC_TEGRA114_ADX_ALT) += snd-soc-tegra114-alt-adx.o