mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
charger: bd99955: Remove incorrect VSYSVAL_THL / THH settings
VSYSVAL_THL / THH are high / low hysteresis values below which dead battery condition is triggered, which doesn't match our register configuration. Leave these regs at default for now until we better understand the effect of dead battery detection. BUG=chrome-os-partner:55626 BRANCH=None TEST=Manual on kevin with other pending changes, verify dead battery successfully charges. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I35a44dd0005f165f17073e8b0f2fd5dca1eda856 Reviewed-on: https://chromium-review.googlesource.com/363030 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
7369f0a689
commit
d4b6f8153d
@@ -789,13 +789,7 @@ static void bd99995_init(void)
|
||||
ch_raw_write16(BD99955_CMD_CHGOP_SET2, reg,
|
||||
BD99955_EXTENDED_COMMAND);
|
||||
|
||||
/* VSYS Valid Threshold High & Low Settings */
|
||||
ch_raw_write16(BD99955_CMD_VSYSVAL_THH_SET,
|
||||
bi->voltage_max & 0x7fe0,
|
||||
BD99955_EXTENDED_COMMAND);
|
||||
ch_raw_write16(BD99955_CMD_VSYSVAL_THL_SET,
|
||||
bi->voltage_min & 0x7fe0,
|
||||
BD99955_EXTENDED_COMMAND);
|
||||
/* TODO(crosbug.com/p/55626): Set VSYSVAL_THH/THL appropriately */
|
||||
|
||||
/* Set battery OVP to 500 + maximum battery voltage */
|
||||
ch_raw_write16(BD99955_CMD_VBATOVP_SET,
|
||||
|
||||
Reference in New Issue
Block a user