summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2019-02-20 22:35:43 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-02-23 02:19:48 -0800
commit0a3f44e4f508d0c6a96519e6db97b2f2fd4bfb23 (patch)
tree45bc4468283883c8731597ce868210a94d8e1430 /board
parent3f317ba8de5fbe3366835c63b682758eff207a62 (diff)
downloadchrome-ec-0a3f44e4f508d0c6a96519e6db97b2f2fd4bfb23.tar.gz
atlas: boost VBUS by 2%
this increases the voltage on PP5000_A by 2% to improve our margin on VBUS. BUG=b:123666005 BRANCH=none TEST=verified setting is preserved across S0ix transition, farzam verified voltages. Change-Id: I82809521543b01dc4ec93afa11aff482a1b44116 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1480944 Commit-Ready: caveh jalali <caveh@chromium.org> Tested-by: Caveh Jalali <caveh@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/atlas/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c
index 9afbe8183f..3be1ebfb3d 100644
--- a/board/atlas/board.c
+++ b/board/atlas/board.c
@@ -424,6 +424,10 @@ static void board_pmic_init(void)
i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992,
BD99992GW_REG_VRMODECTRL, 0x1f);
+ /* V5ADS3CNT - boost V5A_DS3 by 2% */
+ i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992,
+ BD99992GW_REG_V5ADS3CNT, 0x1a);
+
board_pmic_disable_slp_s0_vr_decay();
}
DECLARE_HOOK(HOOK_INIT, board_pmic_init, HOOK_PRIO_DEFAULT);