From ad0c556dd9a554c32c185d9cab74ba28994970eb Mon Sep 17 00:00:00 2001 From: Keith Short Date: Wed, 11 Nov 2020 12:54:59 -0700 Subject: adlrvpp_ite: Enabling sourcing of 7.5A on type-C ports To support USB4, source a total of 7.5A on the type-C ports. This ensures that if the first device requests 3A (15W), the chromebook continues to source 3A even after a second device is connected. BUG=none BRANCH=firmware-volteer-13521.B-master TEST=make buildall Signed-off-by: Keith Short Change-Id: I14b5412602aaa0e8671e76a45eb0090a4d3e148c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533490 Reviewed-by: Vijay P Hiremath Reviewed-by: Poornima Tom Reviewed-by: Abe Levkoy --- board/adlrvpp_ite/board.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/board/adlrvpp_ite/board.h b/board/adlrvpp_ite/board.h index 393268138c..4f629fc710 100644 --- a/board/adlrvpp_ite/board.h +++ b/board/adlrvpp_ite/board.h @@ -130,6 +130,12 @@ /* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 +/* + * For USB4, set the total budget for source current to 7.5A so that the first + * connected port is allowed to source 3A while sourcing 1.5A on other type-C + * ports. + */ +#define CONFIG_USB_PD_MAX_TOTAL_SOURCE_CURRENT 7500 #ifndef __ASSEMBLER__ -- cgit v1.2.1