diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-06-08 12:20:08 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-09 00:13:54 +0000 |
commit | 930e001165c2df0b491288b2a8de1071b58ac6ec (patch) | |
tree | fc5172654bc75b016c309cb07ddc3a53f5ec4301 /include/config.h | |
parent | 38a49030556c7989b05aaa685ea2d84b48a4cf2c (diff) | |
download | chrome-ec-930e001165c2df0b491288b2a8de1071b58ac6ec.tar.gz |
glados: limit max input current to 1.5A to avoid i2c errorsstabilize-7155.B
Add workaround to limit the max input current to 1.5A due to
i2c communication problems at higher currents. Note that this
max should be removed when possible.
This introduces a new CONFIG option to define the maximum input
current limit for a board, as opposed to the already existing
default input current limit.
BUG=none
BRANCH=none
TEST=load on glados, charge with zinger, make sure input current
is set to 1.5A and no recurring i2c errors talking to battery
and charger.
Change-Id: Ib7070772e1bf5475e98a2dc946ae75bf08047b70
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/276169
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 63371dcd6c..60adb684d7 100644 --- a/include/config.h +++ b/include/config.h @@ -274,7 +274,7 @@ #undef CONFIG_CHARGER_ILIM_PIN_DISABLED /* - * Maximum amount of input current the charger can receive, in mA. + * Default input current for the board, in mA. * * This value should depend on external power adapter, designed charging * voltage, and the maximum power of the running system. @@ -282,6 +282,11 @@ #undef CONFIG_CHARGER_INPUT_CURRENT /* + * Board specific maximum input current limit, in mA. + */ +#undef CONFIG_CHARGER_MAX_INPUT_CURRENT + +/* * Equivalent of CONFIG_BATTERY_OVERRIDE_PARAMS for use with * CONFIG_CHARGER_V2 */ |