diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2013-07-20 02:29:06 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:42:21 -0700 |
commit | 86b9c9fe1608cdf12e0737fdd619f72b0c90e635 (patch) | |
tree | 7d4097247395a11b617a698bca06fb323f54fae3 /arch/arm/mach-tegra/pm.h | |
parent | f177688ea466a25c3de4e52807785d982fa6a895 (diff) |
ARM: tegra: PMC DT support
PMC DT support changes are as follows:
- Downstream code needs local changes in addition
to upstream PMC DT support change to compile fine.
Common clock framework (CCF) is not enabled downstream
today as a result we cannot switch to upstream version
of the function set_power_timers today.
- All PMC platform data from board files is not available
in DT bindings upstream. Using the board passed
values in such cases to ensure that functionality
is intact.
- Further, if DT attribute values do not match
board platform data settings the board setting
is used for the time being.
bug 1173104
Change-Id: Ife63ab84178c5aa4371bfee188ce919a99f651fc
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263727
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index 88332a002d96..128fa8b2efb3 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h @@ -32,18 +32,12 @@ #include "iomap.h" +#include "pmc.h" + #define PMC_SCRATCH0 0x50 #define PMC_SCRATCH1 0x54 #define PMC_SCRATCH4 0x60 -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, -}; - enum suspend_stage { TEGRA_SUSPEND_BEFORE_PERIPHERAL, TEGRA_SUSPEND_BEFORE_CPU, |