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 <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/337394
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Shawn Nematbakhsh
2016-04-06 15:16:45 -07:00
committed by chrome-bot
parent 35e8490a63
commit 80680c7ffc

View File

@@ -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;