diff options
author | Keith Short <keithshort@chromium.org> | 2020-11-11 13:00:04 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-12 22:36:00 +0000 |
commit | 57bc4dfcb886bc79cbcc8d285ad85c49a807ac8f (patch) | |
tree | 20905757ebb72a67e684aae9ee862327233810b7 | |
parent | dfcbc331183dd8e4856d89255900353c76ec68cb (diff) | |
download | chrome-ec-57bc4dfcb886bc79cbcc8d285ad85c49a807ac8f.tar.gz |
tglrvu_ite: Enabling sourcing of 4.5A on type-C ports
To support USB4, source a total of 4.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 <keithshort@chromium.org>
Change-Id: I208b13b257980303d2be14dd5cc67905586fde73
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533514
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
-rw-r--r-- | board/tglrvpu_ite/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/tglrvpu_ite/board.h b/board/tglrvpu_ite/board.h index 030f3676d2..95ba60f0a3 100644 --- a/board/tglrvpu_ite/board.h +++ b/board/tglrvpu_ite/board.h @@ -90,6 +90,12 @@ /* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 +/* + * For USB4, set the total budget for source current to 4.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 4500 #ifndef __ASSEMBLER__ |