summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorVinod G <vinodg@nvidia.com>2011-12-01 18:29:56 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 15:50:20 -0700
commit56ea03fa038a0a04ac7ce29c4116a2c132ea12c2 (patch)
tree0916a974cd2c56933d514c547fa3ac68cf02ef0a /sound/soc/tegra/Kconfig
parent6eab1048caf6a635c6fbc2140af8b09750ee0c84 (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> Rebase-Id: R1b0caddfe8f1334004c51cfe886b24d3936c0bd9
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 0381b871c558..2119cd4a7ed6 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -138,3 +138,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.