Skip to content

RFC usb: typec: ucsi: New way to handle GET_CONNECTOR_STATUS

Heikki Krogerus linux-usb 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 5 repliesIn review
  2. v1 RFC3 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: typec: ucsi: Helper for Get Connector Status commanddrivers/usb/typec/ucsi/ucsi.c+16 -152 replies
2/2usb: typec: ucsi: Convert connector specific commands to bitmapsdrivers/usb/typec/ucsi/psy.c drivers/usb/typec/ucsi/trace.h drivers/usb/typec/ucsi/ucsi.c +2 more+192 -1743 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAbhishek Pandit-SubediDmitry Baryshkov
1/2R-b R-b
2/2

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

Read the v2 thread

Cover letter [RFC PATCH v2 0/2] usb: typec: ucsi: New way to handle GET_CONNECTOR_STATUS

Hi,

This is a bit better version of the idea. I'm now using the bitmap API, but there are actually not that many other changes. I converted GET_CONNECTOR_CAP and GET_CONNECTOR_STATUS.

The original version:
https://lore.kernel.org/linux-usb/[email protected]/

thanks,

Heikki Krogerus (2):
usb: typec: ucsi: Helper for Get Connector Status command
usb: typec: ucsi: Convert connector specific commands to bitmaps

 drivers/usb/typec/ucsi/psy.c       |  28 ++---
 drivers/usb/typec/ucsi/trace.h     |  28 ++---
 drivers/usb/typec/ucsi/ucsi.c      | 135 ++++++++++----------
 drivers/usb/typec/ucsi/ucsi.h      | 195 ++++++++++++++++-------------
 drivers/usb/typec/ucsi/ucsi_acpi.c |   7 +-
 5 files changed, 206 insertions(+), 187 deletions(-)
Signature · 1 line
2.45.2