| From 4205cb01f6e9ef2ae6daa7be4e8ac1edeb4c9d64 Mon Sep 17 00:00:00 2001 |
| From: =?UTF-8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?= |
| <sz.lin@moxa.com> |
| Date: Thu, 26 Apr 2018 14:28:31 +0800 |
| Subject: USB: serial: option: adding support for ublox R410M |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| From: SZ Lin (林上智) <sz.lin@moxa.com> |
| |
| 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: SZ Lin (林上智) <sz.lin@moxa.com> |
| Cc: stable <stable@vger.kernel.org> |
| Signed-off-by: Johan Hovold <johan@kernel.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/usb/serial/option.c | 5 +++++ |
| 1 file changed, 5 insertions(+) |
| |
| --- a/drivers/usb/serial/option.c |
| +++ b/drivers/usb/serial/option.c |
| @@ -236,6 +236,8 @@ static void option_instat_callback(struc |
| /* 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 |
| /* 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) }, |