summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorVinod G <vinodg@nvidia.com>2011-12-01 18:29:56 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-08 17:54:56 +0530
commita171d1dfdc8ab5e8ce306ceaebb828581fea334f (patch)
tree89f25c6d3021550e891e54a4b1aa918321ffe575 /sound/soc/tegra/Kconfig
parent08b071722ca2abe0b4b7a32d807f804aee68d308 (diff)
kernel: soc: tegra: Add machine driver for TIcodec.
Machine driver for TI codec AIC3262. bug 816608 Change-Id: I4b339b218ec4f2097518d001fb65778c2d8155d3 Reviewed-on: http://git-master/r/67818 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@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 e6e5dbd2b0a1..b1f6bf4ce99a 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -129,3 +129,24 @@ config SND_SOC_TEGRA_MAX98088
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the MAX98088 codec. Currently, only supported board is
Enterprise.
+
+config MACH_HAS_SND_SOC_TEGRA_TLV320AIC326X
+ bool
+ help
+ Machines that use the SND_SOC_TEGRA_TLV320AIC326X driver should select
+ this config option, in order to allow the user to enable
+ SND_SOC_TEGRA_TLV320AIC326X.
+
+config SND_SOC_TEGRA_TLV320AIC326X
+ tristate "SoC Audio support for Tegra boards using a TI AIC326x codec"
+ depends on SND_SOC_TEGRA && I2C && TEGRA_DC
+ depends on MACH_HAS_SND_SOC_TEGRA_TLV320AIC326X
+ 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_TLV320AIC326X
+ 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 TI AIC326X codec.