diff options
author | Philip Chen <philipchen@google.com> | 2018-05-03 17:43:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-11 02:58:50 -0700 |
commit | 13ea63266c805fa86b16204f01a29a748e2d1ca4 (patch) | |
tree | 36083fa0a57c442b5b7eba154a663b927e00d54d | |
parent | 43db76c108288392b5ede23dae4bd41971979a75 (diff) | |
download | chrome-ec-13ea63266c805fa86b16204f01a29a748e2d1ca4.tar.gz |
scarlet: Enable AP throttling for battery OCP
BUG=b:74321682
BRANCH=scarlet
TEST=manually test on scarlet together with CL:994188
Change-Id: I831ca9941248835f98a1c5ea69e751f3f7413ed7
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1043454
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | board/scarlet/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h index df2f7c89de..b000a94b72 100644 --- a/board/scarlet/board.h +++ b/board/scarlet/board.h @@ -129,6 +129,9 @@ #define BATTERY_MAX17055_RSENSE 5 /* m-ohm */ #define BATTERY_DESIRED_CHARGING_CURRENT 2000 /* mA */ +#define CONFIG_THROTTLE_AP_ON_BAT_DISCHG_CURRENT +#define BAT_MAX_DISCHG_CURRENT 5000 /* mA */ + #define PD_OPERATING_POWER_MW 15000 #define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) #define PD_MAX_CURRENT_MA 3000 |