Skip to content

typec changes

Heikki Krogerus linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 6 patches 2 repliesIn review

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6usb: typec: Hide the port_type attribute when it's not supporteddrivers/usb/typec/class.c+3 -20 replies
3/6usb: typec: Allow power role swapping even without USB PDDocumentation/ABI/testing/sysfs-class-typec drivers/usb/typec/class.c+7 -130 replies
4/6usb: typec: Fix the description of struct typec_capabilityinclude/linux/usb/typec.h+0 -20 replies
5/6usb: typec: altmode: Remove the notification chainDocumentation/driver-api/usb/typec_bus.rst drivers/usb/typec/bus.c drivers/usb/typec/bus.h +2 more+3 -1070 replies
6/6usb: typec: mux: Drop support for device name matchingdrivers/usb/typec/mux.c+4 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] typec changes

Hi Greg,

Here all the "trivial" changes I have for the USB Type-C class at this stage. The first patch I already send before [1]. You told me to leave the checks in, so I did. The rest of the patches in that series were about USB4, which I'm not including here. I decided to propose them separately.

The third patch in this series make's it possible to swap the power role even when USB Power Delivery is not supported since the latest specification now allows it. The rest of the patches are cleanups.

Let me know if you want me to change anything.

thanks,

[1] https://lore.kernel.org/linux-usb/[email protected]/

Heikki Krogerus (6):
usb: typec: Make the attributes read-only when writing is not possible
usb: typec: Hide the port_type attribute when it's not supported
usb: typec: Allow power role swapping even without USB PD
usb: typec: Fix the description of struct typec_capability
usb: typec: altmode: Remove the notification chain
usb: typec: mux: Drop support for device name matching

 Documentation/ABI/testing/sysfs-class-typec |  14 +-
 Documentation/driver-api/usb/typec_bus.rst  |  22 +---
 drivers/usb/typec/bus.c                     |  12 +-
 drivers/usb/typec/bus.h                     |   2 -
 drivers/usb/typec/class.c                   | 137 +++++++++-----------
 drivers/usb/typec/mux.c                     |  25 +---
 include/linux/usb/typec.h                   |   2 -
 include/linux/usb/typec_altmode.h           |   7 -
 8 files changed, 77 insertions(+), 144 deletions(-)
Signature · 1 line
2.25.0