summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-08-23 21:01:58 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-29 01:37:58 -0700
commit79aaf3582415e3b6fa1bdaf47b7ab2441e7a98a2 (patch)
treec656d7b56614da235db4bcb717b507727e2e6dbf
parent303e1bdb2cbfb9f3c19958d96a8cfb09aa4e01b2 (diff)
downloadchrome-ec-79aaf3582415e3b6fa1bdaf47b7ab2441e7a98a2.tar.gz
atlas: enable active discharge on 5V rail
this enables active discharge for the PP5000_A rail. BUG=b:112732855 BRANCH=none TEST=flashed atlas with new EC build Change-Id: Ib733eb6e649d9f22c7ce0d1e4bc565f9a2659520 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1187900 Commit-Ready: Caveh Jalali <caveh@google.com> Tested-by: Caveh Jalali <caveh@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
-rw-r--r--board/atlas/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c
index 44352ef543..708ff17269 100644
--- a/board/atlas/board.c
+++ b/board/atlas/board.c
@@ -402,9 +402,9 @@ static void board_pmic_init(void)
if (system_jumped_to_this_image())
return;
- /* DISCHGCNT2 - enable 100 ohm discharge on V3.3A and V1.8A */
+ /* DISCHGCNT2 - enable 100 ohm discharge on V5.0A, V3.3A and V1.8A */
i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992,
- BD99992GW_REG_DISCHGCNT2, 0x05);
+ BD99992GW_REG_DISCHGCNT2, 0x45);
/* DISCHGCNT3 - enable 100 ohm discharge on V1.00A */
i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992,