diff options
author | udaykiran <udaykiran@google.com> | 2021-05-27 18:10:10 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-27 06:57:47 +0000 |
commit | 9694458b3be38ff440067b263c768007bb3223b5 (patch) | |
tree | 5b10f3b2fe5d0e118cb1e91b7b6b620ac41fe839 /core | |
parent | 974ab1bdc2bdd737dfd7faa13edbbabeb62361fb (diff) | |
download | chrome-ec-9694458b3be38ff440067b263c768007bb3223b5.tar.gz |
SM5803A: Handle OVP_VBAT in charging
One of the boards under test having charging process interrupted due to
early triggering of SM5803A battery over voltage comparator (OVP_VBAT).
Programmed OVP_VBAT comparator has +/-5% setpoint accuracy. Current
setpoint was 9.2V. so the possible triggering range is from 8.74V to
9.66V. In order to avoid this issue OVP_VBAT was set to new setpoint
and simultaneously setting GPADC threshold to 9V. VBAT_SENSP high
interrupt is configured. When this interrupt happens battery charge is
disabled.
Although this issue only found for 2S batteries this tolerance range can
possibly effect 3S batteries too.
BUG=b:182373694
BRANCH=dedede
TEST=Fix was verified by Silicon Mitus.
Signed-off-by: udaykiran <udaykiran@google.com>
Change-Id: Ibc7bb51af56ec9d8ef8d27b58cdab9c59a03ae87
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927935
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions