summaryrefslogtreecommitdiff
path: root/chip/lm4/i2c.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-11-07 09:39:33 -0800
committerGerrit <chrome-bot@google.com>2012-11-07 23:48:04 -0800
commit3c575ccb02ff58eaae3e7c3dd8e2e86ad25ac106 (patch)
treeace4aa3a4f1a924ab0c55aec799815847c146926 /chip/lm4/i2c.c
parent7551e8f57f9b5b325fa00860f55bb236ff48c4e5 (diff)
downloadchrome-ec-3c575ccb02ff58eaae3e7c3dd8e2e86ad25ac106.tar.gz
link: allow to decrease maximum battery charging current
Add an interface to allow the CPU to cap the maximum battery charging current. The maximum is removed every time the machine goes to S3 or S5. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=link BUG=chrome-os-partner:16041 TEST=on Link, plug AC to charge the battery, then run "ectool chargecurrentlimit 1200" and see the charging current in "power-supply-info" decreasing to 1.2 A. Change-Id: I10900e1c264d2db67809638ec0dcb836d721fa75 Reviewed-on: https://gerrit.chromium.org/gerrit/37532 Reviewed-by: Sameer Nanda <snanda@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org> Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/lm4/i2c.c')
0 files changed, 0 insertions, 0 deletions