summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2016-05-07 02:02:00 +0800
committerfang hui <hui.fang@nxp.com>2017-01-19 14:49:22 +0800
commitf0bf7bbe1f6865dc6e94e7afc5cab598a5fe3663 (patch)
tree64b1f8dd847e5818491491b1d3925296b3d0b16b
parent0a3caa73e2cf1baaf50a275e0d64b9cf772b13a8 (diff)
downloadu-boot-imx-f0bf7bbe1f6865dc6e94e7afc5cab598a5fe3663.zip
u-boot-imx-f0bf7bbe1f6865dc6e94e7afc5cab598a5fe3663.tar.gz
u-boot-imx-f0bf7bbe1f6865dc6e94e7afc5cab598a5fe3663.tar.bz2
MLK-12748-1 imx: adjust i.mx7d standby voltage setting
i.MX7D VDD_ARM/SOC standby voltage should be 0.95V, adding 25mV margin, so set it to 0.975V; Change-Id: If59684d4206b742242cb77e1c1cffc97d3bbc981 Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
-rw-r--r--board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c6
-rw-r--r--board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c6
-rw-r--r--board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c6
-rw-r--r--board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c8
-rw-r--r--board/freescale/mx7dsabresd/mx7dsabresd.c6
5 files changed, 16 insertions, 16 deletions
diff --git a/board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c b/board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c
index b43a618..f79b0b4 100644
--- a/board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c
+++ b/board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c
@@ -321,12 +321,12 @@ int power_init_board(void)
pmic_reg_write(p, PFUZE300_SW1AMODE, reg);
pmic_reg_write(p, PFUZE300_SW1BMODE, reg);
- /* SW1A/1B standby voltage set to 1.025V */
- reg = 0xd;
+ /* SW1A/1B standby voltage set to 0.975V */
+ reg = 0xb;
pmic_reg_write(p, PFUZE300_SW1ASTBY, reg);
pmic_reg_write(p, PFUZE300_SW1BSTBY, reg);
- /* decrease SW1B normal voltage to 0.975V */
+ /* set SW1B normal voltage to 0.975V */
pmic_reg_read(p, PFUZE300_SW1BVOLT, &reg);
reg &= ~0x1f;
reg |= PFUZE300_SW1AB_SETP(975);
diff --git a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
index bfaf34a..2bbd7bf 100644
--- a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
+++ b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
@@ -838,8 +838,8 @@ int power_init_board(void)
pmic_reg_write(p, PFUZE300_SW1AMODE, reg);
pmic_reg_write(p, PFUZE300_SW1BMODE, reg);
- /* SW1A/1B standby voltage set to 1.025V */
- reg = 0xd;
+ /* SW1A/1B standby voltage set to 0.975V */
+ reg = 0xb;
pmic_reg_write(p, PFUZE300_SW1ASTBY, reg);
pmic_reg_write(p, PFUZE300_SW1BSTBY, reg);
@@ -860,7 +860,7 @@ int power_init_board(void)
reg |= 0x20;
pmic_reg_write(p, PFUZE300_SW2MODE, reg);
- /* decrease SW1B normal voltage to 0.975V */
+ /* set SW1B normal voltage to 0.975V */
pmic_reg_read(p, PFUZE300_SW1BVOLT, &reg);
reg &= ~0x1f;
reg |= PFUZE300_SW1AB_SETP(975);
diff --git a/board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c b/board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c
index 5e1e178..d5ba34e 100644
--- a/board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c
+++ b/board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c
@@ -625,12 +625,12 @@ int power_init_board(void)
pmic_reg_write(p, PFUZE300_SW1AMODE, reg);
pmic_reg_write(p, PFUZE300_SW1BMODE, reg);
- /* SW1A/1B standby voltage set to 1.025V */
- reg = 0xd;
+ /* SW1A/1B standby voltage set to 0.975V */
+ reg = 0xb;
pmic_reg_write(p, PFUZE300_SW1ASTBY, reg);
pmic_reg_write(p, PFUZE300_SW1BSTBY, reg);
- /* decrease SW1B normal voltage to 0.975V */
+ /* set SW1B normal voltage to 0.975V */
pmic_reg_read(p, PFUZE300_SW1BVOLT, &reg);
reg &= ~0x1f;
reg |= PFUZE300_SW1AB_SETP(975);
diff --git a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c
index 9a5bf2a..3963943 100644
--- a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c
+++ b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c
@@ -600,8 +600,8 @@ static int setup_pmic_voltages(void)
return -1;
}
- /* SW1A/1B standby voltage set to 1.025V */
- value = 0xd;
+ /* SW1A/1B standby voltage set to 0.975V */
+ value = 0xb;
if (i2c_write(CONFIG_PMIC_I2C_SLAVE, PFUZE300_SW1ASTBY, 1, &value, 1)) {
printf("Set PFUZE300_SW1ASTBY error!\n");
return -1;
@@ -611,13 +611,13 @@ static int setup_pmic_voltages(void)
return -1;
}
- /* decrease SW1B normal voltage to 0.975V */
+ /* set SW1B normal voltage to 0.975V */
if (i2c_read(CONFIG_PMIC_I2C_SLAVE, PFUZE300_SW1BVOLT, 1, &value, 1)) {
printf("Read SW1BVOLT error!\n");
return -1;
}
value &= ~0x1f;
- value |= 0x0b;
+ value |= 0xb;
if (i2c_write(CONFIG_PMIC_I2C_SLAVE, PFUZE300_SW1BVOLT, 1, &value, 1)) {
printf("Set SW1BVOLT error!\n");
return -1;
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index 26babf7..a6bc06c 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -1049,12 +1049,12 @@ int power_init_board(void)
pmic_reg_write(p, PFUZE300_SW1AMODE, reg);
pmic_reg_write(p, PFUZE300_SW1BMODE, reg);
- /* SW1A/1B standby voltage set to 1.025V */
- reg = 0xd;
+ /* SW1A/1B standby voltage set to 0.975V */
+ reg = 0xb;
pmic_reg_write(p, PFUZE300_SW1ASTBY, reg);
pmic_reg_write(p, PFUZE300_SW1BSTBY, reg);
- /* decrease SW1B normal voltage to 0.975V */
+ /* set SW1B normal voltage to 0.975V */
pmic_reg_read(p, PFUZE300_SW1BVOLT, &reg);
reg &= ~0x1f;
reg |= PFUZE300_SW1AB_SETP(975);