[ARM] tegra: stingray: Fix CPU DVFS
authorGreg Meiste <w30289@motorola.com>
Wed, 8 Sep 2010 18:45:06 +0000 (13:45 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:16 +0000 (16:51 -0700)
commit2e760aa5ab26ad56b882a210cb6dbe5f2c301694
treed68c6f7ad24b26246115397ff2f77f0767f88ad8
parent12f65843275af8824d31eebea897252421d34663
[ARM] tegra: stingray: Fix CPU DVFS

P0 and later models were changed to put the cpu_vdd regulator
in MODE 1, rather than the previous MODE 3 value. This caused
DVFS to appear to work but actually have no impact on the
cpu voltage.

In addition, when resuming from LP0, the CPU voltage must be
1.0v.  To guarantee this, the voltage needs to be set upon
entering suspend, so when the regulator is re-enabled, it is
the correct voltage before code begins executing.

Change-Id: I3580c832dbb4b5ce9ce7bd0089352a72b3b3869c
Signed-off-by: Greg Meiste <w30289@motorola.com>
arch/arm/mach-tegra/board-stingray-power.c