summaryrefslogtreecommitdiff
path: root/driver/charger/isl923x.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/charger/isl923x.c')
-rw-r--r--driver/charger/isl923x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/charger/isl923x.c b/driver/charger/isl923x.c
index 6a4a248c25..89fd3ad1c2 100644
--- a/driver/charger/isl923x.c
+++ b/driver/charger/isl923x.c
@@ -365,6 +365,12 @@ static void isl923x_init(void)
goto init_fail;
reg |= ISL9238_C3_NO_RELOAD_ACLIM_ON_ACIN |
ISL9238_C3_NO_REREAD_PROG_PIN;
+ /*
+ * Disable autonomous charging initially since 1) it causes boot loop
+ * issues with 2S batteries, and 2) it will automatically get disabled
+ * as soon as we manually set the current limit anyway.
+ */
+ reg |= ISL9238_C3_DISABLE_AUTO_CHARING;
if (raw_write16(ISL9238_REG_CONTROL3, reg))
goto init_fail;