summaryrefslogtreecommitdiff
path: root/include/usb_tc_sm.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-05-14 09:38:50 -0600
committerCommit Bot <commit-bot@chromium.org>2020-05-16 00:15:21 +0000
commit2afbf01e37f4937905b28586a7bf55b1822c6f68 (patch)
tree7f1291cda176eea192a92e3a4edc0aa963eefcc2 /include/usb_tc_sm.h
parenta8638087604a975980cb0379558f4f80b8d33eea (diff)
downloadchrome-ec-2afbf01e37f4937905b28586a7bf55b1822c6f68.tar.gz
TCPMv2: Move sink hard reset recovery into TC
The PD spec requires that PE_SNK_Transition_to_default exits when the sink has reached the default level. Change how the TC handles sink hard resets to wait on notifying the PE hard reset is complete until Vbus has returned. BRANCH=None BUG=b:155923935,b:153593929 TEST=on kindred with TCPMv2, ensure: - port goes unattached after removing suzy-q - hard reset as source succeeds, gets back to SRC_Ready - hard reset as sink succeeds, no extra hard resets sent while source is recovering Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I60427204380067fc5ee36432eab0146a9ab0687b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2202077 Tested-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_tc_sm.h')
-rw-r--r--include/usb_tc_sm.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/usb_tc_sm.h b/include/usb_tc_sm.h
index b6ed917d4d..293ed55a10 100644
--- a/include/usb_tc_sm.h
+++ b/include/usb_tc_sm.h
@@ -322,16 +322,6 @@ void tc_start_error_recovery(int port);
void tc_hard_reset_request(int port);
/**
- * Hard Reset was sent and we are required to remain attached until we have
- * restored our connection for the TypeC port.
- * A call to tc_hard_reset_allow_unattach will allow the connection to go
- * to an unattached state
- *
- * @param port USB-C port number
- */
-void tc_hard_reset_allow_unattach(int port);
-
-/**
* Hard Reset is complete for the TypeC port
*
* @param port USB-C port number