Skip to content

Commit 59a5118

Browse files
committed
Merge tag 'usb-serial-6.1-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: "USB-serial fixes for 6.1-rc6 Here are some new modem device ids for 6.1. All have been in linux-next with no reported issues." * tag 'usb-serial-6.1-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial: USB: serial: option: add u-blox LARA-L6 modem USB: serial: option: add u-blox LARA-R6 00B modem USB: serial: option: remove old LARA-R6 PID USB: serial: option: add Fibocom FM160 0x0111 composition USB: serial: option: add Sierra Wireless EM9191
2 parents 181135b + c1547f1 commit 59a5118

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

drivers/usb/serial/option.c

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ static void option_instat_callback(struct urb *urb);
162162
#define NOVATELWIRELESS_PRODUCT_G2 0xA010
163163
#define NOVATELWIRELESS_PRODUCT_MC551 0xB001
164164

165+
#define UBLOX_VENDOR_ID 0x1546
166+
165167
/* AMOI PRODUCTS */
166168
#define AMOI_VENDOR_ID 0x1614
167169
#define AMOI_PRODUCT_H01 0x0800
@@ -240,7 +242,6 @@ static void option_instat_callback(struct urb *urb);
240242
#define QUECTEL_PRODUCT_UC15 0x9090
241243
/* These u-blox products use Qualcomm's vendor ID */
242244
#define UBLOX_PRODUCT_R410M 0x90b2
243-
#define UBLOX_PRODUCT_R6XX 0x90fa
244245
/* These Yuga products use Qualcomm's vendor ID */
245246
#define YUGA_PRODUCT_CLM920_NC5 0x9625
246247

@@ -581,6 +582,9 @@ static void option_instat_callback(struct urb *urb);
581582
#define OPPO_VENDOR_ID 0x22d9
582583
#define OPPO_PRODUCT_R11 0x276c
583584

585+
/* Sierra Wireless products */
586+
#define SIERRA_VENDOR_ID 0x1199
587+
#define SIERRA_PRODUCT_EM9191 0x90d3
584588

585589
/* Device flags */
586590

@@ -1124,8 +1128,16 @@ static const struct usb_device_id option_ids[] = {
11241128
/* u-blox products using Qualcomm vendor ID */
11251129
{ USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R410M),
11261130
.driver_info = RSVD(1) | RSVD(3) },
1127-
{ USB_DEVICE(QUALCOMM_VENDOR_ID, UBLOX_PRODUCT_R6XX),
1131+
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x908b), /* u-blox LARA-R6 00B */
1132+
.driver_info = RSVD(4) },
1133+
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x90fa),
11281134
.driver_info = RSVD(3) },
1135+
/* u-blox products */
1136+
{ USB_DEVICE(UBLOX_VENDOR_ID, 0x1341) }, /* u-blox LARA-L6 */
1137+
{ USB_DEVICE(UBLOX_VENDOR_ID, 0x1342), /* u-blox LARA-L6 (RMNET) */
1138+
.driver_info = RSVD(4) },
1139+
{ USB_DEVICE(UBLOX_VENDOR_ID, 0x1343), /* u-blox LARA-L6 (ECM) */
1140+
.driver_info = RSVD(4) },
11291141
/* Quectel products using Quectel vendor ID */
11301142
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21, 0xff, 0xff, 0xff),
11311143
.driver_info = NUMEP2 },
@@ -2167,6 +2179,7 @@ static const struct usb_device_id option_ids[] = {
21672179
{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x010a, 0xff) }, /* Fibocom MA510 (ECM mode) */
21682180
{ USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0xff, 0x30) }, /* Fibocom FG150 Diag */
21692181
{ USB_DEVICE_AND_INTERFACE_INFO(0x2cb7, 0x010b, 0xff, 0, 0) }, /* Fibocom FG150 AT */
2182+
{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0111, 0xff) }, /* Fibocom FM160 (MBIM mode) */
21702183
{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a0, 0xff) }, /* Fibocom NL668-AM/NL652-EU (laptop MBIM) */
21712184
{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a2, 0xff) }, /* Fibocom FM101-GL (laptop MBIM) */
21722185
{ USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a4, 0xff), /* Fibocom FM101-GL (laptop MBIM) */
@@ -2176,6 +2189,8 @@ static const struct usb_device_id option_ids[] = {
21762189
{ USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1405, 0xff) }, /* GosunCn GM500 MBIM */
21772190
{ USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1406, 0xff) }, /* GosunCn GM500 ECM/NCM */
21782191
{ USB_DEVICE_AND_INTERFACE_INFO(OPPO_VENDOR_ID, OPPO_PRODUCT_R11, 0xff, 0xff, 0x30) },
2192+
{ USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0xff, 0x30) },
2193+
{ USB_DEVICE_AND_INTERFACE_INFO(SIERRA_VENDOR_ID, SIERRA_PRODUCT_EM9191, 0xff, 0, 0) },
21792194
{ } /* Terminating entry */
21802195
};
21812196
MODULE_DEVICE_TABLE(usb, option_ids);

0 commit comments

Comments
 (0)