On Fri, Oct 04, 2024 at 05:04:38PM GMT, Heikki Krogerus wrote: > The USB capabilities can be extracted from the response to > the Get Connector Capability command. USB2 and USB3 support > can be checked from the Operation Mode field, and USB4 > support from the Extended Operation Mode field. > > Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> > --- > drivers/usb/typec/ucsi/ucsi.c | 7 +++++++ > drivers/usb/typec/ucsi/ucsi.h | 8 ++++++++ > 2 files changed, 15 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Tested-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> # SM8450-HDK -- With best wishes Dmitry