OSDN Git Service

USB: serial: option: add u-blox LARA-R6 00B modem
authorDavide Tronchin <davide.tronchin.94@gmail.com>
Wed, 16 Nov 2022 15:59:49 +0000 (16:59 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 16 Nov 2022 16:09:44 +0000 (17:09 +0100)
The official LARA-R6 (00B) modem uses 0x908b PID. LARA-R6 00B does not
implement a QMI interface on port 4, the reservation (RSVD(4)) has been
added to meet other companies that implement QMI on that interface.

LARA-R6 00B USB composition exposes the following interfaces:
If 0: Diagnostic
If 1: AT parser
If 2: AT parser
If 3: AT parser/alternative functions

Signed-off-by: Davide Tronchin <davide.tronchin.94@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c

index e99a216..f6babe5 100644 (file)
@@ -1126,6 +1126,8 @@ static const struct usb_device_id option_ids[] = {
        /* u-blox products using Qualcomm vendor ID */
        { USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R410M),
          .driver_info = RSVD(1) | RSVD(3) },
+       { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x908b),       /* u-blox LARA-R6 00B */
+         .driver_info = RSVD(4) },
        { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x90fa),
          .driver_info = RSVD(3) },
        /* Quectel products using Quectel vendor ID */