summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorRavindra Lokhande <rlokhande@nvidia.com>2012-01-18 20:28:49 +0530
committerVarun Colbert <vcolbert@nvidia.com>2012-01-30 11:46:55 -0800
commit789424fc3f1ee51b28e975a69621e95c6264a4d1 (patch)
treefb620321411f9ecec0226b3ac8bb14d01daf9992 /sound/soc/tegra/Kconfig
parentd797fda650adbbaf35af9b6926904ab5c74be192 (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
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 59a6633915db..f3f185fed61f 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -171,3 +171,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.