summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/baseband-xmm-power.h
AgeCommit message (Collapse)Author
2012-08-10arm: tegra: xmm: device set to null in unregisterVinayak Pane
hsic_unregister is being called multiple times during two step enumeration process of xmm. In failure cases when enumeration does not complete properly, kernel panic is seen because of extra unregister-ehci device. Bug 1016593 Change-Id: Ibaeb20ed0dab0e906741fdfad78f7d89a3672f60 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/116626 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-08arm: tegra: xmm: protect xmm power stateVinayak Pane
Added protection locks for xmm power state. Moving prints outside of spinlock. Revisit spinlock on global flags and rearrange in irq. Avoid kernel crash in case of remote-wakeup detected. Protect ipc_ap_wake_state in xmm on & off. Bug 1010131 Change-Id: Id53598b09bececd6f4ff1a948a492e6fcc56628c Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/108427 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Michael Hsu <mhsu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-08-01arm: tegra: xmm: repair ipc_ap_wake_state at resetVinayak Pane
Preparing strict checking for ipc_ap_wake_state during modem initialization. Modify the flashless xmm wake irq part to avoid mixing with flashed modem irq handler. Remove unused init1 workqueue from the driver. Bug 1003141 Change-Id: I7b06b1783a140c0cc5121478e4983fab39862d7c Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/118475 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-06-04arm: tegra: xmm: changing mdelay and add wait_eventVinayak Pane
baseband_xmm_power has delays related to CP sync-up. Changing these delays from mdelay() to msleep and usleep_range. Adding wait_event mechanism to wait for L2->L0 Bug 932574 Change-Id: Ie33a3f1cc0a798e592f00153435b0135713213ea Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/102689 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-05-16arm: tegra: xmm: baseband modem pm code cleanupVinayak Pane
- Platform data is treated as const and not modified in driver. - Driver specific data is stored and used from a new structure. - Remove support for older firmware version of XMM modem (<1130). - Shortening of names for compliance and to fit in 80 characters. - Organize irq function to reduce indentation. Change-Id: I269401aa0a2efc685d7a630b4952cb31cbca6a4f Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/101587 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com>
2011-12-15arm: tegra: comms: dynamic loading of hcd driverSeshendra Gadagottu
ehci on/off mechanism is replaced with dynamic add/removel of ehci-hcd driver. BUG 787270 Reviewed-on: http://git-master/r/65091 (cherry picked from commit 50381a027547354140d599876f452ff6a304e330) Change-Id: Ic9827c23fdbf367b87bb4ba153b65e7c867576d3 Reviewed-on: http://git-master/r/68391 Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2011-11-30arm: tegra: xmm: Implementation for L2 power managementrepo sync -j4 # Run four syncs in parallel
Implemented L2 power management using autopm. Added code for AP/CP initiated L2->L0 resume. BUG 828389 BUG 873401 Reviewed-on: http://git-master/r/62115 (cherry picked from commit 14de0dc3ba9637b82a600693730752f2cbfebc66) Change-Id: I233b777e96592fbf25e3c0a92d2d74dc7162eb40 Reviewed-on: http://git-master/r/66503 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com> Rebase-Id: R6779d1c8045deee78111d2b5b32a0400a7c3b4b0
2011-11-30arm: tegra: comms: GPIO changes for XMM modem ver 1130 or laterMichael Hsu
XMM modem version 1130 (or later) changes the GPIO power up sequence. Add module variable to support pre-1130 and post-1130 modem versions. BUG 828389 Reviewed-on: http://git-master/r/58240 (cherry picked from commit 0639c200face90d6dd0144acc7362c02909fa66c) Change-Id: If3a3486741d72d1251deeca3759af6b39c2031f1 Reviewed-on: http://git-master/r/62750 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rf848b30671a8739c11a376011165db6165f0a259
2011-11-30arm: tegra: xmm : Wakelock for power management state changesSeshendra Gadagottu
Used a wakelock to follow L0->L2->L3 state transition for modem power states. Added code for AP initiated L2->L0. BUG 828389 Original-Change-Id: Iad90364d27a0fac204c12880d6aa17a6e032b7d2 Reviewed-on: http://git-master/r/45486 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R3f9c890584fbf626bac8e36e1fa0561376ffff94
2011-11-30arm: tegra: Implement HSIC power management for baseband devices.Seshendra Gadagottu
Add power management for HSIC baseband power module. Currently the power module implemented state handling for L0->L3 and L3->L0 state transitions. BUG 828389 Original-Change-Id: I46b7da66bfa85fac57261ec68668435855739981 Reviewed-on: http://git-master/r/33065 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Rebase-Id: R2d04847c5dc12db17b49ec62a4e12f061bca29fe