From 80680c7ffc785eb5c4212cb7ce438b11e71042e1 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Wed, 6 Apr 2016 15:16:45 -0700 Subject: [PATCH] chell: pmic: enable 100 ohm discharge on V1.00A BUG=chrome-os-partner:52047 TEST=Probe V1.00A during power-down, verify that voltage goes to 0V noticeably faster than with no discharge. BRANCH=glados Change-Id: Id13572d5bf4457eeaa57b9e1b05a85c957f07389 Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/337394 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Aaron Durbin --- board/chell/board.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/chell/board.c b/board/chell/board.c index dec82b4f1b..879de8f715 100644 --- a/board/chell/board.c +++ b/board/chell/board.c @@ -237,7 +237,13 @@ BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT); static void board_pmic_init(void) { - /* No need to re-init PMIC since settings are sticky across sysjump */ + /* DISCHGCNT3 - enable 100 ohm discharge on V1.00A */ + i2c_write8(I2C_PORT_PMIC, I2C_ADDR_BD99992, 0x3e, 0x04); + + /* + * No need to re-init below settings since they are present on all MP + * ROs and PMIC settings are sticky across sysjump + */ if (system_jumped_to_this_image()) return;