summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-02-17 11:55:44 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-23 20:44:01 +0000
commit9d24984ca1cbc4a676e466826059a670c5f83eb1 (patch)
tree6a549b1601d867e5e33f649e49fbbae4e23cae27
parentd1a52e3f698b79fcae558cde78b3b41f4c0499a6 (diff)
downloadchrome-ec-9d24984ca1cbc4a676e466826059a670c5f83eb1.tar.gz
TCPMv2: Clarify how to opt out of DPM source-out policy
Add clarification for how a board can turn off the 3.0 A source-out policy. This can be either because it doesn't support sourcing that much current, or because it is implementing a board-specific PDO selection. BRANCH=None BUG=b:141690755 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I5a9d23c115470063a84170cf222845086d86955b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2701891 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2715845 Tested-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 431e2336b7..56ba85f226 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5145,6 +5145,9 @@
* defines, and define a default number of 3.0 A ports if not selected. Note
* that the functionality of this default of 1 is equivalent to both previous
* defines, which only ever allocated one 3.0 A port.
+ *
+ * To turn off the TCPMv2 3.0 A current allocation from the DPM, set
+ * CONFIG_USB_PD_3A_PORTS to 0.
*/
#ifdef CONFIG_USB_PD_TCPMV2
#if defined(CONFIG_USB_PD_MAX_TOTAL_SOURCE_CURRENT) || \