summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorRavindra Lokhande <rlokhande@nvidia.com>2012-01-18 20:28:49 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 16:03:04 -0700
commit5e6914903557488d55f89cd0a26dd6c3444a9be8 (patch)
treea91952c179744c9fe6e8b94128e9683bb3418770 /sound/soc/tegra/Kconfig
parent33ac43097a473ff8c7c7340ddc95e41ce8dbd263 (diff)
ASoC: tegra: add max98095 audio codec support
Reviewed-on: http://git-master/r/75964 Change-Id: Iddc1a4ab042aaab00d7959f957b66fc879c76ccc Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77302 Reviewed-by: Automatic_Commit_Validation_User Rebase-Id: R52113fe957955166b10fb18ac1fc734c4c9c3c50
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r--sound/soc/tegra/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index 8dcb7c07da48..6b15d8420251 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -180,3 +180,25 @@ config SND_SOC_TEGRA_RT5640
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.
+
+config MACH_HAS_SND_SOC_TEGRA_MAX98095
+ bool
+ help
+ Machines that use the SND_SOC_TEGRA_MAX98095 driver should select
+ this config option, in order to allow the user to enable
+ SND_SOC_TEGRA_MAX98095.
+
+config SND_SOC_TEGRA_MAX98095
+ tristate "SoC Audio support for Tegra boards using a MAX98095 codec"
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
+ depends on MACH_HAS_SND_SOC_TEGRA_MAX98095
+ select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_MAX98095
+ 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 MAX98095 codec. Currently, only supported board is
+ Cardhu.