diff options
author | Keith Short <keithshort@chromium.org> | 2020-11-11 12:55:58 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-12 22:35:46 +0000 |
commit | 3df23034159b6e89658c75770c51acac8dc88224 (patch) | |
tree | 690f5becbe59032ae953a123359cebc33d9ff1ac | |
parent | ad0c556dd9a554c32c185d9cab74ba28994970eb (diff) | |
download | chrome-ec-3df23034159b6e89658c75770c51acac8dc88224.tar.gz |
drobit: 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: Idccb74d5634cb07f0339be603d9b497e3a527fbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533491
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | board/drobit/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/drobit/board.h b/board/drobit/board.h index 2119f67189..292d6e576a 100644 --- a/board/drobit/board.h +++ b/board/drobit/board.h @@ -60,6 +60,12 @@ /* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 #define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x40 +/* + * 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 /* USB Type A Features */ #define USB_PORT_COUNT 1 |