lkml.org 
[lkml]   [2022]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 13/78] USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
    Date
    From: Daniele Palmas <dnlplm@gmail.com>

    commit f32c5a0423400e01f4d7c607949fa3a1f006e8fa upstream.

    Add support for the following Telit FN980 and FN990 compositions:

    0x1057: tty, adb, rmnet, tty, tty, tty, tty, tty
    0x1058: tty, adb, tty, tty, tty, tty, tty
    0x1075: adb, tty

    Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
    Link: https://lore.kernel.org/r/20220406141408.580669-1-dnlplm@gmail.com
    Cc: stable@vger.kernel.org
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/usb/serial/option.c | 6 ++++++
    1 file changed, 6 insertions(+)

    --- a/drivers/usb/serial/option.c
    +++ b/drivers/usb/serial/option.c
    @@ -1222,6 +1222,10 @@ static const struct usb_device_id option
    .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, 0x1057, 0xff), /* Telit FN980 */
    + .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
    + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1058, 0xff), /* Telit FN980 (PCIe) */
    + .driver_info = NCTRL(0) | RSVD(1) },
    { 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) */
    @@ -1238,6 +1242,8 @@ static const struct usb_device_id option
    .driver_info = NCTRL(2) | RSVD(3) },
    { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1073, 0xff), /* Telit FN990 (ECM) */
    .driver_info = NCTRL(0) | RSVD(1) },
    + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1075, 0xff), /* Telit FN990 (PCIe) */
    + .driver_info = RSVD(0) },
    { 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),

    \
     
     \ /
      Last update: 2022-05-10 15:20    [W:4.109 / U:0.512 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site