summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarthur.lin <arthur.lin@lcfc.corp-partner.google.com>2021-09-27 15:14:02 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-29 02:36:59 +0000
commitb521e788b84c20810ce4cbffbd83cd12575e3ece (patch)
tree209f8d32cae6412265d94681a424cd2b1f679ab4
parentb748354c51299aac2e3d6a339e3efd61853eefaa (diff)
downloadchrome-ec-b521e788b84c20810ce4cbffbd83cd12575e3ece.tar.gz
gooey: modify battery fet register define
Modify correct fet register define to fix vsys drop issue. BRANCH=keeby BUG=b:198405407 TEST=make buildall -j flash on gooey, verify that VSYS remains up. Signed-off-by: arthur.lin <arthur.lin@lcfc.corp-partner.google.com> Change-Id: I4555c535c75521b5eac63024cf2a172fb6f8020a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3185799 Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--board/gooey/battery.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/board/gooey/battery.c b/board/gooey/battery.c
index 15a04af688..c40e0d7ec7 100644
--- a/board/gooey/battery.c
+++ b/board/gooey/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 = {