diff options
author | Nikesh Oswal <noswal@nvidia.com> | 2011-11-06 09:38:46 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:50:08 -0800 |
commit | 68b8a632b617bba057b404b07d5e61bf4a0f6ade (patch) | |
tree | 77a976f9b96aba6871bea32769dd78d755cc6f2f /arch/arm/mach-tegra | |
parent | 5fad9ed17e852186dc4feb180ccccaeb964af51d (diff) |
arm: tegra: enterprise: add voice call and i2s port parameters
add i2s device for voice call, i2s port id for codecs and
baseband parameters
Bug: 862023
Change-Id: I1aa1f3159458b7b5d5729ed9ba96cbf0c1a477fd
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/62619
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: Rad3c2c383aaaba2b89af6d5e14549c4ef2c23327
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise.c | 11 |
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 163a1b492113..a1ac3e852590 100644 --- a/arch/arm/mach-tegra/board-enterprise.c +++ b/arch/arm/mach-tegra/board-enterprise.c @@ -187,6 +187,7 @@ static __initdata struct tegra_clk_init_table enterprise_clk_init_table[] = { { "pll_a", NULL, 564480000, false}, { "pll_a_out0", NULL, 11289600, false}, { "i2s0", "pll_a_out0", 0, false}, + { "i2s2", "pll_a_out0", 0, false}, { "i2s3", "pll_a_out0", 0, false}, { "spdif_out", "pll_a_out0", 0, false}, { "d_audio", "pll_a_out0", 0, false}, @@ -484,6 +485,14 @@ static struct tegra_max98088_platform_data enterprise_audio_pdata = { .gpio_hp_mute = -1, .gpio_int_mic_en = -1, .gpio_ext_mic_en = -1, + .audio_port_id = { + [HIFI_CODEC] = 0, + [BASEBAND] = 2, + }, + .baseband_param = { + .rate = 8000, + .channels = 1, + }, }; static struct platform_device enterprise_audio_device = { @@ -511,10 +520,12 @@ static struct platform_device *enterprise_devices[] __initdata = { &tegra_dam_device1, &tegra_dam_device2, &tegra_i2s_device0, + &tegra_i2s_device2, &tegra_i2s_device3, &tegra_spdif_device, &spdif_dit_device, &bluetooth_dit_device, + &baseband_dit_device, &tegra_pcm_device, &enterprise_audio_device, &tegra_spi_device4, |