summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarthur.lin <arthur.lin@lcfc.corp-partner.google.com>2021-09-29 10:44:20 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-29 17:02:00 +0000
commit08f5a1e6fc2c9467230444ac9b582dcf4d9f0068 (patch)
tree9463c12b8f90fed43ae21e00d37c5cea9c497823
parent5c59fb8b6228f6d17ab0c335614e6564863ff7a5 (diff)
downloadchrome-ec-08f5a1e6fc2c9467230444ac9b582dcf4d9f0068.tar.gz
Modify correct fet register define to fix vsys drop issue. BRANCH=dedede BUG=None TEST=make buildall -j flash on boten, verify that VSYS remains up. Signed-off-by: arthur.lin <arthur.lin@lcfc.corp-partner.google.com> Change-Id: I98cfdff1b1b2e7a64a38e92c4272605de0aaf453 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3193204 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/boten/battery.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/board/boten/battery.c b/board/boten/battery.c
index 3b6304937d..0f4c8ffeb9 100644
--- a/board/boten/battery.c
+++ b/board/boten/battery.c
@@ -41,9 +41,9 @@ const struct board_batt_params board_battery_info[] = {
.reg_data = { 0x0000, 0x1000 },
},
.fet = {
- .reg_addr = 0x34,
- .reg_mask = 0x0100,
- .disconnect_val = 0x0100,
+ .reg_addr = 0x00,
+ .reg_mask = 0x0018,
+ .disconnect_val = 0x0000,
}
},
.batt_info = {
@@ -69,9 +69,9 @@ const struct board_batt_params board_battery_info[] = {
.reg_data = { 0x0000, 0x1000 },
},
.fet = {
- .reg_addr = 0x34,
- .reg_mask = 0x0100,
- .disconnect_val = 0x0100,
+ .reg_addr = 0x00,
+ .reg_mask = 0x0018,
+ .disconnect_val = 0x0000,
}
},
.batt_info = {
@@ -97,9 +97,9 @@ const struct board_batt_params board_battery_info[] = {
.reg_data = { 0x0000, 0x1000 },
},
.fet = {
- .reg_addr = 0x34,
- .reg_mask = 0x0100,
- .disconnect_val = 0x0100,
+ .reg_addr = 0x00,
+ .reg_mask = 0x0018,
+ .disconnect_val = 0x0000,
}
},
.batt_info = {