[PATCH 0/2] arm64: dts: qcom: glymur: Fix USB role-switch configuration

Abel Vesa posted 2 patches 2 months ago
arch/arm64/boot/dts/qcom/glymur-crd.dts | 4 ----
arch/arm64/boot/dts/qcom/glymur.dtsi    | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
[PATCH 0/2] arm64: dts: qcom: glymur: Fix USB role-switch configuration
Posted by Abel Vesa 2 months ago
The Glymur USB role-switch description is currently incomplete and partly
self-contradictory.

At the SoC level, only USB SS0 is currently described as being able to
switch USB data role, while SS1 and SS2 are missing the 'usb-role-switch'
property even though the controllers support it.

At the board level, Glymur CRD forces the two exposed Type-C ports into
host mode through 'dr_mode = "host"', which prevents them from behaving
as dual-role ports.

Fix this by first marking the additional Glymur USB controllers as role
switch capable, then by dropping the forced host mode from the two CRD
Type-C ports so that they can operate in their natural OTG mode.

This restores the intended dual-role behavior for the exposed USB-C
ports on Glymur CRD.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Abel Vesa (2):
      arm64: dts: qcom: glymur: Mark USB SS1 and SS2 as role-switch capable
      arm64: dts: qcom: glymur-crd: Drop forced host mode for USB SS0 and SS1

 arch/arm64/boot/dts/qcom/glymur-crd.dts | 4 ----
 arch/arm64/boot/dts/qcom/glymur.dtsi    | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: e6efabc0afca02efa263aba533f35d90117ab283
change-id: 20260415-dts-qcom-glymur-usb-role-switch-fix-fce43098888c

Best regards,
--  
Abel Vesa <abel.vesa@oss.qualcomm.com>
Re: (subset) [PATCH 0/2] arm64: dts: qcom: glymur: Fix USB role-switch configuration
Posted by Bjorn Andersson 1 month ago
On Wed, 15 Apr 2026 10:52:55 +0300, Abel Vesa wrote:
> The Glymur USB role-switch description is currently incomplete and partly
> self-contradictory.
> 
> At the SoC level, only USB SS0 is currently described as being able to
> switch USB data role, while SS1 and SS2 are missing the 'usb-role-switch'
> property even though the controllers support it.
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: qcom: glymur: Mark USB SS1 and SS2 as role-switch capable
      commit: 347fa2fa64e1cef0c7897522896c0c66e734c82b

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>