From 7b51d6aa5c0cfce85ddf0a9facc3886a44baf285 Mon Sep 17 00:00:00 2001 From: wanggc6 Date: Mon, 7 Mar 2022 09:17:17 +0800 Subject: [PATCH] charging: modify ss_timeout to max value ss_timeout(soft start timeout) used to check if input current is above BUSUCP threshold. modify ss_timeout as bq25960 POR value 10s to make sure CP don't disable Change-Id: I31f1b6d648a7b5a64a4a2d3036b1a36af44f6ec9 Signed-off-by: wanggc6 Reviewed-on: https://gerrit.mot.com/2208317 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/power/bq25980_mmi_iio/bq25980_mmi_iio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/bq25980_mmi_iio/bq25980_mmi_iio.c b/drivers/power/bq25980_mmi_iio/bq25980_mmi_iio.c index 066e5aaa906e..4d9a49c13ebf 100644 --- a/drivers/power/bq25980_mmi_iio/bq25980_mmi_iio.c +++ b/drivers/power/bq25980_mmi_iio/bq25980_mmi_iio.c @@ -202,7 +202,7 @@ static struct reg_default bq25960_reg_init_val[] = { {BQ25980_VAC_CONTROL, 0x48},//0x48:12V*2 {BQ25980_CHRGR_CTRL_2, 0x00}, {BQ25980_CHRGR_CTRL_3, 0x94},//0x94:watchdog disable 5s,500kHz - {BQ25980_CHRGR_CTRL_4, 0x81},//5m oum battery sense resister + {BQ25980_CHRGR_CTRL_4, 0xf1},//5m oum battery sense resister & ss_timeout is 10s {BQ25980_CHRGR_CTRL_5, 0x60}, {BQ25980_MASK1, 0x00},