summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott <scollyer@chromium.org>2015-04-22 14:51:58 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-01 03:44:15 +0000
commit62080646fe4312de930e4c4d766106438eae5efc (patch)
treee8a2f41b7ad652f7c7d13e97fb92783dd8c012de /include
parentbec640fad5741f5194a1920486a0f92aaf60b184 (diff)
downloadchrome-ec-62080646fe4312de930e4c4d766106438eae5efc.tar.gz
pd: Allow for setting USB mux when swapping into DFP role
- Added config option CONFIG_USBC_SS_MUX_DFP_ONLY - If this options is enabled, then the mux is set to TYPEC_USB_MUX only is data role is DFP. - If this option is not enabled, the mux is set for both UFP and DFP (i.e. RYU) BUG=chrome-os-partner:39059 TEST=Manual samus to plankton, switching between source and sink modes. Forced data role swap via ec console command. BRANCH=Samus Change-Id: Ibc2fb0ad42d0fe415d3338d38da94ad4b041513b Signed-off-by: Scott Collyer <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/266916 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index c5bfde79f6..88337a2b29 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1310,6 +1310,12 @@
/* Support for USB type-c superspeed mux */
#undef CONFIG_USBC_SS_MUX
+/*
+ * Only configure USB type-c superspeed mux when DFP (for chipsets that
+ * don't support being a UFP)
+ */
+#undef CONFIG_USBC_SS_MUX_DFP_ONLY
+
/* Support v1.1 type-C connection state machine */
#undef CONFIG_USBC_BACKWARDS_COMPATIBLE_DFP