summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2010-11-03 16:10:14 -0700
committerNiket Sirsi <nsirsi@nvidia.com>2010-11-06 10:04:23 -0800
commitaf5735282098803982b27cc85988f3c2c2968329 (patch)
tree663df0807a224cf9d64d8cabcc107e3b3aef4d9b /arch/arm
parentcb2182b5f8c7b9d31459a3e1b57f6e802919213b (diff)
[ARM/tegra] RM: Updated power ungating procedure.
Since core power partition can be un-gated at low voltage - e.g., on exit from LP1, disable partition clocks before de-asserting reset (instead of disabling clocks immediately after reset is de-asserted). Change-Id: Ic56685186d14525fcc1fca1c933e90b7879e7b6c Reviewed-on: http://git-master/r/10199 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-tegra/nvrm/core/ap15/ap15rm_power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/nvrm/core/ap15/ap15rm_power.c b/arch/arm/mach-tegra/nvrm/core/ap15/ap15rm_power.c
index 6e33879da19f..862ee0d0c025 100644
--- a/arch/arm/mach-tegra/nvrm/core/ap15/ap15rm_power.c
+++ b/arch/arm/mach-tegra/nvrm/core/ap15/ap15rm_power.c
@@ -236,8 +236,8 @@ PowerGroupPowerControl(
* - enable clocks to all modules in power group
* - reset propagation delay
* - remove clamping
- * - de-assert reset to all modules in power group
* - disable clocks to all modules in power group
+ * - de-assert reset to all modules in power group
*
* Special note on toggle timers( shared with OAL which does CPU power
* gating): per convention with OAL default settings are never changed.
@@ -275,8 +275,8 @@ PowerGroupPowerControl(
if (reg == 0)
break;
}
- PowerGroupResetControl(hRmDeviceHandle, PowerGroup, NV_FALSE);
PowerGroupClockControl(hRmDeviceHandle, PowerGroup, NV_FALSE);
+ PowerGroupResetControl(hRmDeviceHandle, PowerGroup, NV_FALSE);
}
}