On Fri, Oct 04, 2024 at 05:04:36PM GMT, Heikki Krogerus wrote: > This attribute file, named "usb_capability", will show the > supported USB modes, which are USB 2.0, USB 3.2 and USB4. > These modes are defined in the USB Type-C (R2.0) and USB > Power Delivery (R3.0 V2.0) Specifications. > > Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> > --- > Documentation/ABI/testing/sysfs-class-typec | 13 ++++ > drivers/usb/typec/class.c | 81 +++++++++++++++++++++ > drivers/usb/typec/class.h | 1 + > include/linux/usb/typec.h | 17 +++++ > 4 files changed, 112 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Tested-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> # SM8450-HDK -- With best wishes Dmitry