USB: option: add Quectel BG96 2c7c:0296
diff mbox series

Message ID 20171120182932.5518-1-ssjoholm@mac.com
State New, archived
Headers show
Series
  • USB: option: add Quectel BG96 2c7c:0296
Related show

Commit Message

Sebastian Sjoholm Nov. 20, 2017, 6:29 p.m. UTC
Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both 
CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel 
development board (EVB). The USB id is added to option.c to allow 
DIAG,GPS,AT and modem communication with the BG96.

Signed-off-by: Sebastian Sjoholm <ssjoholm@mac.com>

---
 drivers/usb/serial/option.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Johan Hovold Nov. 27, 2017, 9:59 a.m. UTC | #1
On Mon, Nov 20, 2017 at 07:29:32PM +0100, Sebastian Sjoholm wrote:
> Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both 
> CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel 
> development board (EVB). The USB id is added to option.c to allow 
> DIAG,GPS,AT and modem communication with the BG96.
> 
> Signed-off-by: Sebastian Sjoholm <ssjoholm@mac.com>

Thanks for the patch. Now applied for 4.15-rc.

Johan

Patch
diff mbox series

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index aaa7d901a06d..3b3513874cfd 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -238,6 +238,7 @@  static void option_instat_callback(struct urb *urb);
 /* These Quectel products use Quectel's vendor ID */
 #define QUECTEL_PRODUCT_EC21			0x0121
 #define QUECTEL_PRODUCT_EC25			0x0125
+#define QUECTEL_PRODUCT_BG96			0x0296
 
 #define CMOTECH_VENDOR_ID			0x16d8
 #define CMOTECH_PRODUCT_6001			0x6001
@@ -1182,6 +1183,8 @@  static const struct usb_device_id option_ids[] = {
 	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
 	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
 	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
+	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
+	  .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
 	{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
 	{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },
 	{ USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),