summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/CMakeLists.txt2
-rw-r--r--zephyr/Kconfig.usbc7
-rw-r--r--zephyr/shim/include/config_chip.h5
3 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt
index 51714e67ff..4fc6705c93 100644
--- a/zephyr/CMakeLists.txt
+++ b/zephyr/CMakeLists.txt
@@ -328,6 +328,8 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC_SS_MUX
"${PLATFORM_EC}/driver/usb_mux/usb_mux.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_MUX_IT5205
"${PLATFORM_EC}/driver/usb_mux/it5205.c")
+zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_MUX_PS8743
+ "${PLATFORM_EC}/driver/usb_mux/ps8743.c")
zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USB_MUX_VIRTUAL
"${PLATFORM_EC}/driver/usb_mux/virtual.c")
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index 93e3a59fba..45ba7479f2 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -853,6 +853,13 @@ config PLATFORM_EC_USB_MUX_IT5205
cross-point mux for low-speed Side-Band-Use (SBU) pins. The mux can
be controlled via I2C.
+config PLATFORM_EC_USB_MUX_PS8743
+ bool "Parade PS8743 USB-C Host Switch with redriver"
+ help
+ This is a Parade USB 3.1 Gen 1 / DisplayPort (DP) Alt Mode
+ High-Bit-Rate 2 (HBR2) redriver. It provides control of switching
+ modes through either GPIO or I2C.
+
endif
config PLATFORM_EC_USBC_SS_MUX
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index a7f54ed806..92bc110cf1 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -1016,6 +1016,11 @@
#define CONFIG_USB_MUX_IT5205
#endif
+#undef CONFIG_USB_MUX_PS8743
+#ifdef CONFIG_PLATFORM_EC_USB_MUX_PS8743
+#define CONFIG_USB_MUX_PS8743
+#endif
+
#undef CONFIG_USB_MUX_VIRTUAL
#ifdef CONFIG_PLATFORM_EC_USB_MUX_VIRTUAL
#define CONFIG_USB_MUX_VIRTUAL