On Mon, Aug 25, 2025 at 02:57:48PM +0000, Andrei Kuchynski wrote: > This flag indicates that the PPM allows the OPM to change the currently > negotiated alternate mode using the SET_NEW_CAM command. > > Signed-off-by: Andrei Kuchynski <akuchynski@xxxxxxxxxxxx> > --- > drivers/usb/typec/ucsi/ucsi.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c > index 0d6b0cf5a7cd..85a6b7fc6d93 100644 > --- a/drivers/usb/typec/ucsi/ucsi.c > +++ b/drivers/usb/typec/ucsi/ucsi.c > @@ -1632,6 +1632,8 @@ static int ucsi_register_port(struct ucsi *ucsi, struct ucsi_connector *con) > > cap->driver_data = con; > cap->ops = &ucsi_ops; > + cap->no_mode_control = > + !(con->ucsi->cap.features & UCSI_CAP_ALT_MODE_OVERRIDE); Fits to one. thanks, -- heikki