summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-11-11 12:53:51 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-12 22:35:37 +0000
commit669500c514d7a262e7f52a29a8badfaddca4dc75 (patch)
tree81aad2894fd56fc9058d9ac47fb2ccefc8a082e7
parent53a852f51049643f480f6d394543e4604b973479 (diff)
downloadchrome-ec-669500c514d7a262e7f52a29a8badfaddca4dc75.tar.gz
boldar: 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: I0d0b003297994cb7a6fc877278ec20d9858a52e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533489 Reviewed-by: Sooraj Govindan <sooraj.govindan@intel.com> Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--board/boldar/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/boldar/board.h b/board/boldar/board.h
index af4ea3e918..99324296b4 100644
--- a/board/boldar/board.h
+++ b/board/boldar/board.h
@@ -87,6 +87,12 @@
#define CONFIG_USB_PD_USB4
#define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x37
#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