diff options
author | Diana Z <dzigterman@chromium.org> | 2020-10-02 10:10:30 -0600 |
---|---|---|
committer | Justin TerAvest <teravest@chromium.org> | 2020-10-14 16:47:44 +0000 |
commit | c7c8840bae1d3e833655a2b09b6deb5a47db680b (patch) | |
tree | de110dad8afe8873cc9f5d130dfac9f5b7a1e701 /common/usbc/tbt_alt_mode.c | |
parent | 95e90b8132568e3872137d8649168816c8ece46a (diff) | |
download | chrome-ec-c7c8840bae1d3e833655a2b09b6deb5a47db680b.tar.gz |
SM5803: Re-start charging on recoverable errors
Some charging failures, such as over voltage charging from the primary
charger or over temperature on either charger, are recoverable. When
a charging failure interrupt comes from one of these causes, re-enable
sinking on the active charger chip unless charging from this chip has
yielded too many errors in the last minute.
BRANCH=None
BUG=b:166924833
TEST=on drawlat, charge up to 100% and observe sinking will re-enable
after an overvoltage interrupt
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ie98fb719bed369af3851c23ea2305756eac178cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2446631
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/usbc/tbt_alt_mode.c')
0 files changed, 0 insertions, 0 deletions