diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-04-03 13:31:46 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-04-03 22:31:36 +0200 |
commit | 4b51ccbc469facb7b589a71c2a4ae47d3e425d02 (patch) | |
tree | 6d0693496b378a478b1268359b9dbad565160db4 /arch/arm/mach-tegra/pmc.h | |
parent | ARM: tegra: irq: add wake up handling (diff) | |
download | linux-4b51ccbc469facb7b589a71c2a4ae47d3e425d02.tar.xz linux-4b51ccbc469facb7b589a71c2a4ae47d3e425d02.zip |
ARM: dt: tegra: add bindings of power management configurations for PMC
The PMC mostly controls the entry and exit of the system from different
sleep modes. Different platform or system may have different configurations.
The power management configurations of PMC is represented as some properties.
The system needs to define the properties when the system supports deep sleep
mode (i.e. suspend).
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r-- | arch/arm/mach-tegra/pmc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h index 22f16c9dd44d..6bc0fc095269 100644 --- a/arch/arm/mach-tegra/pmc.h +++ b/arch/arm/mach-tegra/pmc.h @@ -18,6 +18,14 @@ #ifndef __MACH_TEGRA_PMC_H #define __MACH_TEGRA_PMC_H +enum tegra_suspend_mode { + TEGRA_SUSPEND_NONE = 0, + TEGRA_SUSPEND_LP2, /* CPU voltage off */ + TEGRA_SUSPEND_LP1, /* CPU voltage off, DRAM self-refresh */ + TEGRA_SUSPEND_LP0, /* CPU + core voltage off, DRAM self-refresh */ + TEGRA_MAX_SUSPEND_MODE, +}; + #ifdef CONFIG_PM_SLEEP void set_power_timers(unsigned long us_on, unsigned long us_off); #endif |