diff options
author | Robin Gong <yibin.gong@nxp.com> | 2016-08-30 17:03:36 +0800 |
---|---|---|
committer | Robin Gong <yibin.gong@nxp.com> | 2016-08-30 17:08:21 +0800 |
commit | 6f7f185664a401f03f6ce6c81b996c1f27fdbe73 (patch) | |
tree | a445badb03bb022e2b588189ab3e5590faf3c6b1 /board | |
parent | b2690f5cf54390999acb2f1f7b788bfd18fa11be (diff) | |
download | u-boot-imx-6f7f185664a401f03f6ce6c81b996c1f27fdbe73.zip u-boot-imx-6f7f185664a401f03f6ce6c81b996c1f27fdbe73.tar.gz u-boot-imx-6f7f185664a401f03f6ce6c81b996c1f27fdbe73.tar.bz2 |
MLK-13141 mx6qpsabresd: Do not touch VGEN3 and VGEN5
VGEN3 and VGEN5 have been fused the right value in PF0100 on i.mx6qp board,
so software didn't need to change their voltage output anymore. Otherwise,
VGEN3 will be wrongly updated from 1.8v to 2.8v.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 6483f9f..76ca64a 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -943,18 +943,20 @@ int power_init_board(void) if (ret < 0) return ret; - - /* Increase VGEN3 from 2.5 to 2.8V */ - pmic_reg_read(pfuze, PFUZE100_VGEN3VOL, ®); - reg &= ~LDO_VOL_MASK; - reg |= LDOB_2_80V; - pmic_reg_write(pfuze, PFUZE100_VGEN3VOL, reg); - - /* Increase VGEN5 from 2.8 to 3V */ - pmic_reg_read(pfuze, PFUZE100_VGEN5VOL, ®); - reg &= ~LDO_VOL_MASK; - reg |= LDOB_3_00V; - pmic_reg_write(pfuze, PFUZE100_VGEN5VOL, reg); + /* VGEN3 and VGEN5 corrected on i.mx6qp board */ + if (!is_mx6dqp()) { + /* Increase VGEN3 from 2.5 to 2.8V */ + pmic_reg_read(pfuze, PFUZE100_VGEN3VOL, ®); + reg &= ~LDO_VOL_MASK; + reg |= LDOB_2_80V; + pmic_reg_write(pfuze, PFUZE100_VGEN3VOL, reg); + + /* Increase VGEN5 from 2.8 to 3V */ + pmic_reg_read(pfuze, PFUZE100_VGEN5VOL, ®); + reg &= ~LDO_VOL_MASK; + reg |= LDOB_3_00V; + pmic_reg_write(pfuze, PFUZE100_VGEN5VOL, reg); + } if (is_mx6dqp()) { /* set SW1C staby volatage 1.075V*/ |