summaryrefslogtreecommitdiff
path: root/board/asurada
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2020-06-04 18:35:58 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-10 11:32:18 +0000
commit3dc4147d8792447671b3a37726e4f62f72c0db8b (patch)
treed3e88f0791875b930d0605303199f562130a1a6d /board/asurada
parent7589c88c048700f349a7515539f8fe8f5c67b155 (diff)
downloadchrome-ec-3dc4147d8792447671b3a37726e4f62f72c0db8b.tar.gz
charger/isl9238c: enable slew rate control
Enable charge current and maximum system voltage slew rate control on ISL9238C by default for better charger stability. Since the control is only available on ISL9238C, not on A/B, and there's no way to distinguish C and A/B in software side, introduce a new config CONFIG_CHARGER_ISL9238C for 9238C users. BUG=b:155366741 TEST=1) on asurada, verify the register configured correctly 2) verify the waveform looks better BRANCH=kukui Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I577db3eebcad0ed3793f4b7d525e4246515f8503 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2231725 Tested-by: Hsu Alvis <alvishsu@google.com> Tested-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/asurada')
-rw-r--r--board/asurada/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/asurada/board.h b/board/asurada/board.h
index 9301ec3c10..af75f30b75 100644
--- a/board/asurada/board.h
+++ b/board/asurada/board.h
@@ -33,7 +33,7 @@
/* Charger */
#define CONFIG_CHARGER
#define CONFIG_CHARGER_INPUT_CURRENT 512
-#define CONFIG_CHARGER_ISL9238
+#define CONFIG_CHARGER_ISL9238C
#define CONFIG_CHARGER_MAINTAIN_VBAT
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 /* BOARD_RS1 */
#define CONFIG_CHARGER_SENSE_RESISTOR 10 /* BOARD_RS2 */