[PATCH v2 0/4] USB-PD TCPM improvements

Marcel Ziswiler marcel.ziswiler at codethink.co.uk
Wed Jun 18 11:36:23 CEST 2025


Hi folks

On Wed, 2025-02-26 at 19:44 +0100, 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.

Thanks, any reason this series hasn't landed yet?

Anyway, I can confirm this tremendously improves the situation.

Whole series:

Tested-by: Marcel Ziswiler <marcel.ziswiler at codethink.co.uk> # rock5b

> Changes since PATCHv1:
>  * https://lore.kernel.org/u-boot/20241031175404.114773-5-sebastian.reichel@collabora.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(-)

Cheers

Marcel


More information about the U-Boot mailing list