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 1b8867d4a9..912e3bbda2 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -176,6 +176,14 @@ struct tcpm_drv { * @param port Type-C port number */ void (*tcpc_alert)(int port); + + /** + * Discharge PD VBUS on src/sink disconnect & power role swap + * + * @param port Type-C port number + * @param enable Discharge enable or disable + */ + void (*tcpc_discharge_vbus)(int port, int enable); }; enum tcpc_alert_polarity { |