summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise.c
diff options
context:
space:
mode:
authorNikesh Oswal <noswal@nvidia.com>2012-03-14 21:47:37 +0530
committerSimone Willett <swillett@nvidia.com>2012-03-23 14:01:00 -0700
commitb1f6a29c44d38adfac958dfb8a3a19ca65d2a330 (patch)
tree8cf2cbd784d0bd19d438c4e7c72e973e87278f13 /arch/arm/mach-tegra/board-enterprise.c
parent614b614532b85dde69ccb798c120b1c658c62fc7 (diff)
ARM: tegra: enterprise: add port id's for HIFI, BT and Baseband
Change-Id: I7dd486fd2b2bad27eecd61dddcca10fca710a7d6 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90122 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise.c b/arch/arm/mach-tegra/board-enterprise.c
index a53326850550..62d58a3bcbda 100644
--- a/arch/arm/mach-tegra/board-enterprise.c
+++ b/arch/arm/mach-tegra/board-enterprise.c
@@ -498,6 +498,7 @@ static struct tegra_asoc_platform_data enterprise_audio_pdata = {
.gpio_int_mic_en = -1,
.gpio_ext_mic_en = -1,
.debounce_time_hp = -1,
+ /*defaults for Enterprise board*/
.audio_port_id = {
[HIFI_CODEC] = 0,
[BASEBAND] = 2,
@@ -523,6 +524,16 @@ static struct tegra_asoc_platform_data enterprise_audio_aic326x_pdata = {
.gpio_hp_mute = -1,
.gpio_int_mic_en = -1,
.gpio_ext_mic_en = -1,
+ /*defaults for Verbier-Enterprise (E1197) board with TI AIC326X codec*/
+ .audio_port_id = {
+ [HIFI_CODEC] = 0,
+ [BASEBAND] = 2,
+ [BT_SCO] = 3,
+ },
+ .baseband_param = {
+ .rate = 8000,
+ .channels = 1,
+ },
};
static struct platform_device enterprise_audio_aic326x_device = {