summaryrefslogtreecommitdiff
path: root/common/util.c
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-09-23 16:38:02 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-01 06:19:27 +0000
commit34b58efd6a434a6530a224458a00ec207ed9ba88 (patch)
tree2eb7ed91e26462e25158504eccae488174512f1b /common/util.c
parent56f611ffdc7a52f192f898cb15e1eb7e9e940ba2 (diff)
downloadchrome-ec-34b58efd6a434a6530a224458a00ec207ed9ba88.tar.gz
bq25710: Update ICO mode feature for charger hw ramp
This CL makes some modifications to how ICO mode is utilized to support the input current hw ramp feature. ICO mode can't be used when there is no battery present, so a check has been added for battery presence. In addition, the input current limit should have been read from the IIN_DPM register. BRANCH=none BUG=b:126229130 TEST=Tested variaous legacy chargers and verfied that ICO mode completes and gives the expected current limit. Tested that when no battery is present, ICO mode is not enabled. Change-Id: Ib2dcff4c7bddea52c267d678b17c50daf1356b44 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1827255 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'common/util.c')
0 files changed, 0 insertions, 0 deletions