summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2015-09-03 00:02:22 +0800
committerAnson Huang <b20788@freescale.com>2015-09-03 00:35:29 +0800
commitd9dd229076c09173b674becda8b57b94c61089bb (patch)
tree97961945b8eb6ee9991801bde86b3648f457780e /arch
parentc174bc9fad3cd25de814e0505919a7de38b078b2 (diff)
MLK-11491 ARM: imx: dis-connect vddhigh_in and vddsnvs_in for imx6ul
To achieve lower power number in low power idle, on the boards which has higher vddhigh_in than vddsnvs_in, need to dis-connect vddhigh_in and vddsnvs_in internally to make vddhigh_in's power low enough to meet the design target. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/imx6ul_low_power_idle.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx6ul_low_power_idle.S b/arch/arm/mach-imx/imx6ul_low_power_idle.S
index 5db724e251e6..26bb83da1a7d 100644
--- a/arch/arm/mach-imx/imx6ul_low_power_idle.S
+++ b/arch/arm/mach-imx/imx6ul_low_power_idle.S
@@ -310,6 +310,11 @@
orr r7, r7, #0x6000
str r7, [r10, #0x150]
+ /* disconnect vdd_high_in and vdd_snvs_in */
+ ldr r7, [r10, #0x150]
+ orr r7, r7, #0x1000
+ str r7, [r10, #0x150]
+
.endm
.macro anatop_exit_idle