Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4205cb01 authored by SZ Lin (林上智)'s avatar SZ Lin (林上智) Committed by Johan Hovold
Browse files

USB: serial: option: adding support for ublox R410M



This patch adds support for ublox R410M PID 0x90b2 USB modem to option
driver, this module supports LTE Cat M1 / NB1.

Interface layout:
0: QCDM/DIAG
1: ADB
2: AT
3: RMNET

Signed-off-by: default avatarSZ Lin (林上智) <sz.lin@moxa.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 6da6c0db
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -233,6 +233,8 @@ static void option_instat_callback(struct urb *urb);
/* These Quectel products use Qualcomm's vendor ID */
#define QUECTEL_PRODUCT_UC20			0x9003
#define QUECTEL_PRODUCT_UC15			0x9090
/* These u-blox products use Qualcomm's vendor ID */
#define UBLOX_PRODUCT_R410M			0x90b2
/* These Yuga products use Qualcomm's vendor ID */
#define YUGA_PRODUCT_CLM920_NC5			0x9625

@@ -1065,6 +1067,9 @@ static const struct usb_device_id option_ids[] = {
	/* Yuga products use Qualcomm vendor ID */
	{ USB_DEVICE(QUALCOMM_VENDOR_ID, YUGA_PRODUCT_CLM920_NC5),
	  .driver_info = RSVD(1) | RSVD(4) },
	/* u-blox products using Qualcomm vendor ID */
	{ USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R410M),
	  .driver_info = RSVD(1) | RSVD(3) },
	/* Quectel products using Quectel vendor ID */
	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21),
	  .driver_info = RSVD(4) },