From d0c1e878a2c56f8bda988a8fd3b4ef6d2f658aa3 Mon Sep 17 00:00:00 2001 From: Devin Lu Date: Mon, 2 Nov 2020 12:07:43 +0800 Subject: 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 Change-Id: Ie8f2816cb1df1f6c885fe1d6c6d8bb8f0db84570 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2512628 Reviewed-by: Diana Z Reviewed-by: Aseda Aboagye --- board/drawcia/board.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1