summaryrefslogtreecommitdiff
path: root/src/include/device/usbc_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/usbc_mux.h')
-rw-r--r--src/include/device/usbc_mux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/device/usbc_mux.h b/src/include/device/usbc_mux.h
index 0648a74f66..cf109b7fe8 100644
--- a/src/include/device/usbc_mux.h
+++ b/src/include/device/usbc_mux.h
@@ -55,6 +55,15 @@ struct usbc_dp_ops {
int (*enter_dp_mode)(int port);
/*
+ * Wait up to `timeout_ms` for DP mode entry on a given port.
+ *
+ * Return value:
+ * -1 = timeout
+ * 0 = success
+ */
+ int (*wait_for_dp_mode_entry)(int port, long timeout_ms);
+
+ /*
* Wait up to `timeout_ms` for HPD on a given port.
*
* Return value: