Skip to content

Commit 257a087

Browse files
abelvesagregkh
authored andcommitted
usb: typec: Add support for Parade PS8830 Type-C Retimer
The Parade PS8830 is a USB4, DisplayPort and Thunderbolt 4 retimer, controlled over I2C. It usually sits between a USB/DisplayPort PHY and the Type-C connector, and provides orientation and altmode handling. The boards that use this retimer are the ones featuring the Qualcomm Snapdragon X Elite SoCs. Add a driver with support for the following modes: - DisplayPort 4-lanes - DisplayPort 2-lanes + USB3 - USB3 There is another variant of this retimer which is called PS8833. It seems to be really similar to the PS8830, so future-proof this driver by naming it ps883x. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20250206-x1e80100-ps8830-v6-2-60b1e49cfa8d@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d73ddef commit 257a087

File tree

3 files changed

+448
-0
lines changed

3 files changed

+448
-0
lines changed

drivers/usb/typec/mux/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ config TYPEC_MUX_NB7VPQ904M
5656
Say Y or M if your system has a On Semiconductor NB7VPQ904M Type-C
5757
redriver chip found on some devices with a Type-C port.
5858

59+
config TYPEC_MUX_PS883X
60+
tristate "Parade PS883x Type-C retimer driver"
61+
depends on I2C
62+
depends on DRM || DRM=n
63+
select DRM_AUX_BRIDGE if DRM_BRIDGE && OF
64+
select REGMAP_I2C
65+
help
66+
Say Y or M if your system has a Parade PS883x Type-C retimer chip
67+
found on some devices with a Type-C port.
68+
5969
config TYPEC_MUX_PTN36502
6070
tristate "NXP PTN36502 Type-C redriver driver"
6171
depends on I2C

drivers/usb/typec/mux/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ obj-$(CONFIG_TYPEC_MUX_PI3USB30532) += pi3usb30532.o
66
obj-$(CONFIG_TYPEC_MUX_INTEL_PMC) += intel_pmc_mux.o
77
obj-$(CONFIG_TYPEC_MUX_IT5205) += it5205.o
88
obj-$(CONFIG_TYPEC_MUX_NB7VPQ904M) += nb7vpq904m.o
9+
obj-$(CONFIG_TYPEC_MUX_PS883X) += ps883x.o
910
obj-$(CONFIG_TYPEC_MUX_PTN36502) += ptn36502.o
1011
obj-$(CONFIG_TYPEC_MUX_TUSB1046) += tusb1046.o
1112
obj-$(CONFIG_TYPEC_MUX_WCD939X_USBSS) += wcd939x-usbss.o

0 commit comments

Comments
 (0)