Skip to content

RFC UCSI work

Heikki Krogerus linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb: typec: ucsi: Always cancel the command if PPM reports BUSY conditiondrivers/usb/typec/ucsi/ucsi.c+3 -10 replies
2/7usb: typec: ucsi: Don't stop alt mode registration on busy conditiondrivers/usb/typec/ucsi/ucsi.c+2 -00 replies
3/7usb: typec: ucsi: Add polling mechanism for partner tasks like alt mode checkingdrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+101 -190 replies
4/7usb: typec: ucsi: acpi: Reduce the command completion timeoutdrivers/usb/typec/ucsi/ucsi_acpi.c+1 -10 replies
5/7usb: typec: ucsi: Check the partner alt modes always if there is PD contractdrivers/usb/typec/ucsi/ucsi.c+9 -50 replies
6/7usb: typec: ucsi: Read the PDOs in separate workdrivers/usb/typec/ucsi/ucsi.c+17 -130 replies
7/7usb: typec: ucsi: Better fix for missing unplug events issuedrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+44 -1520 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/7] UCSI work

Hi Ulrich,

This is the series that I'm hoping solves the issue you reported [1]. Let me know if you can test them, and if these work for you. The exact patch that you are are probable most interested in is the very last one of the series.

Note. The series is still WIP.

thanks,

Heikki Krogerus (7):
usb: typec: ucsi: Always cancel the command if PPM reports BUSY
condition
usb: typec: ucsi: Don't stop alt mode registration on busy condition
usb: typec: ucsi: Add polling mechanism for partner tasks like alt
mode checking
usb: typec: ucsi: acpi: Reduce the command completion timeout
usb: typec: ucsi: Check the partner alt modes always if there is PD
contract
usb: typec: ucsi: Read the PDOs in separate work
usb: typec: ucsi: Better fix for missing unplug events issue

 drivers/usb/typec/ucsi/ucsi.c      | 341 ++++++++++++++---------------
 drivers/usb/typec/ucsi/ucsi.h      |   3 +-
 drivers/usb/typec/ucsi/ucsi_acpi.c |   2 +-
 3 files changed, 166 insertions(+), 180 deletions(-)
Signature · 1 line
2.32.0