summaryrefslogtreecommitdiff
path: root/include/config.h
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-19 00:26:44 +0000
commit6eb0592556969bbdf240095e880811c97c89ee6e (patch)
tree2bc2fdf72694438b4c0dbdd6e424855611af65a3 /include/config.h
parent1b2b73881ae5a57d8d8affd7d4259e8f1f2e08bc (diff)
downloadchrome-ec-6eb0592556969bbdf240095e880811c97c89ee6e.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>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index dcc976789d..adf582a834 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5171,6 +5171,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) || \