OMAP4: PM: Program correct init voltages for scalable VDDs
authorThara Gopinath <thara@ti.com>
Sat, 29 May 2010 16:32:25 +0000 (22:02 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 22 Dec 2010 22:31:48 +0000 (14:31 -0800)
commit1376ee1d191b32d0be6d2956f1a6f3dd63251e2e
tree1e7843507f3d4c5e241d75316e3a89da93728fc5
parentbd38107b565a41d994aa22db0962ffcc34ebef02
OMAP4: PM: Program correct init voltages for scalable VDDs

By default the system boots up at nominal voltage for every
voltage domain in the system. This patch puts vdd_mpu, vdd_iva
and vdd_core to the correct boot up voltage as per the opp tables
specified. This patch implements this by matching the rate of
the main clock of the voltage domain with the opp table and
picking up the correct voltage.

Signed-off-by: Thara Gopinath <thara@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm.c