diff options
author | Keith Short <keithshort@chromium.org> | 2020-08-27 14:51:41 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-02 03:20:23 +0000 |
commit | c069177ccc29b4373d5587e1dcea966aeee0a856 (patch) | |
tree | 84f6a1b6e046b0c2aab859a992a7366c5fb29c8c /driver/tcpm/tcpci.h | |
parent | 6b7a3e349d4d55c3a5a40bfa6094e415a5a4d8c3 (diff) | |
download | chrome-ec-c069177ccc29b4373d5587e1dcea966aeee0a856.tar.gz |
tcpmv2: disable receive of SOP' during VCONN swap
The USB PD specification indicates that the initial VCONN source shall
cease source VCONN within tVCONNSourceOff (25 ms) after receiving
PS_RDY. Not all partners wait after sending PS_RDY before trying to
communicate with the cable.
BUG=b:163478172, b:163143427
BRANCH=none
TEST=make buildall
TEST=Connect 2 Volteers together and force VCONN swaps confirming the
sequence completes normally.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I14720f033c5f6e9caed9c4fe3bfa11e5c046116e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2381030
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'driver/tcpm/tcpci.h')
-rw-r--r-- | driver/tcpm/tcpci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/tcpm/tcpci.h b/driver/tcpm/tcpci.h index 914b143c41..db05c978e8 100644 --- a/driver/tcpm/tcpci.h +++ b/driver/tcpm/tcpci.h @@ -221,6 +221,7 @@ bool tcpci_tcpm_check_vbus_level(int port, enum vbus_level level); int tcpci_tcpm_select_rp_value(int port, int rp); int tcpci_tcpm_set_cc(int port, int pull); int tcpci_tcpm_set_polarity(int port, enum tcpc_cc_polarity polarity); +int tcpci_tcpm_sop_prime_disable(int port); int tcpci_tcpm_set_vconn(int port, int enable); int tcpci_tcpm_set_msg_header(int port, int power_role, int data_role); int tcpci_tcpm_set_rx_enable(int port, int enable); |