public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: typec: Add retimer support to bus code
@ 2023-01-12 22:16 Prashant Malani
  2023-01-12 22:16 ` [PATCH 1/3] usb: typec: Add retimer handle to port altmode Prashant Malani
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Prashant Malani @ 2023-01-12 22:16 UTC (permalink / raw)
  To: linux-kernel, linux-usb
  Cc: bleung, heikki.krogerus, Prashant Malani, Greg Kroah-Hartman

This is a short series which introduces retimer control to Type-C bus
code, chiefly in the context of alternate mode drivers.

Patch 1/3 adds retimer handles to the altmode struct.

Patch 2/3 introduces a wrapper where all Type-C switch commands can be
placed; this is a foundation patch for Patch 3/3. No functional changes
are introduced by this patch.

Patch 3/3 introduces the typec_retimer_set() call to the switch wrapper.

Prashant Malani (3):
  usb: typec: Add retimer handle to port altmode
  usb: typec: Add wrapper for bus switch set code
  usb: typec: Make bus switch code retimer-aware

 drivers/usb/typec/bus.c     | 33 +++++++++++++++++++++++++++++++--
 drivers/usb/typec/bus.h     |  2 ++
 drivers/usb/typec/class.c   | 15 +++++++++++++--
 drivers/usb/typec/retimer.h |  2 +-
 4 files changed, 47 insertions(+), 5 deletions(-)

-- 
2.39.0.314.g84b9a713c41-goog


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

end of thread, other threads:[~2023-01-17 11:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 22:16 [PATCH 0/3] usb: typec: Add retimer support to bus code Prashant Malani
2023-01-12 22:16 ` [PATCH 1/3] usb: typec: Add retimer handle to port altmode Prashant Malani
2023-01-17 11:40   ` Heikki Krogerus
2023-01-12 22:16 ` [PATCH 2/3] usb: typec: Add wrapper for bus switch set code Prashant Malani
2023-01-17 11:42   ` Heikki Krogerus
2023-01-12 22:16 ` [PATCH 3/3] usb: typec: Make bus switch code retimer-aware Prashant Malani
2023-01-17 11:43   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox