]> git.dujemihanovic.xyz Git - u-boot.git/commit
OMAP4: scale voltage of core before MPU scales
authorNishanth Menon <nm@ti.com>
Thu, 1 Mar 2012 14:17:39 +0000 (14:17 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:22 +0000 (08:31 +0200)
commitf2ae6c1a83e194dfd0fc93348efe598353f3c02d
tree58a19b6094653ad1c26640feac041c8425892391
parent3acb553439e3ee9f62f022f96f949c21811f8bdf
OMAP4: scale voltage of core before MPU scales

OMAP4 requires that parent domains scale ahead of dependent domains.
This is due to the restrictions in timing closure. To ensure
a consistent behavior across all OMAP4 SoC, ensure that
vdd_core scale first, then vdd_mpu and finally vdd_iva.

As part of doing this refactor the logic to allow for future
addition of OMAP4470 without much ado. OMAP4470 uses different
SMPS addresses and cannot be introduced in the current code
without major rewrite.

Reported-by: Isabelle Gros <i-gros@ti.com>
Reported-by: Jerome Angeloni <j-angeloni@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/cpu/armv7/omap4/clocks.c