OMAP3+: VP: combine setting init voltage into common function
authorKevin Hilman <khilman@ti.com>
Sat, 16 Jul 2011 00:05:48 +0000 (17:05 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:09:08 +0000 (12:09 -0700)
commitb666b4767d3e6a23634b4d485c8511bd42d50023
tree1ec312c224261b9380b968a10168e0ca1e95194c
parentcc6962dbab223ae51b47c8057d39d89ac6af0d35
OMAP3+: VP: combine setting init voltage into common function

combine VPCONFIG init voltage setup into common function and use from
both vp_enable and from vp_forceupdate_scale().

NOTE: this patch changes the sequence of when the initVDD bit is
cleared.  The bit is now cleared immediately after it was written.
Since only the rising edge of this bit has any affect according to the
TRM, the exact timing of clearing of this bit should not have any
effect.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vp.c