summaryrefslogtreecommitdiff
path: root/board/samus_pd
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 /board/samus_pd
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 'board/samus_pd')
-rw-r--r--board/samus_pd/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/samus_pd/board.h b/board/samus_pd/board.h
index 1d54501e61..a2cba6d77c 100644
--- a/board/samus_pd/board.h
+++ b/board/samus_pd/board.h
@@ -52,6 +52,7 @@
#define CONFIG_USB_PD_COMM_ENABLED 0
#define CONFIG_USB_PD_CUSTOM_VDM
#define CONFIG_USB_PD_DUAL_ROLE
+#define CONFIG_USB_PD_TRY_SRC
#define CONFIG_USB_PD_FLASH_ERASE_CHECK
#define CONFIG_USB_PD_INTERNAL_COMP
#define CONFIG_USB_PD_LOGGING