MLK-11491 ARM: imx: dis-connect vddhigh_in and vddsnvs_in for imx6ul
authorAnson Huang <b20788@freescale.com>
Wed, 2 Sep 2015 16:02:22 +0000 (00:02 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:57 +0000 (14:48 -0500)
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>
arch/arm/mach-imx/imx6ul_low_power_idle.S

index 5db724e..26bb83d 100644 (file)
        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