diff options
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r-- | include/usb_pd_tcpm.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index 0816149464..9cfc1c9908 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -328,26 +328,6 @@ struct tcpm_drv { void (*tcpc_enable_auto_discharge_disconnect)(int port, int enable); - /** - * Set connection - * If this is a disconnect, set the ROLE_CONTROL, otherwise - * this is a new connection. May have to handle differently - * if we were performing auto-toggle. Allow a driver to do - * any work required to leave the unattached auto-toggle mode - * as well as setting the CC lines. If auto-toggle is not - * being used or was not the cause of the new connection - * detection then set both CC lines to the passed pull. - * - * @param port Type-C port number - * @param pull enum tcpc_cc_pull of CC lines - * @param connect Connect(1) or Disconnect(0) - * - * @return EC_SUCCESS or error - */ - int (*set_connection)(int port, - enum tcpc_cc_pull pull, - int connect); - #ifdef CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE /** * Enable TCPC auto DRP toggling. |