summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-06-26 12:27:23 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-30 17:18:40 +0000
commit4a56579f21e5aced3673d694fc45811cfd439d84 (patch)
treecbd532f3ad1e54b12f665197718a3a4f68a1cf83 /include
parent1ef8c7dc2096405e815797fd06dec628a39b4e33 (diff)
downloadchrome-ec-4a56579f21e5aced3673d694fc45811cfd439d84.tar.gz
usb_mux: Add support for Parade PS8740 chip
Initial support for Parade PS8740 Type-C redriving switch. BUG=chrome-os-partner:41696 TEST=Manual on Glados in subsequent commit. Verify set() and get() functions set and return consistent values. Verify that USB SS device functions when muxes are set to dock or USB. BRANCH=None Change-Id: Iedbe53cc76f30ecd969c2ca99a7377ed3b193729 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/282280 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
-rw-r--r--include/usb_mux.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 76436708ca..2699335996 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1633,6 +1633,9 @@
/* Support the Pericom PI3USB30532 USB3.0/DP1.2 Matrix Switch */
#undef CONFIG_USB_MUX_PI3USB30532
+/* Support the Parade PS8740 Type-C Redriving Switch */
+#undef CONFIG_USB_MUX_PS8740
+
/*****************************************************************************/
/* USB GPIO config */
#undef CONFIG_USB_GPIO
diff --git a/include/usb_mux.h b/include/usb_mux.h
index d451e9cf1c..d94c0c4606 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -69,6 +69,7 @@ struct usb_mux {
/* Supported USB mux drivers */
extern const struct usb_mux_driver pi3usb30532_usb_mux_driver;
+extern const struct usb_mux_driver ps8740_usb_mux_driver;
/* USB muxes present in system, ordered by PD port #, defined at board-level */
extern struct usb_mux usb_muxes[];