summaryrefslogtreecommitdiff
path: root/include/config.h
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 /include/config.h
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 'include/config.h')
-rw-r--r--include/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 11f733731f..e2d0109dbd 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1111,6 +1111,13 @@
#undef CONFIG_CHARGER_BQ25710_PP_BATPRES
/*
+ * This config option sets the PP_ACOK in Prochot Option 1
+ * register. This causes PROCHOT to be pulsed when the AC adapter is
+ * removed.
+ */
+#undef CONFIG_CHARGER_BQ25710_PP_ACOK
+
+/*
* Board specific maximum input current limit, in mA.
*/
#undef CONFIG_CHARGER_MAX_INPUT_CURRENT