summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDara Ramesh <dramesh@nvidia.com>2012-10-10 15:44:55 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:39:14 -0700
commitcae8c290fa70bac85e3a9c123171834744fe7213 (patch)
treefa64a34947048053f82e3dc48590d033f8e1cc3f /sound
parenta7bbe1fd595e556bfe4519f626253f2eda06f372 (diff)
asoc: tegra: Support BT_SCO
Add support for bt sco on dalmore platform. Bug 1054221 Change-Id: I4acc4dd908b087a56b406bab18c4b7fc50b39425 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/143191 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/146961 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R275b652042966be242f5a87fdabee0e867d978c9
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/Kconfig39
-rw-r--r--sound/soc/tegra/tegra_rt5640.c4
2 files changed, 20 insertions, 23 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
index f28e19291388..149744f8f3e3 100644
--- a/sound/soc/tegra/Kconfig
+++ b/sound/soc/tegra/Kconfig
@@ -67,9 +67,9 @@ config SND_SOC_TEGRA_WM8753
tristate "SoC Audio support for Tegra boards using a WM8753 codec"
depends on SND_SOC_TEGRA && I2C && TEGRA_DC
select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
- select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA20_SPDIF if ARCH_TEGRA_2x_SOC
- select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_WM8753
select SND_SOC_SPDIF
help
@@ -82,7 +82,7 @@ config SND_SOC_TEGRA_WM8903
select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
select SND_SOC_TEGRA20_SPDIF if ARCH_TEGRA_2x_SOC
- select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_WM8903
select SND_SOC_SPDIF
select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
@@ -113,10 +113,10 @@ config SND_SOC_TEGRA_P1852
tristate "SoC Audio support for P1852 SKUs"
depends on SND_SOC_TEGRA
depends on MACH_P1852
- select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
- select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_SPDIF
- select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
help
Say Y or M here if you want to add support for SoC audio on the
TEGRA P1852 SKUs. These are plug-n-play boards and and the codecs
@@ -135,11 +135,11 @@ config SND_SOC_TEGRA_MAX98088
depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_MAX98088
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_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_MAX98088
select SND_SOC_SPDIF
- select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
help
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
@@ -157,11 +157,11 @@ config SND_SOC_TEGRA_TLV320AIC326X
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_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_TLV320AIC326X
select SND_SOC_SPDIF
- select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
help
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the TI AIC326X codec.
@@ -178,11 +178,11 @@ config SND_SOC_TEGRA_RT5639
depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_RT5639
depends on 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_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_RT5639
select SND_SOC_SPDIF
- select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
help
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the ALC5639 codec. Currently, the supported board
@@ -200,7 +200,7 @@ config SND_SOC_TEGRA_RT5640
depends on SND_SOC_TEGRA && I2C && TEGRA_DC
depends on MACH_HAS_SND_SOC_TEGRA_RT5640
select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
- select SND_SOC_TEGRA30_SPDIF if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_RT5640
select SND_SOC_SPDIF
select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
@@ -221,11 +221,11 @@ config SND_SOC_TEGRA_MAX98095
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_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
select SND_SOC_MAX98095
select SND_SOC_SPDIF
- select SND_SOC_TEGRA30_DAM if ARCH_TEGRA_3x_SOC
+ select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_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
@@ -245,6 +245,7 @@ config SND_SOC_TEGRA_CS42L73
select SND_SOC_TEGRA30_I2S if !ARCH_TEGRA_2x_SOC
select SND_SOC_CS42L73
select SND_SOC_TEGRA30_DAM if !ARCH_TEGRA_2x_SOC
+ select SND_SOC_TEGRA30_SPDIF if !ARCH_TEGRA_2x_SOC
help
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the CS42L73 codec. Currently, only supported board is
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index 53cdc593a154..f4f3d36754de 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -690,11 +690,7 @@ static struct snd_soc_card snd_soc_tegra_rt5640 = {
.name = "tegra-rt5640",
.owner = THIS_MODULE,
.dai_link = tegra_rt5640_dai,
-#if defined(CONFIG_ARCH_TEGRA_11x_SOC)
- .num_links = 1,
-#else
.num_links = ARRAY_SIZE(tegra_rt5640_dai),
-#endif
.resume_pre = tegra_rt5640_resume_pre,
.set_bias_level = tegra_rt5640_set_bias_level,
.set_bias_level_post = tegra_rt5640_set_bias_level_post,