diff options
author | Wai-Hong Tam <waihong@google.com> | 2022-03-07 11:27:18 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-09 02:07:16 +0000 |
commit | 078b5da9f9e4db1ef3e65cc386709faabc80995e (patch) | |
tree | ce94bb6f77588dc241b02d8723eec9587045d475 /board/wheelie | |
parent | 5b80e0a8558e84ac50bee8519a980a279e2a3c4c (diff) | |
download | chrome-ec-078b5da9f9e4db1ef3e65cc386709faabc80995e.tar.gz |
battery: AP19A8K: Add the C-FET status register
According to the attachment in b/135496272#comment5, add the
C-FET status register for the battery AP19A8K.
BRANCH=octopus, dedede
BUG=b:135496272,b:222312301
TEST=Built the affected images.
Change-Id: Idcbbf8112bae461345f8f8a5646b13c25b3f126d
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3508553
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/wheelie')
-rw-r--r-- | board/wheelie/battery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/wheelie/battery.c b/board/wheelie/battery.c index c9770124cd..96d967abec 100644 --- a/board/wheelie/battery.c +++ b/board/wheelie/battery.c @@ -277,6 +277,8 @@ const struct board_batt_params board_battery_info[] = { .reg_addr = 0x43, .reg_mask = 0x0001, .disconnect_val = 0x0, + .cfet_mask = 0x0002, + .cfet_off_val = 0x0, }, }, .batt_info = { |