Skip to content

usb: Link USB devices with their USB Type-C partner counterparts

Heikki Krogerus linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: typec: Link enumerated USB devices with Type-C partnerDocumentation/ABI/testing/sysfs-bus-usb drivers/usb/typec/class.c drivers/usb/typec/class.h +2 more+169 -100 replies
2/2usb: Inform the USB Type-C class about enumerated devicesdrivers/usb/core/hub.c drivers/usb/core/hub.h drivers/usb/core/port.c+24 -20 replies

Reviews trailers per patch

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

PatchBenson Leung
1/2T-b
2/2T-b

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

Read the v1 thread

Cover letter [PATCH 0/2] usb: Link USB devices with their USB Type-C partner counterparts

Hi,

The idea for these comes from Benson. By letting the typec drivers know what exactly was enumerated, they can power off everything that's not needed.

The USB device and USB Type-C partner device will also be linked together with symlinks in sysfs. If I uderstood correctly, you guys (from ChromiumOS team) have already user for that. Let me know if I got that wrong.

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

thanks,

Heikki Krogerus (2):
usb: typec: Link enumerated USB devices with Type-C partner
usb: Inform the USB Type-C class about enumerated devices

 Documentation/ABI/testing/sysfs-bus-usb |   9 ++
 drivers/usb/core/hub.c                  |   4 +
 drivers/usb/core/hub.h                  |   3 +
 drivers/usb/core/port.c                 |  19 ++++-
 drivers/usb/typec/class.c               | 108 ++++++++++++++++++++++--
 drivers/usb/typec/class.h               |  16 ++++
 drivers/usb/typec/port-mapper.c         |   9 +-
 include/linux/usb/typec.h               |  37 ++++++++
 8 files changed, 193 insertions(+), 12 deletions(-)
Signature · 1 line
2.40.1