diff options
author | Raj Jayaraman <rjayaraman@nvidia.com> | 2012-10-09 11:46:12 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-11-12 18:49:04 -0800 |
commit | e95450d5f074b7d1e8d5d73fcbfbdf3e87b4dddf (patch) | |
tree | 0a736224fedf2c17953fe5b14cbf9d36af9022aa /arch/arm/mach-tegra/include | |
parent | 5439d77dc02e1c23c3ae6055f9883c5de847623f (diff) |
misc: tegra-baseband: Add partner modem support.
Bug 1054808
Change-Id: I5bca87b1cf034addbb5c2acb3740a87809212f90
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160037
(cherry picked from commit 059dec32ea2893be5ed651a7bd8f802ae008e351)
Reviewed-on: http://git-master/r/162298
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra-bb-power.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra-bb-power.h b/arch/arm/mach-tegra/include/mach/tegra-bb-power.h index 96e36116f04f..e7d8a7714658 100644 --- a/arch/arm/mach-tegra/include/mach/tegra-bb-power.h +++ b/arch/arm/mach-tegra/include/mach/tegra-bb-power.h @@ -28,34 +28,32 @@ union tegra_bb_gpio_id { int rsvd2; } generic; struct { - int bb_rst; - int bb_on; - int ipc_bb_wake; - int ipc_ap_wake; - int ipc_hsic_active; - int ipc_hsic_sus_req; + int reset; + int pwron; + int awr; + int cwr; + int spare; + int wdi; int rsvd1; int rsvd2; - } xmm; - struct { - int pwr_status; - int pwr_on; - int uart_awr; - int uart_cwr; - int usb_awr; - int usb_cwr; - int service; - int resout2; - } m7400; + } oem1; }; -typedef struct platform_device* (*ehci_register_cb)(void); +typedef struct platform_device* (*ehci_register_cb)(struct platform_device *); typedef void (*ehci_unregister_cb)(struct platform_device **); struct tegra_bb_pdata { + /* List of platform gpios for modem */ union tegra_bb_gpio_id *id; + /* Ehci device pointer */ struct platform_device *device; + /* Ehci register callback */ ehci_register_cb ehci_register; + /* Ehci unregister callback */ ehci_unregister_cb ehci_unregister; + /* Baseband ID */ int bb_id; + /* HSIC rail regulator name. Provide a name if -- + rail is shared and the co-owner will turn it off when done */ + char *regulator; }; |