summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2020-01-08 18:44:13 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-09 23:54:49 +0000
commitf5e5148447da0df764dc330b05a5267f968c98c2 (patch)
tree2a39b6c98f5bdac4158aafdac45be9a1096cf63d /include/usb_mux.h
parent35b85ea8dbd0ab0620f8c2b0218b835a911dc68c (diff)
downloadchrome-ec-f5e5148447da0df764dc330b05a5267f968c98c2.tar.gz
USB_MUX: correct setting the retimer data
Modified the USB MUX common driver to correctly configure the retimer data based on the current USB MUX info. BUG=b:145943811 BRANCH=none TEST=DP works on Volteer Change-Id: I5f37bcc0647f07b94fd9ee33913610cf6ae70c80 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1992842 Tested-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r--include/usb_mux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h
index 0569beb44e..1e2ce02839 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -289,4 +289,14 @@ mux_state_t usb_mux_get(int port);
* @param port port number.
*/
void usb_mux_flip(int port);
+
+/**
+ * Update the hot-plug event.
+ *
+ * @param port port number.
+ * @param hpd_lvl HPD level.
+ * @param hpd_irq HPD IRQ.
+ */
+void usb_mux_hpd_update(int port, int hpd_lvl, int hpd_irq);
+
#endif