diff options
author | Anson Huang <b20788@freescale.com> | 2015-09-02 23:05:04 +0800 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2015-09-02 23:05:04 +0800 |
commit | 56f187888b7d27dc5575c95347e2d1ef6dbc4a86 (patch) | |
tree | 45f81a36ca8c380726ec58c0a56ae4b1e812a5ee | |
parent | 85701de281635542e0fde15702dfe4087622aa5e (diff) | |
download | u-boot-imx-56f187888b7d27dc5575c95347e2d1ef6dbc4a86.zip u-boot-imx-56f187888b7d27dc5575c95347e2d1ef6dbc4a86.tar.gz u-boot-imx-56f187888b7d27dc5575c95347e2d1ef6dbc4a86.tar.bz2 |
MLK-11490 ARM: imx: imx6ul: disable pfuze3000 low power mode
Disable PFuze3000 low power mode during standby mode, otherwise,
if the power consumption exceed the threshold, PFuze will reboot.
Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r-- | board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index e02574a..149ac2a 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -848,6 +848,11 @@ int power_init_board(void) pmic_reg_read(pfuze, PFUZE300_REVID, &rev_id); printf("PMIC: PFUZE300 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); + /* disable Low Power Mode during standby mode */ + pmic_reg_read(pfuze, PFUZE300_LDOGCTL, ®); + reg |= 0x1; + pmic_reg_write(pfuze, PFUZE300_LDOGCTL, reg); + /* SW1B step ramp up time from 2us to 4us/25mV */ reg = 0x40; pmic_reg_write(pfuze, PFUZE300_SW1BCONF, reg); |