diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-05-22 13:28:17 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-30 01:02:36 -0700 |
commit | 7e7d0be726c2009fdf3755c7998df171a8437e60 (patch) | |
tree | c7f99954fb1cbe536cb19175eae8bd18bda7a4eb | |
parent | 0de5b8ed695a420728ec7b606b218284b0241006 (diff) | |
download | chrome-ec-7e7d0be726c2009fdf3755c7998df171a8437e60.tar.gz |
Fizz: Increase VR3 voltage to avoid boot failure
When V3P3A_EC is higher than V3P3A_DSW + 0.07V, system 3.3V rail
is powered by V3P3A_EC. V3P3A_EC LDO will shut down when PU27 triggers
OTP.
This patch increases VR3 voltage by 3%, which gives us 3.399.
This is more than the maximum voltage PU27 can provide, thus,
V3P3A_DSW will win the voltage race (against V3P3A_EC).
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b:80114849
BRANCH=Fizz
TEST=Boot Fizz
Change-Id: Ieb6fbc4ad056a79dc1eef5eae7a91385575bac0b
Reviewed-on: https://chromium-review.googlesource.com/1069594
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit d674a0e3cb15ee7f542c16f5930f0ef4a5f000ea)
Reviewed-on: https://chromium-review.googlesource.com/1076707
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
-rw-r--r-- | board/fizz/board.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c index 15d550d680..3682d8e89e 100644 --- a/board/fizz/board.c +++ b/board/fizz/board.c @@ -423,6 +423,15 @@ static void board_pmic_init(void) if (err) goto pmic_error; + /* + * V3.3A_DSW (VR3) control. Default: 0x2A. + * [7:6] : 00b Disabled + * [5:4] : 00b Vnom + 3%. (default: 10b 0%) + */ + err = I2C_PMIC_WRITE(TPS650X30_REG_V33ADSWCNT, 0x0A); + if (err) + goto pmic_error; + CPRINTS("PMIC init done"); pmic_initialized = 1; return; |