summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Dabros <jsd@semihalf.com>2021-08-12 11:38:48 +0200
committerCommit Bot <commit-bot@chromium.org>2021-08-25 17:45:21 +0000
commit3f4dec3720c1d70a3265ee133e1c9154c7d89adf (patch)
tree2471642df959af4badf1432f1784e7e11041eb2d /include
parent7dddeb52f1f4e0d44b99424a7b8c69b38f48b996 (diff)
downloadchrome-ec-3f4dec3720c1d70a3265ee133e1c9154c7d89adf.tar.gz
pd: usb: Add usb type-c USB mux handling for UFP-only platforms
Some platforms (e.g. servo_v4(p1)) are designed to act only as a UFP considering superspeed terminations. Add config option to properly manage usb superspeed muxer for such. BUG=b:137887386,b:182419010 BRANCH=main TEST=With servo_v4p1 connected to the DUT, unplug and replug CHG couple of times in order to force PR_SWAP on DUT port. Each time verify on the DUT console, whether all USB3 devices are visible. They should be, since servo is trying to perform DR_SWAP when it acts as a SRC. Signed-off-by: Jan Dabros <jsd@semihalf.com> Change-Id: I0a7756f0bb2192795b7489334ed01d317d3e54ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3094246 Reviewed-by: Michał Barnaś <mb@semihalf.com> Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 4e83e96f9c..057ae9b8b7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -4713,6 +4713,9 @@
*/
#undef CONFIG_USBC_SS_MUX_DFP_ONLY
+/* Only configure USB type-c superspeed mux when UFP */
+#undef CONFIG_USBC_SS_MUX_UFP_ONLY
+
/* Support v1.1 type-C connection state machine */
#undef CONFIG_USBC_BACKWARDS_COMPATIBLE_DFP