diff options
author | YH Lin <yueherngl@google.com> | 2019-05-02 15:20:54 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-08 19:35:39 -0700 |
commit | ce611dad5f8eb674f55ea461db40d79f61e3b52c (patch) | |
tree | de32ecb5a3b1a10aaa0e9d63e2a7543a3538ca87 /include | |
parent | fb2a7efc26a598fa2697300d72827a285261b913 (diff) | |
download | chrome-ec-ce611dad5f8eb674f55ea461db40d79f61e3b52c.tar.gz |
MAX17055: Add the full model driver
This patch adds the full model driver for MAX17055. The full model of
MAX17055 provides more accurate soc estimation than the short model or
ez model.
BUG=b:130979269
BRANCH=none
TEST=Do a full charge test
Change-Id: I4cf249cf0c47fd30f75f4e38b74c7995285603e6
Signed-off-by: YH Lin <yueherngl@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1577387
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index bc958572fb..c3d95c243f 100644 --- a/include/config.h +++ b/include/config.h @@ -358,6 +358,12 @@ */ #undef CONFIG_BATTERY_MAX17055_ALERT +/* + * Enable full model driver of MAX17055. + * + * It provides a better soc estimation. ocv_table needs to be supplied. + */ +#undef CONFIG_BATTERY_MAX17055_FULL_MODEL /* Compile mock battery support; used by tests. */ #undef CONFIG_BATTERY_MOCK |