summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-11-02 23:09:21 -0700
committerCommit Bot <commit-bot@chromium.org>2021-11-16 07:11:01 +0000
commite16a8fc2faaa4216f848f89d09511f1002bad8a1 (patch)
treee949c58c5d9152b1a553d952d060d0ed1788ae8d /zephyr/Kconfig.battery
parent4b5b9c5c3a1b15075429712df6969416569643de (diff)
downloadchrome-ec-e16a8fc2faaa4216f848f89d09511f1002bad8a1.tar.gz
bq25710: Allow PP_ACOK to be configured
This adds support for configuring PP_ACOK as a prochot trigger. BRANCH=none BUG=b:185190976 TEST=buildall passes Signed-off-by: Caveh Jalali <caveh@chromium.org> Change-Id: I183c31daf89df316f7bcb1dc7b66e89bfc66c26c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3283415 Reviewed-by: Boris Mittelberg <bmbm@google.com>
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 df5f0fb546..736a15d358 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -316,6 +316,14 @@ config PLATFORM_EC_CHARGER_BQ25710_PP_BATPRES
Sets the PP_BATPRES bit in Prochot Option 1 register. This
causes PROCHOT to be pulsed when the battery is removed.
+config PLATFORM_EC_CHARGER_BQ25710_PP_ACOK
+ bool "Enable PROCHOT on AC removal"
+ default n
+ depends on PLATFORM_EC_CHARGER_BQ25710 || PLATFORM_EC_CHARGER_BQ25720
+ help
+ Sets the PP_ACOK in Prochot Option 1 register. This causes
+ PROCHOT to be pulsed when the AC adapter is removed.
+
config PLATFORM_EC_CHARGER_BQ25710_SENSE_RESISTOR
int "Value of the charge sense-resistor, in mOhms"
default 10