diff options
author | Bo Yan <byan@nvidia.com> | 2012-11-27 15:29:08 -0800 |
---|---|---|
committer | Mrutyunjay Sawant <msawant@nvidia.com> | 2012-12-03 02:04:59 -0800 |
commit | 4627d71ddaa4a0b6a41ce79bed2ea77aafe12cc6 (patch) | |
tree | 4586e44ad5f6e2b7898ec1a26a68f9c3e02314bf /arch/arm/mach-tegra/sleep.h | |
parent | 09dd908c3fa23296476fa922b40e51c9c2f17faa (diff) |
ARM: tegra11x: Add flag to force C0NC power gating
The bit 2 of fast_cluster_power_down_mode now dictates whether to
force the power down mode specified in b[0-1]. If bit 2 is 0, then
b[0-1] specifies the deepest cluster power state in idle, the cluster
idle power state doesn't need to go to that level every time. If bit
2 is 1, then b[0-1] forces cluster idle power state to that level.
bug 1181412
Change-Id: I36aacc2d5318c7054d32d662c150530c51a4e9a5
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/166718
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/sleep.h')
-rw-r--r-- | arch/arm/mach-tegra/sleep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h index e7048795a2c8..b144b10e3463 100644 --- a/arch/arm/mach-tegra/sleep.h +++ b/arch/arm/mach-tegra/sleep.h @@ -50,6 +50,8 @@ #define TEGRA_POWER_CLUSTER_PART_DEFAULT 0 #endif #define TEGRA_POWER_CLUSTER_PART_SHIFT 24 +#define TEGRA_POWER_CLUSTER_FORCE_SHIFT 2 +#define TEGRA_POWER_CLUSTER_FORCE_MASK (1 << TEGRA_POWER_CLUSTER_FORCE_SHIFT) #define TEGRA_POWER_SDRAM_SELFREFRESH (1 << 26) /* SDRAM is in self-refresh */ #define TEGRA_POWER_HOTPLUG_SHUTDOWN (1 << 27) /* Hotplug shutdown */ |