From ec27deab06b022a5d7738f22431fb38e29ec2f74 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Sat, 7 May 2016 02:02:00 +0800 Subject: 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 --- board/freescale/mx7d_12x12_ddr3_arm2/mx7d_12x12_ddr3_arm2.c | 6 +++--- board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c | 6 +++--- board/freescale/mx7d_19x19_ddr3_arm2/mx7d_19x19_ddr3_arm2.c | 6 +++--- board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c | 6 +++--- board/freescale/mx7dsabresd/mx7dsabresd.c | 4 ++-- 5 files changed, 14 insertions(+), 14 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 da585f8..6c121b0 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 @@ -298,12 +298,12 @@ int power_init_board(void) pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); pmic_reg_write(p, PFUZE3000_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, PFUZE3000_SW1ASTBY, reg); pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); - /* decrease SW1B normal voltage to 0.975V */ + /* set SW1B normal voltage to 0.975V */ pmic_reg_read(p, PFUZE3000_SW1BVOLT, ®); reg &= ~0x1f; reg |= PFUZE3000_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 93f2074..d43a332 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 @@ -760,8 +760,8 @@ int power_init_board(void) pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); pmic_reg_write(p, PFUZE3000_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, PFUZE3000_SW1ASTBY, reg); pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); @@ -782,7 +782,7 @@ int power_init_board(void) reg |= 0x20; pmic_reg_write(p, PFUZE3000_SW2MODE, reg); - /* decrease SW1B normal voltage to 0.975V */ + /* set SW1B normal voltage to 0.975V */ pmic_reg_read(p, PFUZE3000_SW1BVOLT, ®); reg &= ~0x1f; reg |= PFUZE3000_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 e2b95aa..c137e15 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 @@ -548,12 +548,12 @@ int power_init_board(void) pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); pmic_reg_write(p, PFUZE3000_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, PFUZE3000_SW1ASTBY, reg); pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); - /* decrease SW1B normal voltage to 0.975V */ + /* set SW1B normal voltage to 0.975V */ pmic_reg_read(p, PFUZE3000_SW1BVOLT, ®); reg &= ~0x1f; reg |= PFUZE3000_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 b88d9fa..293f525 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 @@ -547,12 +547,12 @@ int power_init_board(void) pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); pmic_reg_write(p, PFUZE3000_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, PFUZE3000_SW1ASTBY, reg); pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); - /* decrease SW1B normal voltage to 0.975V */ + /* set SW1B normal voltage to 0.975V */ pmic_reg_read(p, PFUZE3000_SW1BVOLT, ®); reg &= ~0x1f; reg |= PFUZE3000_SW1AB_SETP(975); diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 1b5cba8..43a7112 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -987,8 +987,8 @@ int power_init_board(void) pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); pmic_reg_write(p, PFUZE3000_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, PFUZE3000_SW1ASTBY, reg); pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); -- cgit v1.1