summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorManoj Gangwal <mgangwal@nvidia.com>2011-12-20 21:01:20 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-10 08:15:17 -0800
commit043d445707d9502031984d9dfeeb643bc513e8ab (patch)
tree0a27237c914754b6a22570f11c46644a5794f431 /sound/soc/tegra/Kconfig
parente63d69c493e0c0cc5f0f81fd09381e61178964d3 (diff)
asoc: tegra: ALC5640 machine: Add ALC5640 audio codec
Changes made to add support of ALC5640 codec for cardhu. Bug 910788 Change-Id: I134b95a20d1a377eeb534e263fb74c0871e2fd0f Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/71459 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> (cherry picked from commit 844ef13a8281fe307b1adddcdc440b7e191d8926) Reviewed-on: http://git-master/r/73956 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index b1f6bf4ce99a..59a6633915db 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -150,3 +150,24 @@ config SND_SOC_TEGRA_TLV320AIC326X
help
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the TI AIC326X codec.
+
+config MACH_HAS_SND_SOC_TEGRA_RT5640
+ bool
+ help
+ Machines that use the SND_SOC_TEGRA_RT5640 driver should select
+ this config option, in order to allow the user to enable
+ SND_SOC_TEGRA_RT5640.
+
+config SND_SOC_TEGRA_RT5640
+ tristate "SoC Audio support for Tegra boards using a ALC5640 codec"
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
+ depends on MACH_HAS_SND_SOC_TEGRA_RT5640
+ select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_RT5640
+ select SND_SOC_SPDIF
+ select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ help
+ Say Y or M here if you want to add support for SoC audio on Tegra
+ boards using the ALC5640 codec. Currently, the supported boards
+ are Kai and Cardhu.