diff options
author | Patryk Duda <pdk@semihalf.com> | 2021-03-17 07:23:21 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-29 16:29:25 +0000 |
commit | 6f00183c755fe7c9e77adffb308626443e0b274a (patch) | |
tree | 0523ab0c5ef1662c74a8e18c3d1ec65ac0488fcf /include | |
parent | 823cb66025a9ce28dbc083ce4294dcb4753467aa (diff) | |
download | chrome-ec-6f00183c755fe7c9e77adffb308626443e0b274a.tar.gz |
common/battery: Provide function to lower input voltage
This patch introduces generic version of function that sets voltage
limit when chipset is off and battery is fully charged.
BUG=b:182546058
BRANCH=none
TEST=make -j buildall
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: Ib7606c8d1ab3fe1dc650a3abcef9ebc207335ab5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2773218
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 7e0e277c78..ef029f2b45 100644 --- a/include/config.h +++ b/include/config.h @@ -619,6 +619,12 @@ #undef CONFIG_BATTERY_MEASURE_IMBALANCE /* + * Some boards needs to lower input voltage when battery is full and chipset + * is in S5/G3. This should be defined to integer value in mV. + */ +#undef CONFIG_BATT_FULL_CHIPSET_OFF_INPUT_LIMIT_MV + +/* * If remaining capacity is x% of full capacity, remaining capacity is set * equal to full capacity. * |