summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-21 16:35:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-12-24 01:37:31 +0000
commitee1449f03969c04e255e394ec07a3ebf3bc3d6e8 (patch)
tree14377488bae05f14034857980c21a34f21b7c227 /zephyr/Kconfig.battery
parentfca75f573ff913a5be050c7a13e7dcda6be68da2 (diff)
downloadchrome-ec-ee1449f03969c04e255e394ec07a3ebf3bc3d6e8.tar.gz
zephyr: Enable building of the battery fuel gauge
Bring in this file needed for monitoring a battery. BUG=b:175248556 BRANCH=none TEST=build and run zephyr on volteer No visible change, except more code is compiled in Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I49a3960c62153ad0ea5c5f8121d0aa0d35e7ffe4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2600228 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r--zephyr/Kconfig.battery8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery
index 3bcb88d111..c81001dd93 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -81,4 +81,12 @@ config PLATFORM_EC_CHARGER_ISL9241
endchoice
+config PLATFORM_EC_BATTERY_FUEL_GAUGE
+ bool "Board supplies battery info"
+ help
+ The fuel gauge information is used to cut off the battery for shipping
+ mode and to check the charge/discharge FET status. The battery
+ information is used to set voltage, current and temperature operating
+ limits for the battery.
+
endif # PLATFORM_EC_BATTERY