From: Nishanth Menon Date: Thu, 1 Mar 2012 18:17:40 -0600 Subject: [U-Boot] [PATCH 4/4] OMAP5: scale voltage of core before MPU scales In-Reply-To: <1330647460-26571-1-git-send-email-nm@ti.com> References: <1330647460-26571-1-git-send-email-nm@ti.com> Message-ID: <1330647460-26571-5-git-send-email-nm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de OMAP5 requires that parent domains scale ahead of dependent domains. This is due to the restrictions in timing closure. To ensure a consistent behavior accross all OMAP5 SoCs, ensure that vdd_core scale first, then vdd_mpu and finally vdd_iva. Reported-by: Isabelle Gros Reported-by: Jerome Angeloni Signed-off-by: Nishanth Menon --- arch/arm/cpu/armv7/omap5/clocks.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/omap5/clocks.c b/arch/arm/cpu/armv7/omap5/clocks.c index 07a7556..5e12231 100644 --- a/arch/arm/cpu/armv7/omap5/clocks.c +++ b/arch/arm/cpu/armv7/omap5/clocks.c @@ -245,14 +245,14 @@ void scale_vcores(void) omap_vc_init(PRM_VC_I2C_CHANNEL_FREQ_KHZ); - /* Enable 1.22V from TPS for vdd_mpu */ - volt = 1220; - do_scale_tps62361(-1, TPS62361_REG_ADDR_SET1, volt); - /* VCORE 1 - for vdd_core */ volt = 1000; do_scale_vcore(SMPS_REG_ADDR_VCORE1, volt); + /* Enable 1.22V from TPS for vdd_mpu */ + volt = 1220; + do_scale_tps62361(-1, TPS62361_REG_ADDR_SET1, volt); + /* VCORE 2 - for vdd_MM */ volt = 1125; do_scale_vcore(SMPS_REG_ADDR_VCORE2, volt); -- 1.7.5.4