summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-11-11 13:02:18 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-12 22:36:16 +0000
commit0656fe8e9f89e50fbbe76348b9b2326fb65101e8 (patch)
tree755a0798426a23fec9706d3dd769468f05dd84dd
parent7db13b103f73fe1bcc68b6358dbb02364467b708 (diff)
downloadchrome-ec-0656fe8e9f89e50fbbe76348b9b2326fb65101e8.tar.gz
voema: 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: I86cf35fd46d8188636da65ade3894f3d0bbe9ae0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533517 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--board/voema/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/voema/board.h b/board/voema/board.h
index 8ce2c4a73b..93034565d8 100644
--- a/board/voema/board.h
+++ b/board/voema/board.h
@@ -79,6 +79,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