summaryrefslogtreecommitdiff
path: root/driver/tcpm/rt1718s.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/rt1718s.h')
-rw-r--r--driver/tcpm/rt1718s.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/driver/tcpm/rt1718s.h b/driver/tcpm/rt1718s.h
index d14e2bd498..d036c6901a 100644
--- a/driver/tcpm/rt1718s.h
+++ b/driver/tcpm/rt1718s.h
@@ -274,4 +274,13 @@ int rt1718s_sw_reset(int port);
* @return EC_SUCCESS if success, EC_ERROR_UNKNOWN otherwise.
*/
__override_proto int board_rt1718s_set_snk_enable(int port, int enable);
+
+/**
+ * Board hook for rt1718s_set_src_enable
+ *
+ * @param port USB-C port
+ * @param enable enable/disable source
+ * @return EC_SUCCESS if success, EC_ERROR_UNKNOWN otherwise.
+ */
+__override_proto int board_rt1718s_set_src_enable(int port, int enable);
#endif /* __CROS_EC_USB_PD_TCPM_MT6370_H */