Skip to content

RFC usb: typec: ucsi: Polling the alt modes and PDOs

Heikki Krogerus linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 11 repliesIn review

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+4 -12 replies
3/7usb: typec: ucsi: Add poll worker for alternate modesdrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+97 -80 replies
4/7usb: typec: ucsi: acpi: Reduce the command completion timeoutdrivers/usb/typec/ucsi/ucsi_acpi.c+1 -10 replies
5/7usb: typec: ucsi: Process every connector change as unique connector statedrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+61 -1180 replies
6/7usb: typec: ucsi: Filter out spurious eventsdrivers/usb/typec/ucsi/ucsi.c+5 -00 replies
7/7usb: typec: ucsi: Read the PDOs in separate workdrivers/usb/typec/ucsi/ucsi.c+12 -100 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchHeikki Krogerus
SeriesNOT-Signed-off-by
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/7] usb: typec: ucsi: Polling the alt modes and PDOs

Hi,

This is the RFC series I promised [1].

I'm sorry it took this long to prepare these. I had to concentrate on other task for a while.

Let me know if you still see any problems.

[1] https://lore.kernel.org/linux-usb/YKT3oEt%[email protected]/

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 poll worker for alternate modes
usb: typec: ucsi: acpi: Reduce the command completion timeout
usb: typec: ucsi: Process every connector change as unique connector
state
usb: typec: ucsi: Filter out spurious events
usb: typec: ucsi: Read the PDOs in separate work

 drivers/usb/typec/ucsi/ucsi.c      | 317 ++++++++++++++++-------------
 drivers/usb/typec/ucsi/ucsi.h      |   3 +-
 drivers/usb/typec/ucsi/ucsi_acpi.c |   2 +-
 3 files changed, 183 insertions(+), 139 deletions(-)
Signature · 1 line
2.30.2