* [PATCH] Add usb serial support for quectel modules
@ 2022-12-25 18:56 Ali Mirghasemi
2022-12-27 8:52 ` Johan Hovold
0 siblings, 1 reply; 2+ messages in thread
From: Ali Mirghasemi @ 2022-12-25 18:56 UTC (permalink / raw)
To: linux-kernel; +Cc: Ali Mirghasemi
Add support for following modules
- EC200U
- EC200A
---
drivers/usb/serial/option.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index dee79c7d82d5..b741fdf20f96 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -259,7 +259,9 @@ static void option_instat_callback(struct urb *urb);
#define QUECTEL_PRODUCT_EM12 0x0512
#define QUECTEL_PRODUCT_RM500Q 0x0800
#define QUECTEL_PRODUCT_RM520N 0x0801
+#define QUECTEL_PRODUCT_EC200U 0x0901
#define QUECTEL_PRODUCT_EC200S_CN 0x6002
+#define QUECTEL_PRODUCT_EC200A 0x6005
#define QUECTEL_PRODUCT_EC200T 0x6026
#define QUECTEL_PRODUCT_RM500K 0x7001
@@ -1180,7 +1182,9 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM520N, 0xff, 0xff, 0x30) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM520N, 0xff, 0, 0x40) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM520N, 0xff, 0, 0) },
+ { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200U, 0xff, 0, 0) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) },
+ { USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200A, 0xff, 0, 0) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) },
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500K, 0xff, 0x00, 0x00) },
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Add usb serial support for quectel modules
2022-12-25 18:56 [PATCH] Add usb serial support for quectel modules Ali Mirghasemi
@ 2022-12-27 8:52 ` Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2022-12-27 8:52 UTC (permalink / raw)
To: Ali Mirghasemi; +Cc: linux-kernel
On Sun, Dec 25, 2022 at 10:26:57PM +0330, Ali Mirghasemi wrote:
> Add support for following modules
> - EC200U
> - EC200A
You need to sign-off on your patches here. Make sure you have read and
understood Documentation/process/submitting-patches.rst.
You should also CC the linux-usb list.
Please also use the common prefix for USB serial in your Subject and
include the output of the usb-devices command for these devices in the
commit message along with a description of which interfaces are used for
what.
Here's a recent example of what this may look like:
https://lore.kernel.org/all/20221214043546.10339-1-duke_xinanwen@163.com/
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-27 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25 18:56 [PATCH] Add usb serial support for quectel modules Ali Mirghasemi
2022-12-27 8:52 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®