On Fri, 24 Jul 2026 15:48:59 +0530, Balaji Selvanathan via U-Boot wrote:
> Read the USB-C cable orientation from the orientation-gpios
> property on the qcom,pmic-glink node and use it when programming
> the TypeC port-select mux.
>
> Taken from Linux commit 815891eee668 ("phy: qcom-qmp-combo: Introduce
> orientation variable")
>
> Previously the driver always set SW_PORTSELECT_MUX without
> accounting for cable orientation, so the SuperSpeed/DP lanes could
> be routed to the wrong side of the connector on boards where the
> cable was flipped. Now orientation is read once during DT parsing
> and SW_PORTSELECT_VAL is added to the mux value when a reversed
> orientation is detected.
>
> [...]
Applied, thanks!
[1/1] phy: qcom: qmp-combo: honor USB-C orientation for port select
https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/55e07ef6a93b
Best regards,
--
// Casey (she/they)