summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorScott <scollyer@chromium.org>2015-06-19 11:03:34 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-08 19:34:14 +0000
commite9cd22921615ab4c8c10749f0ac2129def4bcb93 (patch)
tree1f85534b6b8cfa697c34bff2a843724d56baece0 /include/config.h
parent4cd2b6c011a7337dcdc3686336e2e1ce24ca419a (diff)
downloadchrome-ec-e9cd22921615ab4c8c10749f0ac2129def4bcb93.tar.gz
pd: Add Try.SRC functionality to the pd_protocol state machine
1. Added new config option CONFIG_USB_PD_TRY_SRC 2. Added pd_try_source_enable global flag with console command 3. Added bit to pd.flags to indicate Try.SRC states are active BUG=chrome-os-partner:39724 TEST=Manual samus to samus with the Try.SRC enabled on both and just one samus. Tested Samus to Honeybuns and Samus to Zinger connections. BRANCH=TOT Change-Id: Ifa5d5d82e443f376e546aaf852ff24d92ef04d72 Signed-off-by: Scott Collyer <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/282052 Reviewed-by: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@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 3bff029e2f..b456a81f39 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1535,6 +1535,9 @@
/* Define the type-c port controller I2C base address. */
#undef CONFIG_TCPC_I2C_BASE_ADDR
+/* Use this option to enable Try.SRC mode for Dual Role devices */
+#undef CONFIG_USB_PD_TRY_SRC
+
/* Alternative configuration keeping only the TX part of PHY */
#undef CONFIG_USB_PD_TX_PHY_ONLY