summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2020-05-04 16:29:24 +0800
committerCommit Bot <commit-bot@chromium.org>2020-05-12 10:15:48 +0000
commit5c359b906557cd1a1fc80baa11a7043ca169a8b9 (patch)
tree72984ff51d9e1335f71a05571e774fe18de48fab
parentfb8251810a246ae6b17ae55a8356f57cb334527b (diff)
downloadchrome-ec-5c359b906557cd1a1fc80baa11a7043ca169a8b9.tar.gz
asurada: keep vbat voltage when not charging
On asurada, Vbat is also used to supply power to the system. This CL keeps Vbat outputs 6V even if battery not present. Otherwise, Vbat will drop to VOLTAGE_MIN(~=2V) and causes system down. BUG=b:154303178 TEST=able to boot without battery BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: I5daa7b6c377ab696b2cf2c84a07b7535d2c44dca Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2179143 Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--board/asurada/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/asurada/board.h b/board/asurada/board.h
index ca85c1cd88..8eaa99ccb9 100644
--- a/board/asurada/board.h
+++ b/board/asurada/board.h
@@ -35,8 +35,9 @@
/* Charger */
#define CONFIG_CHARGER
-#define CONFIG_CHARGER_ISL9238
#define CONFIG_CHARGER_INPUT_CURRENT 512
+#define CONFIG_CHARGER_ISL9238
+#define CONFIG_CHARGER_MAINTAIN_VBAT
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 /* BOARD_RS1 */
#define CONFIG_CHARGER_SENSE_RESISTOR 10 /* BOARD_RS2 */
#define CONFIG_CHARGER_OTG