diff options
author | Michael Hsu <mhsu@nvidia.com> | 2011-08-03 16:20:03 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-09 16:32:35 -0700 |
commit | b74359b76209ad00403917a1fe1684a1309708c1 (patch) | |
tree | 410a0afb6e36c72628dbaf93d922c27422cc575e /arch/arm/mach-tegra/board-cardhu.c | |
parent | 49da5f2779cf0ae65f6f895c24e7f280e53d5d39 (diff) |
arm: tegra: comms: Intel XMM6260 flashless boot.
Add baseband power drivers to manage gpio for turning on modem,
and re-enumerating modem after modem's boot rom has transferred
control to downloaded modem software.
BUG 828389
Change-Id: Ide96a28b8f0183d8328751d3b3dec92b8068a3c8
Reviewed-on: http://git-master/r/39435
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c index c0536c9c5bdb..eeca9c6a9159 100644 --- a/arch/arm/mach-tegra/board-cardhu.c +++ b/arch/arm/mach-tegra/board-cardhu.c @@ -866,7 +866,7 @@ static void cardhu_usb_init(void) platform_device_register(&tegra_ehci2_device); } else if (bi.board_id == BOARD_E1186) { tegra_ehci2_device.dev.platform_data = &tegra_ehci_uhsic_pdata; - /* baseband registartion happens in baseband-xmm-power */ + /* baseband registration happens in baseband-xmm-power */ } else { tegra_ehci2_device.dev.platform_data = &tegra_ehci_pdata[1]; platform_device_register(&tegra_ehci2_device); @@ -923,6 +923,14 @@ static struct platform_device tegra_baseband_power_device = { }, }; +static struct platform_device tegra_baseband_power2_device = { + .name = "baseband_xmm_power2", + .id = -1, + .dev = { + .platform_data = &tegra_baseband_power_data, + }, +}; + static void cardhu_modem_init(void) { struct board_info board_info; @@ -958,6 +966,7 @@ static void cardhu_modem_init(void) tegra_gpio_enable( tegra_baseband_power_data.modem.xmm.ipc_hsic_sus_req); platform_device_register(&tegra_baseband_power_device); + platform_device_register(&tegra_baseband_power2_device); break; default: break; |