summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-09-30 09:54:42 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-01 01:44:42 +0000
commit23cb0cc679aa4e7946f224ac007e8c03feeffda4 (patch)
treea18f43ce91107d7ff7dd4bed0ad29765290f1110
parent2d339f222962c312eddc27aecd09e56964fff95c (diff)
downloadchrome-ec-23cb0cc679aa4e7946f224ac007e8c03feeffda4.tar.gz
isl9241: set BC12 charge minimum voltage
BUG=b:169350714 BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I87cd85b92b53fca6206d437012787c049fb075bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2441388 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--driver/charger/isl9241.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/charger/isl9241.h b/driver/charger/isl9241.h
index 1110f11b8a..b29a300fb2 100644
--- a/driver/charger/isl9241.h
+++ b/driver/charger/isl9241.h
@@ -21,6 +21,9 @@
#define INPUT_I_MIN 4
#define INPUT_I_STEP 4
+/* Default minimum VIN voltage controlled by ISL9241_REG_VIN_VOLTAGE */
+#define ISL9241_BC12_MIN_VOLTAGE 4096
+
/* Registers */
/*