summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2017-10-31 14:59:50 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-10-31 21:49:24 -0700
commit73d0ed0b794b13ceff5620b5c15ba7a3760d1f35 (patch)
tree3083fa0ba743eb5d70e90c15394c7d479f51c756 /include/usb_mux.h
parentb979c8ade3c46d67ef739bfe22361b8fc5db6b34 (diff)
downloadchrome-ec-73d0ed0b794b13ceff5620b5c15ba7a3760d1f35.tar.gz
driver: add IT5205 mux driver
Add support the ITE IT5205 Type-C USB alternate mode mux. BRANCH=none BUG=none TEST=1. Successfully verify chip ID. 2. Verify set_mux() and get_mux() functions set and return consistent values. 3. The mux control register setting as expected after set_mux(). Change-Id: I9ff066dc9e74683df1371b70290e2aeaa86cb96b Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-on: https://chromium-review.googlesource.com/741211 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r--include/usb_mux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h
index 8df27af44b..151c397995 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -88,6 +88,7 @@ struct usb_mux {
};
/* Supported USB mux drivers */
+extern const struct usb_mux_driver it5205_usb_mux_driver;
extern const struct usb_mux_driver pi3usb30532_usb_mux_driver;
extern const struct usb_mux_driver ps874x_usb_mux_driver;
extern const struct usb_mux_driver tcpm_usb_mux_driver;