ARM: tegra: pm: add platform suspend support
authorJoseph Lo <josephl@nvidia.com>
Wed, 3 Apr 2013 11:31:47 +0000 (19:31 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 3 Apr 2013 20:31:41 +0000 (14:31 -0600)
commitc8c2e6069065fdecfb195a2c438c7faa964aef22
tree43f1528c665ec9b68891fcbcb345ffa1b0d51dcd
parent4b51ccbc469facb7b589a71c2a4ae47d3e425d02
ARM: tegra: pm: add platform suspend support

Adding suspend to RAM support for Tegra platform. There are three suspend
mode for Tegra. The difference were below.

* LP2: CPU voltage off
* LP1: CPU voltage off, DRAM in self-refresh
* LP0: CPU + Core voltage off, DRAM in self-refresh

After this patch, the LP2 suspend mode will be supported.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pm.h
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/pmc.h