diff options
author | Anson Huang <b20788@freescale.com> | 2015-07-30 11:27:22 +0800 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2015-08-03 09:29:58 +0800 |
commit | 1eb44fca8789cc1aa605cbfcc7691829b188629e (patch) | |
tree | 0b914d8899de75607ec37f0dc620e7de5ba9bfed /board/freescale/mx7dsabresd | |
parent | 8f48bb71889fa1380cece2034242d182097b6e9d (diff) | |
download | u-boot-imx-1eb44fca8789cc1aa605cbfcc7691829b188629e.zip u-boot-imx-1eb44fca8789cc1aa605cbfcc7691829b188629e.tar.gz u-boot-imx-1eb44fca8789cc1aa605cbfcc7691829b188629e.tar.bz2 |
MLK-11299 ARM: imx7d: initialize PMIC standby mode and voltage
Datasheet Rev-B defines standby voltage as 1V for i.MX7D, we add
25mV for board level IR drop.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'board/freescale/mx7dsabresd')
-rw-r--r-- | board/freescale/mx7dsabresd/mx7dsabresd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 77e730d..8d15b63 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -990,6 +990,16 @@ int power_init_board(void) reg |= 0x1; pmic_reg_write(p, PFUZE300_LDOGCTL, reg); + /* SW1A/1B mode set to APS/APS */ + reg = 0x8; + pmic_reg_write(p, PFUZE300_SW1AMODE, reg); + pmic_reg_write(p, PFUZE300_SW1BMODE, reg); + + /* SW1A/1B standby voltage set to 1.025V */ + reg = 0xd; + pmic_reg_write(p, PFUZE300_SW1ASTBY, reg); + pmic_reg_write(p, PFUZE300_SW1BSTBY, reg); + return 0; } #endif |