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

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

 



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/ZPCGnL4zgAKh1mGA@xxxxxxxxxxxxxxxxx/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(-)

-- 
2.40.1





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

  Powered by Linux