diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2020-11-02 12:07:43 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-12 06:02:01 +0000 |
commit | d0c1e878a2c56f8bda988a8fd3b4ef6d2f658aa3 (patch) | |
tree | 2fdaff679ee79ec8e49252987f3e3124f9adeee0 /board/drawcia | |
parent | 14f66b993fb5b3a59eb042d9b98566deca68e4b1 (diff) | |
download | chrome-ec-d0c1e878a2c56f8bda988a8fd3b4ef6d2f658aa3.tar.gz |
drawcia: Enable hardware charge ramp
BUG=b:172173517
BRANCH=none
TEST=On drawcia. Plug in CDP, SDP, DCP, type-C and PD charger:
1. EC console chgsup to make sure voltage/current is indeed.
2. PDtrace to make sure we ramp current to a reasonable value.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: Ie8f2816cb1df1f6c885fe1d6c6d8bb8f0db84570
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2512628
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/drawcia')
-rw-r--r-- | board/drawcia/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/drawcia/board.h b/board/drawcia/board.h index 0ca1a74a03..bcdaf4112d 100644 --- a/board/drawcia/board.h +++ b/board/drawcia/board.h @@ -25,6 +25,7 @@ #define CONFIG_BC12_DETECT_PI3USB9201 /* Charger */ +#define CONFIG_CHARGE_RAMP_HW #define CONFIG_CHARGER_SM5803 /* C0 and C1: Charger */ #define CONFIG_USB_PD_VBUS_DETECT_CHARGER #define CONFIG_USB_PD_5V_CHARGER_CTRL |