summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
authorli feng <li1.feng@intel.com>2016-05-04 12:37:51 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-14 22:00:51 -0700
commitaff5c83053cf88edf3c4331b09b25d7361c1ba9a (patch)
tree7e1aee232be23aaf52bea7cb2b6bebe16a3faf7f /include/usb_mux.h
parenta800ecfec6a293522c12fad1003dff71b0eaec80 (diff)
downloadchrome-ec-aff5c83053cf88edf3c4331b09b25d7361c1ba9a.tar.gz
amenia: Support DP alt mode of Type-C controller in amenia.
BUG=none BRANCH=none TEST=On Amenia TR1.2, tested with HDMI to Type-C dongle. Both Analogix and Parade ports have HDMI on extended display. Change-Id: Ifb95c289019063a8a24d135e3b3a09cb4d446210 Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com> Signed-off-by: li feng <li1.feng@intel.com> Reviewed-on: https://chromium-review.googlesource.com/348881 Commit-Ready: Li1 Feng <li1.feng@intel.com> Tested-by: Li1 Feng <li1.feng@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r--include/usb_mux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h
index 4f38b8e68e..52917efb45 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -75,6 +75,12 @@ struct usb_mux {
* @return EC_SUCCESS on success, non-zero error code on failure.
*/
int (*board_init)(const struct usb_mux *mux);
+
+ /*
+ * USB Type-C DP alt mode support. Notify Type-C controller
+ * there is DP dongle hot-plug.
+ */
+ void (*hpd_update)(int port, int hpd_lvl, int hpd_irq);
};
/* Supported USB mux drivers */