summaryrefslogtreecommitdiff
path: root/include/usb_pe_sm.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-06-29 13:14:43 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-10 22:21:58 +0000
commit23ea3fbd4a6e52b8a54f4278bbed8975af34cca7 (patch)
tree84b8b0ee67f7fdbb9d9ad44695ed7659439c7c06 /include/usb_pe_sm.h
parent0f713b36be38449cddea2196d1a135d7bdcfb82a (diff)
downloadchrome-ec-23ea3fbd4a6e52b8a54f4278bbed8975af34cca7.tar.gz
tcpmv2: perform partner reset on startup, remove BBRAM
- Reset the port partner by applying CC Open on both CC lines - Reuse the existing error recovery state to apply CC values - Extend error recovery timer to 240 msec to account for us being able to source Vconn - Since we always reset on startup, we don't need to store previous contracts in BBRAM. BRANCH=none BUG=b:159495742,b:158802939 TEST=see that we apply CC Open upon reset TEST=see that we do not get a fault on Trembyle went setting CC open TEST=apple 3-1 dongle with display port and power on Puff will come back with power and display after a `reboot` EC command (which will trigger the ErrorRecovery brownout path) Signed-off-by: Jett Rink <jettrink@chromium.org> Change-Id: Iaac09d62e4a31557492cebb354d3a34371c1e9bb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2271002 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
-rw-r--r--include/usb_pe_sm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h
index 2ad41991a2..78c1f27759 100644
--- a/include/usb_pe_sm.h
+++ b/include/usb_pe_sm.h
@@ -175,11 +175,6 @@ void pe_dpm_request(int port, enum pe_dpm_request req);
int pd_is_port_partner_dualrole(int port);
/*
- * Informs the Policy Engine that a sysjump has occurred
- */
-void pe_set_sysjump(void);
-
-/*
* Informs the Policy Engine that it should invalidate the
* explicit contract.
*