From 3e2884531163a8618dd1dc63fe0070e7e64557b1 Mon Sep 17 00:00:00 2001 From: Michael5 Chen1 Date: Tue, 27 Apr 2021 17:59:37 +0800 Subject: shuboz: Limit PD max current to 3A. The system heavry load will trigger ACPROCHOT# when PDO select 3.25mA. Limit PD max current to 3A to avoid trigger ACPROCHOT#. BUG=b:182868175 BRANCH=zork TEST=Manual Check ACPROCHOT status when system heavry loading on PDO 3.25mA. Signed-off-by: Michael5 Chen1 Change-Id: Ib363e8f297d24d3d6cf654faf23d364fc2c258fe Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853089 Reviewed-by: Denis Brockus (cherry picked from commit 49154e4cb9cfcb9aad9b927766f746a1a1e11a4d) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2858295 Reviewed-by: Edward Hill Commit-Queue: Edward Hill --- board/shuboz/board.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/shuboz/board.h b/board/shuboz/board.h index a15d03e454..51abe8cc0a 100644 --- a/board/shuboz/board.h +++ b/board/shuboz/board.h @@ -21,6 +21,9 @@ #define CONFIG_USB_PD_PORT_MAX_COUNT 2 #define CONFIG_USB_PORT_ENABLE_DYNAMIC +#undef PD_MAX_CURRENT_MA +#define PD_MAX_CURRENT_MA 3000 + #define CONFIG_CHARGER_PROFILE_OVERRIDE /* USB-A config */ -- cgit v1.2.1