diff options
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r-- | include/usb_pd_tcpm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index ab70c9a7f7..7a7bd0b3a1 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -266,6 +266,15 @@ struct tcpm_drv { */ void (*tcpc_discharge_vbus)(int port, int enable); + /** + * Connection State Change + * + * @param port Type-C port number + * @param connected Connection state + */ + void (*tcpc_connect_state_change)(int port, + int connected); + #ifdef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE /** * Enable TCPC auto DRP toggling. |