[PATCH v3 0/2] usb: typec: Find a Type-C partner after a warm reboot on the Orange Pi 5

From: Arun Iyengar via B4 Relay

Date: Thu Nov 26 2026 - 04:19:37 EST


After a warm reboot, an Orange Pi 5 (FUSB302) often did not find a
USB-C to DisplayPort cable that stayed plugged in; only a replug
brought DisplayPort back. Two causes:

1. tcpm: a re-queue at port registration cut the 100 ms
ErrorRecovery after PORT_RESET to 6 us.
2. fusb302: the chip never found this cable while toggling with
Rp 3.0A.

Tested on an Orange Pi 5 with a USB-C DisplayPort monitor: DP alt mode
on 16/16 warm reboots. Not tested: other TCPCs, ports without PD.

Developed with Claude (Anthropic), which wrote the code and the commit
messages. I reviewed every change.

Signed-off-by: Arun Iyengar <aiyengar1990@xxxxxxxxx>
---
Changes in v3:
- Patch 2: Cc stable (Heikki Krogerus)
- Code comments dropped, shorter messages, no functional change
- Link to v2: https://patch.msgid.link/20261112-tcpm-attach-reboot-v2-0-b4bc6ca83490@xxxxxxxxx

---
Arun Iyengar (2):
usb: typec: tcpm: Don't cut a pending state delay short on a re-queue
usb: typec: fusb302: Toggle with the default Rp current

drivers/usb/typec/tcpm/fusb302.c | 12 ++++++++++--
drivers/usb/typec/tcpm/tcpm.c | 5 +++++
2 files changed, 15 insertions(+), 2 deletions(-)
---
base-commit: 90d6263e867be7089b3d3323bef8d2accd327c77
change-id: 20261110-tcpm-attach-reboot-d93d5f36403b

Best regards,
--
Arun Iyengar <aiyengar1990@xxxxxxxxx>