summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-07-08 16:18:41 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-12 18:08:41 +0000
commite912085070cd8bff49ae3b3bb3cd7ce3b274caa9 (patch)
tree2c7b5335d76e91c6770adc9e5fcc221870917582 /test/test_config.h
parentb86dfea40060ba8e5037ba5cb3ea971b28ec541c (diff)
downloadchrome-ec-e912085070cd8bff49ae3b3bb3cd7ce3b274caa9.tar.gz
TCPMv2: Gate requesting sink capabilities on related features
There are a number of features that may cause a board to need sink capabilities (3.0 A port balancing, FRS, or AP host commands). However, other boards may not need these and the added traffic can increase the liklihood of collisions on PD 2.0 connections. BRANCH=None BUG=b:192051705 TEST=connect honeybuns to TCPMv1 DUT and verify DP alternate mode can be reliably entered Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I70e2f360a9a45eee85ed555cb0165937c01a661a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3016407 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index d06db8252e..9e74a8646b 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -404,6 +404,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#undef CONFIG_USB_PD_HOST_CMD
#define CONFIG_USB_PD_ALT_MODE_DFP
#define CONFIG_USBC_SS_MUX
+#define CONFIG_USB_PD_3A_PORTS 0 /* Host does not define a 3.0 A PDO */
#endif
#if defined(TEST_USB_PE_DRP) || defined(TEST_USB_PE_DRP_NOEXTENDED)
@@ -429,6 +430,7 @@ int ncp15wb_calculate_temp(uint16_t adc);
#define CONFIG_USBC_SS_MUX
#define I2C_PORT_HOST_TCPC 0
#define CONFIG_CHARGE_MANAGER
+#define CONFIG_USB_PD_3A_PORTS 0 /* Host does not define a 3.0 A PDO */
#endif /* TEST_USB_PE_DRP || TEST_USB_PE_DRP_NOEXTENDED */
/* Common TypeC tests defines */