diff options
author | Keith Short <keithshort@chromium.org> | 2020-11-11 12:59:18 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-12 22:35:53 +0000 |
commit | dfcbc331183dd8e4856d89255900353c76ec68cb (patch) | |
tree | ac48298c2238580a9e3196433a2c205fd0478204 /board/terrador | |
parent | b193d52653b025c416bca44b2e44d69ae1301c48 (diff) | |
download | chrome-ec-dfcbc331183dd8e4856d89255900353c76ec68cb.tar.gz |
terrador: 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=b:172710638
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I9ca2314ca18d298e9dd6158eff7b7e1e2d673cf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533513
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/terrador')
-rw-r--r-- | board/terrador/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/terrador/board.h b/board/terrador/board.h index 16b1af04b7..ed1b059137 100644 --- a/board/terrador/board.h +++ b/board/terrador/board.h @@ -76,6 +76,12 @@ #define CONFIG_USB_PD_USB4 #define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x40 #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 */ |