summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
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.