mbox series

[0/3] Add FSUSB42 USB switch and external DP for Qualcomm X1E80100 QCP

Message ID 20241212-x1e80100-qcp-dp-v1-0-37cb362a0dfe@linaro.org
Headers show
Series Add FSUSB42 USB switch and external DP for Qualcomm X1E80100 QCP | expand

Message

Stephan Gerhold Dec. 12, 2024, 1:08 p.m. UTC
The Qualcomm X1E80100 QCP has FSUSB42 USB switches on each of the USB-C
ports that handle orientation switching for the SBU lines. This is needed
to enable DisplayPort support for external displays.

Add the onnn,fsusb42 compatible to the existing gpio-sbu-mux binding and
then describe all the necessary components in the x1e80100-qcp device tree
to make external DP work correctly.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
Stephan Gerhold (3):
      dt-bindings: usb: gpio-sbu-mux: Add an entry for FSUSB42
      arm64: dts: qcom: x1e80100-qcp: Add FSUSB42 USB switches
      arm64: dts: qcom: x1e80100-qcp: Enable external DP support

 .../devicetree/bindings/usb/gpio-sbu-mux.yaml      |   1 +
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts          | 178 +++++++++++++++++++++
 2 files changed, 179 insertions(+)
---
base-commit: 3e42dc9229c5950e84b1ed705f94ed75ed208228
change-id: 20241211-x1e80100-qcp-dp-dc521e586cbf

Best regards,

Comments

Krzysztof Kozlowski Dec. 13, 2024, 11:07 a.m. UTC | #1
On Thu, Dec 12, 2024 at 02:08:23PM +0100, Stephan Gerhold wrote:
> Add a compatible entry for the onsemi FSUSB42 USB switch, which can be used
> for switching orientation of the SBU lines in USB Type-C applications.
> 
> Drivers work as-is with the existing fallback compatible.
> 
> Link to datasheet: https://www.onsemi.com/pdf/datasheet/fsusb42-d.pdf
> 
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
>  Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml
> index 8a5f837eff94b27bbd55bfe45f8d1156e3d183eb..e588514fab2d8c9d0d3717865fe2e733664fc28b 100644
> --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml
> +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml
> @@ -20,6 +20,7 @@ properties:
>      items:
>        - enum:
>            - nxp,cbdtu02043
> +          - onnn,fsusb42
>            - onnn,fsusb43l10x

Is it different from onnn,fsusb43l10x?

Best regards,
Krzysztof