diff options
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r-- | include/usb_pd_tcpm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index b4cd7654a7..91837a55c3 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -326,6 +326,14 @@ struct tcpm_drv { */ int (*debug_accessory)(int port, bool enable); + /** + * Break debug connection, if TCPC requires specific commands to be run + * in order to correctly exit a debug connection. + * + * @param port Type-C port number + */ + int (*debug_detach)(int port); + #ifdef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE /** * Enable TCPC auto DRP toggling. |