summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/baseband-xmm-power2.c
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-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-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>
2012-03-07arm: tegra: xmm: change irq handler to irq threadshawn joo
since irq function has printk and long context. change the handler to irq thread for stable running. Bug 937413 Signed-off-by: shawn joo <sjoo@nvidia.com> Reviewed-on: http://git-master/r/83350 (cherry picked from commit 1bf117669ed8b4fdb854074aef26d1a568544616) Change-Id: Ib760e19903b7e9975a1ac7b8275537c75830764d Reviewed-on: http://git-master/r/87633 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-01-30arm: tegra: comms: fix crash at dev attr changeVinayak Pane
Check the state machine before poweron the modem by device attribute change routine. Maintain the state machine to avoid crash after writing state change to /sys/devices/platform/baseband_xmm_power/xmm_onoff Also cancel workqueue at module unload to avoid possible crash. Bug 898008 Reviewed-on: http://git-master/r/72934 Change-Id: I0d8286774040f155c930ecb0bb69778de6c606ac Signed-off-by: Vinayak Pane <vpane@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77744 Reviewed-by: Automatic_Commit_Validation_User
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: fix invalid returnColin Patrick McCabe
Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103 Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Reviewed-on: http://git-master/r/59169 Reviewed-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5
2011-11-30arm: tegra: comms: Intel XMM6260 flashless boot.Michael Hsu
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 Original-Change-Id: Ide96a28b8f0183d8328751d3b3dec92b8068a3c8 Reviewed-on: http://git-master/r/39435 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rb3d170a5460bff29550d664c3f783134d2a3a41f