summaryrefslogtreecommitdiff
path: root/include/usb_pd_tcpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r--include/usb_pd_tcpm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h
index bd4b29ddba..8cc5543c53 100644
--- a/include/usb_pd_tcpm.h
+++ b/include/usb_pd_tcpm.h
@@ -233,15 +233,17 @@ struct tcpm_drv {
#ifdef CONFIG_USB_PD_DECODE_SOP
/**
- * Disable receive of SOP' and SOP'' messages. This is provided
+ * Control receive of SOP' and SOP'' messages. This is provided
* separately from set_vconn so that we can preemptively disable
- * receipt of SOP' messages during a VCONN swap.
+ * receipt of SOP' messages during a VCONN swap, or disable during spans
+ * when port partners may erroneously be sending cable messages.
*
* @param port Type-C port number
+ * @param enable Enable SOP' and SOP'' messages
*
* @return EC_SUCCESS or error
*/
- int (*sop_prime_disable)(int port);
+ int (*sop_prime_enable)(int port, bool enable);
#endif
/**