mbox series

[RFC,0/2] usb: typec: Add new driver for Parade PS8830 Type-C Retimer

Message ID 20240829-x1e80100-ps8830-v1-0-bcc4790b1d45@linaro.org (mailing list archive)
Headers show
Series usb: typec: Add new driver for Parade PS8830 Type-C Retimer | expand

Message

Abel Vesa Aug. 29, 2024, 6:44 p.m. UTC
The Parade PS8830 is a Type-C multi-protocol retimer that is controlled
via I2C. It provides altmode and orientation handling and usually sits
between the Type-C port and the PHY.

It is currently used alongside Qualcomm Snapdragon X Elite SoCs on quite
a few laptops already.

This new driver adds support for the following 3 modes:
 - DP 4lanes - with pin assignments C and E
 - USB3
 - DP 2lanes + USB3

Only DP 4lanes and USB3 modes have been succesfully tested on
Qualcomm (X Elite) CRD and Lenovo Thinkpad T14s so fat.
Devicetree patches for these 2 boards will follow.

The DP 2lanes + USB3 is still work-in-progress as it might involve changes
outside of this retimer driver.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Abel Vesa (2):
      dt-bindings: usb: Add Parade PS8830 Type-C retimer bindings
      usb: typec: Add support for Parade PS8830 Type-C Retimer

 .../devicetree/bindings/usb/parade,ps8830.yaml     | 117 +++++++
 drivers/usb/typec/mux/Kconfig                      |  10 +
 drivers/usb/typec/mux/Makefile                     |   1 +
 drivers/usb/typec/mux/ps8830.c                     | 347 +++++++++++++++++++++
 4 files changed, 475 insertions(+)
---
base-commit: b18bbfc14a38b5234e09c2adcf713e38063a7e6e
change-id: 20240521-x1e80100-ps8830-d5ccca95b557

Best regards,

Comments

Konrad Dybcio Aug. 30, 2024, 12:57 a.m. UTC | #1
On 29-Aug-24 20:44, Abel Vesa wrote:
> The Parade PS8830 is a Type-C multi-protocol retimer that is controlled
> via I2C. It provides altmode and orientation handling and usually sits
> between the Type-C port and the PHY.
> 
> It is currently used alongside Qualcomm Snapdragon X Elite SoCs on quite
> a few laptops already.
> 
> This new driver adds support for the following 3 modes:
>  - DP 4lanes - with pin assignments C and E
>  - USB3
>  - DP 2lanes + USB3
> 
> Only DP 4lanes and USB3 modes have been succesfully tested on
> Qualcomm (X Elite) CRD and Lenovo Thinkpad T14s so fat.
> Devicetree patches for these 2 boards will follow.
> 
> The DP 2lanes + USB3 is still work-in-progress as it might involve changes
> outside of this retimer driver.

Yep, it's the QC combo PHY being grumpy, this one's fine

Tested-by: Konrad Dybcio <quic_kdybcio@quicinc.com> # x1e80100-romulus

Konrad