[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221225205224.270787-2-mjg59@srcf.ucam.org>
Date: Sun, 25 Dec 2022 12:52:22 -0800
From: Matthew Garrett <mjg59@...f.ucam.org>
To: johan@...nel.org, bjorn@...k.no
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org,
Matthew Garrett <mjg59@...f.ucam.org>,
Matthew Garrett <mgarrett@...ora.tech>
Subject: [PATCH 1/3] USB: serial: option: Add generic MDM9207 configurations
The Orbic Speed RC400L presents as a generic MDM9207 device that supports
multiple configurations. Add support for the two that expose a set of serial
ports.
Signed-off-by: Matthew Garrett <mgarrett@...ora.tech>
---
drivers/usb/serial/option.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index dee79c7d82d5..edbb6054de91 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1119,6 +1119,12 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000), /* SIMCom SIM5218 */
.driver_info = NCTRL(0) | NCTRL(1) | NCTRL(2) | NCTRL(3) | RSVD(4) },
+ /* Qualcomm MDM9207 - 0: DIAG, 2: AT, 3: NMEA */
+ { USB_DEVICE(QUALCOMM_VENDOR_ID, 0xf601),
+ .driver_info = RSVD(1) | RSVD(4) | RSVD(5) },
+ /* Qualcomm MDM9207 - 2: DIAG, 4: AT, 5: NMEA */
+ { USB_DEVICE(QUALCOMM_VENDOR_ID, 0xf622),
+ .driver_info = RSVD(0) | RSVD(1) | RSVD(3) | RSVD(6) },
/* Quectel products using Qualcomm vendor ID */
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC15)},
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC20),
--
2.38.1
Powered by blists - more mailing lists