All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] usb: typec: ucsi: New way to handle GET_CONNECTOR_STATUS
@ 2024-09-03 14:53 Heikki Krogerus
  2024-09-03 14:53 ` [RFC PATCH v2 1/2] usb: typec: ucsi: Helper for Get Connector Status command Heikki Krogerus
  2024-09-03 14:53 ` [RFC PATCH v2 2/2] usb: typec: ucsi: Convert connector specific commands to bitmaps Heikki Krogerus
  0 siblings, 2 replies; 8+ messages in thread
From: Heikki Krogerus @ 2024-09-03 14:53 UTC (permalink / raw)
  To: Abhishek Pandit-Subedi
  Cc: Jameson Thies, Benson Leung, Bartosz Szpila,
	Pilla, Siva sai kumar, linux-usb

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@linux.intel.com/

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-12 12:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 14:53 [RFC PATCH v2 0/2] usb: typec: ucsi: New way to handle GET_CONNECTOR_STATUS Heikki Krogerus
2024-09-03 14:53 ` [RFC PATCH v2 1/2] usb: typec: ucsi: Helper for Get Connector Status command Heikki Krogerus
2024-09-04  5:17   ` Abhishek Pandit-Subedi
2024-09-12 10:08   ` Dmitry Baryshkov
2024-09-03 14:53 ` [RFC PATCH v2 2/2] usb: typec: ucsi: Convert connector specific commands to bitmaps Heikki Krogerus
2024-09-04  5:16   ` Abhishek Pandit-Subedi
2024-09-05 12:36     ` Heikki Krogerus
2024-09-12 12:04   ` Dmitry Baryshkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.