summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/suspend_ops.c
AgeCommit message (Collapse)Author
2010-03-02tegra power: Use scratch33 to save return address for hotplug/lp2.tkasivajhula
Scratch1 is also used by lp1, which causes issues with hotplugging a cpu. Use scratch33 instead as no one else is using it. Change-Id: Ib6b757d577e0e3d8e0efe2049ffb7127fe4f8a0a Reviewed-on: http://git-master/r/724 Reviewed-by: Trivikram Kasivajhula <tkasivajhula@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-02-22tegra pm: implement suspend_opsMayuresh Kulkarni
We implement suspend_ops->valid, suspend_ops->begin, suspend_ops->enter and suspend_ops->end. For suspend_ops->begin : Check if CPU1 is in reset or not. If not, reset it and maintain this state. For suspend_ops->end : Check if CPU1 was reseted by suspend_ops->begin. If yes, take it out of reset. For harmony board, add a timed wake lock as a WAR. For suspend_ops->enter : Do a odm query for lowest power state. Call the appropriate low power state (LP1/LP0) routine based on SOC type. Change-Id: I6f4be75978573bba94e95723c023abc091e06d1e
2010-01-13tegra power: registering suspend/resume operations with kernelMayuresh Kulkarni
Adding a new file that has suspend/resume hooks. Also changing the makefile to include the new object while linking. Change-Id: I408ffd43695ca11a7decbca61d29d6e26eea0d60