[PATCH v2 0/4] USB-PD TCPM improvements
Nicolas Frattaroli
nicolas.frattaroli at collabora.com
Thu Mar 27 18:08:20 CET 2025
On Wednesday, 26 February 2025 19:44:43 Central European Standard Time
Sebastian Reichel wrote:
> Hi,
>
> I have a couple of fixes/improvements for the TCPM code. Three are fixing
> actual problems I noticed on the Rock 5B, which prevented booting up the
> system. One of them simply adds an error print before potentially committing
> hara-kiri by triggering a hard reset, which helps people understanding why
> their boards reset themself in case there are more problems. I've recently
> added the same print to the kernel TCPM code.
>
> Changes since PATCHv1:
> *
> https://lore.kernel.org/u-boot/20241031175404.114773-5-sebastian.reichel@co
> llabora.com/ * rebased to v2025.04-rc3 (no changes needed)
>
> Greetings,
>
> -- Sebastian
>
> Sebastian Reichel (4):
> usb: tcpm: improve handling of some power-supplies
> usb: tcpm: avoid resets for missing source capability messages
> usb: tcpm: print error on hard reset
> usb: tcpm: improve data role mismatch error recovery
>
> drivers/usb/tcpm/tcpm-internal.h | 1 +
> drivers/usb/tcpm/tcpm.c | 95 ++++++++++++++++++++++++++++----
> 2 files changed, 85 insertions(+), 11 deletions(-)
Tested-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
Used this series on our 2025.04-rc2-based Sige5 tree. Resolves a problem I've
observed with PD supplies where the board may bootloop within u-boot. Tested
with various USB-C PD sources and cables, all of which worked.
Thanks,
Nicolas Frattaroli
More information about the U-Boot
mailing list