summaryrefslogtreecommitdiff
path: root/include/usb_dp_alt_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_dp_alt_mode.h')
-rw-r--r--include/usb_dp_alt_mode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usb_dp_alt_mode.h b/include/usb_dp_alt_mode.h
index 5a063e63a2..273ac9b25f 100644
--- a/include/usb_dp_alt_mode.h
+++ b/include/usb_dp_alt_mode.h
@@ -33,6 +33,16 @@ void dp_init(int port);
bool dp_is_active(int port);
/*
+ * Checks weather the mode entry sequence for DisplayPort alternate mode is
+ * done for a port.
+ *
+ * @param port USB-C port number
+ * @return True if entry sequence for DisplayPort mode is completed
+ * False otherwise
+ */
+bool dp_entry_is_done(int port);
+
+/*
* Handles received DisplayPort VDM ACKs.
*
* @param port USB-C port number