summaryrefslogtreecommitdiff
path: root/board/freescale/common/pfuze.c
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-04-29 10:52:52 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:10:57 +0800
commitdd842f32b6d8d770e844790643ece352f92b8c5e (patch)
tree976176297a3cf2b160bf73632e0a88e86c227852 /board/freescale/common/pfuze.c
parentb7f3f9a6100519c784085ea9f6e575162555fb42 (diff)
downloadu-boot-imx-dd842f32b6d8d770e844790643ece352f92b8c5e.zip
u-boot-imx-dd842f32b6d8d770e844790643ece352f92b8c5e.tar.gz
u-boot-imx-dd842f32b6d8d770e844790643ece352f92b8c5e.tar.bz2
MLK-10774-53 imx: update setting pmic volatage
We should not rely on pfuze_common_init to set the voltage, may be we should remove the voltage settings in pfuze_common_init. This patch is to setting the voltages in power_init_board. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'board/freescale/common/pfuze.c')
-rw-r--r--board/freescale/common/pfuze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c
index 4980bf7..d6a209e 100644
--- a/board/freescale/common/pfuze.c
+++ b/board/freescale/common/pfuze.c
@@ -71,10 +71,10 @@ struct pmic *pfuze_common_init(unsigned char i2cbus)
pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg);
/* Set SW1AB/VDDARM step ramp up time from 16us to 4us/25mV */
- pmic_reg_read(p, PUZE_100_SW1ABCONF, &reg);
+ pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg);
reg &= ~SW1xCONF_DVSSPEED_MASK;
reg |= SW1xCONF_DVSSPEED_4US;
- pmic_reg_write(p, PUZE_100_SW1ABCONF, reg);
+ pmic_reg_write(p, PFUZE100_SW1ABCONF, reg);
/* Set SW1C standby voltage to 0.975V */
pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg);