diff options
author | arthur.lin <arthur.lin@lcfc.corp-partner.google.com> | 2021-09-29 10:44:20 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-29 17:02:00 +0000 |
commit | 08f5a1e6fc2c9467230444ac9b582dcf4d9f0068 (patch) | |
tree | 9463c12b8f90fed43ae21e00d37c5cea9c497823 | |
parent | 5c59fb8b6228f6d17ab0c335614e6564863ff7a5 (diff) | |
download | chrome-ec-08f5a1e6fc2c9467230444ac9b582dcf4d9f0068.tar.gz |
boten: modify battery fet register definestabilize-ambassador-14268.43.B-ishstabilize-14324.72.B-ishstabilize-14324.62.B-ishstabilize-14324.41.B-ishstabilize-14324.13.B-ishstabilize-14321.B-ishstabilize-14312.B-ishstabilize-14285.B-ishstabilize-14268.67.B-ishstabilize-14268.52.B-ishstabilize-14268.51.B-ishstabilize-14267.B-ishrelease-R97-14324.B-ishrelease-R96-14268.B-ishfirmware-cr50-stab-mp-14300.B-ishfirmware-cr50-stab-14294.B-ishfirmware-chameleon-14280.B-ishfactory-ambassador-14265.B-ish
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.c | 18 |
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 = { |