Skip to content

Typc fusb302 powerloss issue on Radxa Rock 5b

Anand Moon linux-arm-kernel linux-devicetree linux-rockchip linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: dts: rockchip: rk3588-rock-5b-5bp-5t: Correct Type-C pin bias settingsarch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi+2 -24 replies
2/3arm64: dts: rockchip: rk3588-rock-5b-5bp-5t: Fix USB host phy-supply on Rock 5b-5bp-5t SbCarch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi+1 -24 replies
3/3usb: typec: fusb302: Switch to threaded interrupt handlerdrivers/usb/typec/tcpm/fusb302.c+4 -36 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] Typc fusb302 powerloss issue on Radxa Rock 5b

Hi All

On the Radxa Rock 5B, the system occasionally experiences intermittent hard resets during the boot process. Initially, I suspected a power supply issue, but further investigation points to the Type-C fusb302 module as the cause.

Specifically, probing or reloading the fusb302 module triggers a hard reset, which can result in immediate power loss and a reboot.

[root@rockpi-5b ~]# rmmod fusb302
[root@rockpi-5b ~]# lsmod | grep fusb302
[root@rockpi-5b ~]# modprobe fusb302
[root@rockpi-5b ~]# [ 3389.031608][ T7143] typec_fusb302 4-0022: Initiating hard-reset, which might result in machine power-loss.

[ 3390.030444][ T7143] typec_fusb302 4-0022: Initiating hard-reset, which might result in machine power-loss.

I attempted to trace the issue using ftrace but was unable to pinpoint the root cause. The problem appears to originate either from the I2C controller or the PMIC reset.

I have identified a potential workaround involving the I2C SCL debounce settings for the RK3588 and submitted a patch here:

[1] https://lore.kernel.org/all/[email protected]/

Please note that the submitted changes address a minor aspect but do not fully resolve the underlying issue.

Thanks
-Anand

Anand Moon (3):
arm64: dts: rockchip: rk3588-rock-5b-5bp-5t: Correct Type-C pin bias
settings
arm64: dts: rockchip: rk3588-rock-5b-5bp-5t: Fix USB host phy-supply
on Rock 5b-5bp-5t SbC
usb: typec: fusb302: Switch to threaded interrupt handler

 arch/arm64/boot/dts/rockchip/rk3588-rock-5b-5bp-5t.dtsi | 7 +++----
 drivers/usb/typec/tcpm/fusb302.c                        | 7 ++++---
 2 files changed, 7 insertions(+), 7 deletions(-)

base-commit: 805f9a061372164d43ddef771d7cd63e3ba6d845

Signature · 1 line
2.50.1