summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2014-08-07 18:09:44 +0800
committerRobin Gong <b38343@freescale.com>2014-08-26 14:38:41 +0800
commit404fd02e96d33840f58f83f88815e2a259cdc532 (patch)
tree66e809b112bf266ed5d305e72049605e958a0ca4 /arch/arm/include
parent53118db42d201d36ca9067b4bb0e2702399e100b (diff)
downloadu-boot-imx-404fd02e96d33840f58f83f88815e2a259cdc532.zip
u-boot-imx-404fd02e96d33840f58f83f88815e2a259cdc532.tar.gz
u-boot-imx-404fd02e96d33840f58f83f88815e2a259cdc532.tar.bz2
ENGR00326277-1: imx6: ldo_bypass: fix VDDARM voltage setting violate datasheet
Current only set VDDARM_IN@1.175V/VDDSOC_IN@1.175V before ldo bypass switch. So untile ldo bypass switch happened, these voltage setting is set in ldo-enable mode. But in datasheet, we need 1.15V + 125mV = 1.275V for VDDARM_IN. We need to downgrade cpufreq to 400Mhz and restore after ldo bypass mode switch. Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index f358c36..c8e5136 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -26,8 +26,10 @@ unsigned imx_ddr_size(void);
#ifdef CONFIG_LDO_BYPASS_CHECK
int check_ldo_bypass(void);
int check_1_2G(void);
-void set_anatop_bypass(void);
+int set_anatop_bypass(void);
void ldo_mode_set(int ldo_bypass);
+void prep_anatop_bypass(void);
+void finish_anatop_bypass(void);
#endif
#ifdef CONFIG_MX6SX