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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20240828161502.2774996-1-heikki.krogerus@xxxxxxxxxxxxxxx/

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

-- 
2.45.2





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux