summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-01-26 08:50:51 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-04 19:57:24 +0000
commit7cc4c6e351b346c650817d13b8fc9ef1d7f0b547 (patch)
tree8c0b7999bf39d7ff771051708f6f049d590bf58e /include
parent7a065d4e9b1b88586d146221df895ca92e33ba5a (diff)
downloadchrome-ec-7cc4c6e351b346c650817d13b8fc9ef1d7f0b547.tar.gz
guybrush: Add FP6 USB mux driver
FP6 USB mux driver is similar to the FP5 USB mux driver, but uses two addresses instead of an index to select the different USB ports. Also a low power bit has been added to the control register. Datasheet can be found in the bug. BUG=b:177057723 TEST=Build BRANCH=None Signed-off-by: Rob Barnes <robbarnes@google.com> Change-Id: I94a3db5f7d643a17dfdf89d721dd7f14cb75e402 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2654387 Reviewed-by: Diana Z <dzigterman@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 551ae563e2..1002b16b4d 100644
--- a/include/config.h
+++ b/include/config.h
@@ -4715,6 +4715,9 @@
/* Support the AMD FP5 USB/DP Mux */
#undef CONFIG_USB_MUX_AMD_FP5
+/* Support the AMD FP6 USB/DP Mux */
+#undef CONFIG_USB_MUX_AMD_FP6
+
/*
* Support the Analogix ANX7440 USB Type-C Active mux with
* Integrated Re-timers for USB3.1/DisplayPort.
diff --git a/include/usb_mux.h b/include/usb_mux.h
index 5ce198c73d..cb50497ef7 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -139,6 +139,7 @@ struct usb_mux {
/* Supported USB mux drivers */
extern const struct usb_mux_driver amd_fp5_usb_mux_driver;
+extern const struct usb_mux_driver amd_fp6_usb_mux_driver;
extern const struct usb_mux_driver anx7440_usb_mux_driver;
extern const struct usb_mux_driver it5205_usb_mux_driver;
extern const struct usb_mux_driver pi3usb3x532_usb_mux_driver;