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

Commit ec6de93f authored by SZ Lin (林上智)'s avatar SZ Lin (林上智) Committed by Greg Kroah-Hartman
Browse files

USB: serial: option: adding support for ublox R410M



commit 4205cb01f6e9ef2ae6daa7be4e8ac1edeb4c9d64 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f0c2479
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -236,6 +236,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

@@ -1068,6 +1070,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) },