mbox series

[v1,0/4] USB-PD TCPM improvements

Message ID 20241031175404.114773-1-sebastian.reichel@collabora.com
Headers show
Series USB-PD TCPM improvements | expand

Message

Sebastian Reichel Oct. 31, 2024, 5:50 p.m. UTC
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.

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(-)