diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-11-01 19:10:08 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:40 -0800 |
commit | 65b9a4e99f0d8e397c068b457eebcd91846d2276 (patch) | |
tree | f9fff26af7f2241d57cf06ed79629b50468f7049 | |
parent | 7df8c7c43fd198250f0d5cf6df869dbae3b1fb6d (diff) |
arm: tegra: ventana/whistler: Enable i2s2 and BT device
Enable i2s2 and bluetooth dit device for ventana and whistler platforms.
Also add i2s2 clock in clock table. It is needed to support BT SCO
playback/record on Tegra20.
Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Change-Id: I61f1f26cb502570ec5348137bbe0ac62e6c1f9e6
Reviewed-on: http://git-master/r/61504
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R424e4d712a1dd5f3647d2183c94138ef38e2ba4a
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-whistler.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c index 1074a81325a7..a7265bd6c0da 100644 --- a/arch/arm/mach-tegra/board-ventana.c +++ b/arch/arm/mach-tegra/board-ventana.c @@ -130,6 +130,7 @@ static __initdata struct tegra_clk_init_table ventana_clk_init_table[] = { { "pll_p_out4", "pll_p", 24000000, true }, { "pwm", "clk_32k", 32768, false}, { "i2s1", "pll_a_out0", 0, false}, + { "i2s2", "pll_a_out0", 0, false}, { "spdif_out", "pll_a_out0", 0, false}, { NULL, NULL, 0, 0}, }; @@ -383,9 +384,11 @@ static struct platform_device *ventana_devices[] __initdata = { &tegra_avp_device, &tegra_camera, &tegra_i2s_device1, + &tegra_i2s_device2, &tegra_spdif_device, &tegra_das_device, &spdif_dit_device, + &bluetooth_dit_device, &tegra_pcm_device, &ventana_audio_device, }; diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c index 1e79ae50f0a8..51e94a8a8607 100644 --- a/arch/arm/mach-tegra/board-whistler.c +++ b/arch/arm/mach-tegra/board-whistler.c @@ -217,6 +217,7 @@ static __initdata struct tegra_clk_init_table whistler_clk_init_table[] = { { "kbc", "clk_32k", 32768, true}, { "sdmmc2", "pll_p", 25000000, false}, { "i2s1", "pll_a_out0", 0, false}, + { "i2s2", "pll_a_out0", 0, false}, { "spdif_out", "pll_a_out0", 0, false}, { NULL, NULL, 0, 0}, }; @@ -338,9 +339,11 @@ static struct platform_device *whistler_devices[] __initdata = { &whistler_scroll_device, &tegra_camera, &tegra_i2s_device1, + &tegra_i2s_device2, &tegra_spdif_device, &tegra_das_device, &spdif_dit_device, + &bluetooth_dit_device, &tegra_pcm_device, &whistler_audio_device, }; |