summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-11-11 12:54:59 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-12 22:35:41 +0000
commitad0c556dd9a554c32c185d9cab74ba28994970eb (patch)
treed8cc02d392ee21dbaa7476ebd97f44a791837a02
parent669500c514d7a262e7f52a29a8badfaddca4dc75 (diff)
downloadchrome-ec-ad0c556dd9a554c32c185d9cab74ba28994970eb.tar.gz
adlrvpp_ite: Enabling sourcing of 7.5A on type-C ports
To support USB4, source a total of 7.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: I14b5412602aaa0e8671e76a45eb0090a4d3e148c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533490 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Poornima Tom <poornima.tom@intel.com> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--board/adlrvpp_ite/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/adlrvpp_ite/board.h b/board/adlrvpp_ite/board.h
index 393268138c..4f629fc710 100644
--- a/board/adlrvpp_ite/board.h
+++ b/board/adlrvpp_ite/board.h
@@ -130,6 +130,12 @@
/* Enabling USB4 mode */
#define CONFIG_USB_PD_USB4
+/*
+ * For USB4, set the total budget for source current to 7.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 7500
#ifndef __ASSEMBLER__