summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2020-06-04 23:17:09 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-09 21:55:51 +0000
commitacdeee0e728c5b67ac495ccc9bf1afd746dd8a74 (patch)
treed20a8c05ff9c04ff77dfe2e3f2130bf4a3415fc3 /include/usb_mux.h
parentb76b012a2410c4d0e9cb679f921fec80fb6dcae2 (diff)
downloadchrome-ec-acdeee0e728c5b67ac495ccc9bf1afd746dd8a74.tar.gz
usb_mux: ps8822: Initial version of driver
This CL adds the driver for the PS8822 usb demux. Currently, the driver only supports the expected usb mux driver methods. It is expected that any EQ setting functions would be board specific, though more register definitions would need to be added to the .h file. BUG=b:175660576 BRANCH=None TEST=Connect on host port and then read back mode register to confirm that it's been set as expected. Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: Ic425ffe41f4653cee7f5500b081d7b5f6ad1a3df Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247361 Commit-Queue: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Diana Z <dzigterman@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 4391eed1e8..f3d18a7874 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -153,6 +153,7 @@ extern const struct usb_mux_driver it5205_usb_mux_driver;
extern const struct usb_mux_driver pi3usb3x532_usb_mux_driver;
extern const struct usb_mux_driver ps8740_usb_mux_driver;
extern const struct usb_mux_driver ps8743_usb_mux_driver;
+extern const struct usb_mux_driver ps8822_usb_mux_driver;
extern const struct usb_mux_driver tcpm_usb_mux_driver;
extern const struct usb_mux_driver tusb1064_usb_mux_driver;
extern const struct usb_mux_driver virtual_usb_mux_driver;