summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-07-19 23:26:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-23 03:16:55 -0700
commit192be4327fac83f10b754ef69f25fdcdf574cec5 (patch)
treefbb79b3e5d40f39f4a18096516d74d3104b26182
parent51d0fbb56c499b392eea8d61564d8b50c4924f9b (diff)
downloadchrome-ec-192be4327fac83f10b754ef69f25fdcdf574cec5.tar.gz
eve: Enable active discharge on V3.3A and V1.8A
Enable 100ohm discharge on the V3.3A and V1.8A rails. BUG=b:35581264 TEST=verify power down sequence on scope Change-Id: Ibdfff5a60bddd9da0d950dae619346d7a3dccd8b Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/578756 Reviewed-on: https://chromium-review.googlesource.com/579903 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
-rw-r--r--board/eve/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/eve/board.c b/board/eve/board.c
index 86b034e0b8..efe8918bfd 100644
--- a/board/eve/board.c
+++ b/board/eve/board.c
@@ -350,6 +350,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 */
+ i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x3d, 0x05);
+
/* DISCHGCNT3 - enable 100 ohm discharge on V1.00A */
i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x3e, 0x04);