diff options
author | Diana Z <dzigterman@chromium.org> | 2020-04-28 14:35:51 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-30 01:10:12 +0000 |
commit | a66be5cd01bf2a9a235a08b7461dee03949decba (patch) | |
tree | fe44d3269e78a3392c5c189e5872a768c0ddba8e /board/jinlon | |
parent | 7074e6795b8465de65902875b187c0a73cebb717 (diff) | |
download | chrome-ec-a66be5cd01bf2a9a235a08b7461dee03949decba.tar.gz |
SM5803: Only enable auto charging when battery is present
Enabling auto charging bits when the battery is not present can cause
Vsys to brown out when the charger believes charging is complete. This
uses the battery presence in the driver as an indicator for whether
these bits should be set when enabling the charger.
BRANCH=None
BUG=None
TEST=on waddledee with no battery and charger connected to C0,
Vsys does not brown out
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I3714261f9394b101ddeb76889ebcecba6b61d456
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2173159
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/jinlon')
0 files changed, 0 insertions, 0 deletions