From 73d0ed0b794b13ceff5620b5c15ba7a3760d1f35 Mon Sep 17 00:00:00 2001 From: Dino Li Date: Tue, 31 Oct 2017 14:59:50 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/741211 Reviewed-by: Shawn N --- include/usb_mux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/usb_mux.h') 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; -- cgit v1.2.1