Skip to contentSkip to conversation

arm64: dts: rockchip: let TCPM own the USB-C VBUS on CM5-IO

PATCH RESEND Applied Jiaxing Hu 3 participants 3 messages Oct 24 – Nov 1

Subsystems (2)
lore
Share & tools
lore

Jiaxing Hu

author
#0 lore raw

PATCH RESEND 1/1 arm64: dts: rockchip: let TCPM own the USB-C VBUS on CM5-IO

vcc_5v0_typec0 is the switched VBUS of the USB-C port. It is the vbus-supply of the FUSB302, but also the phy-supply of u2phy0_otg. The PHY enables it at boot and keeps it on, so TCPM never sees vSafe0V and a sink partner stays in SRC_ATTACH_WAIT. A USB-C dock is not detected.

Drop the phy-supply and leave VBUS to TCPM.

Fixes 44a48a23974b ("arm64: dts: rockchip: Add ArmSoM CM5 and CM5-IO")

---
Resent with the lists on Cc. The first copy went to Heiko only.

 arch/arm64/boot/dts/rockchip/rk3576-armsom-cm5-io.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3576-armsom-cm5-io.dts +0 -1
index 5958b391e..72ca49ec3 100644
@@ -306,7 +306,6 @@ &u2phy0 {
 };
 
 &u2phy0_otg {
-	phy-supply = <&vcc_5v0_typec0>;
 	status = "okay";
 };
 
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 6 lines · Jiaxing Hu

vcc_5v0_typec0 is the switched VBUS of the USB-C port. It is the vbus-supply of the FUSB302, but also the phy-supply of u2phy0_otg. The PHY enables it at boot and keeps it on, so TCPM never sees vSafe0V and a sink partner stays in SRC_ATTACH_WAIT. A USB-C dock is not detected.

Quoted 6 lines

Drop the phy-supply and leave VBUS to TCPM.

Fixes 44a48a23974b ("arm64: dts: rockchip: Add ArmSoM CM5 and CM5-IO")

---

Greetings,

-- Sebastian

Quoted 21 lines

Resent with the lists on Cc. The first copy went to Heiko only.

 arch/arm64/boot/dts/rockchip/rk3576-armsom-cm5-io.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3576-armsom-cm5-io.dts +0 -1
index 5958b391e..72ca49ec3 100644
@@ -306,7 +306,6 @@ &u2phy0 {
 };
 
 &u2phy0_otg {
-	phy-supply = <&vcc_5v0_typec0>;
 	status = "okay";
 };
 
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw
In reply to Jiaxing Hu
Quoted 9 lines · Jiaxing Hu

vcc_5v0_typec0 is the switched VBUS of the USB-C port. It is the vbus-supply of the FUSB302, but also the phy-supply of u2phy0_otg. The PHY enables it at boot and keeps it on, so TCPM never sees vSafe0V and a sink partner stays in SRC_ATTACH_WAIT. A USB-C dock is not detected.

Drop the phy-supply and leave VBUS to TCPM.

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: let TCPM own the USB-C VBUS on CM5-IO

      commit: 1b0bcdaa4de9725870c9b0216acbd373b5faebb7

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>