Message ID | 20210903123913.1086513-1-c.lobrano@gmail.com |
---|---|
State | New |
Headers | show |
Series | usb: serial: option: add Telit LN920 compositions | expand |
On Fri, Sep 03, 2021 at 03:20:09PM +0200, Daniele Palmas wrote: > Il giorno ven 3 set 2021 alle ore 15:10 carlo <c.lobrano@gmail.com> ha scritto: > > > > From: Carlo Lobrano <c.lobrano@gmail.com> > > > > This patch adds the following Telit LN920 compositions: > > > > 0x1060: tty, adb, rmnet, tty, tty, tty, tty > > 0x1061: tty, adb, mbim, tty, tty, tty, tty > > 0x1062: rndis, tty, adb, tty, tty, tty, tty > > 0x1063: tty, adb, ecm, tty, tty, tty, tty > > > > Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com> Thanks for providing all the details needed to review this. > Reviewed-by: Daniele Palmas <dnlplm@gmail.com> And thanks for reviewing. Now applied. Johan
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 039450069ca4..f63f190aeab3 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1205,6 +1205,14 @@ static const struct usb_device_id option_ids[] = { .driver_info = NCTRL(0) | RSVD(1) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1056, 0xff), /* Telit FD980 */ .driver_info = NCTRL(2) | RSVD(3) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1060, 0xff), /* Telit LN920 (rmnet) */ + .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1061, 0xff), /* Telit LN920 (MBIM) */ + .driver_info = NCTRL(0) | RSVD(1) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1062, 0xff), /* Telit LN920 (RNDIS) */ + .driver_info = NCTRL(2) | RSVD(3) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1063, 0xff), /* Telit LN920 (ECM) */ + .driver_info = NCTRL(0) | RSVD(1) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910), .driver_info = NCTRL(0) | RSVD(1) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910_DUAL_MODEM),