summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2016-05-07 02:02:00 +0800
committerzhang sanshan <b51434@freescale.com>2016-05-30 17:20:40 +0800
commit538006e8ba1a91404960bd2c2211f5d1f1091e01 (patch)
tree455b02ab84872c1342d9b222c9c5294d0817d407 /board
parentdf8b2e1e46260c13db95b414c6bc645e94954822 (diff)
downloadu-boot-imx-538006e8ba1a91404960bd2c2211f5d1f1091e01.zip
u-boot-imx-538006e8ba1a91404960bd2c2211f5d1f1091e01.tar.gz
u-boot-imx-538006e8ba1a91404960bd2c2211f5d1f1091e01.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; Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'board')
-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 b6123b9..42ca8c5 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);