From: Charles Yeh <charlesyeh522@gmail.com>
To: gregkh@linuxfoundation.org, johan@kernel.org, linux-usb@vger.kernel.org
Cc: charles-yeh@prolific.com.tw, joy-yeh@prolific.com.tw,
Charles Yeh <charlesyeh522@gmail.com>
Subject: [PATCH] Add Proliic new chip: PL2303GC-Q20 & PL2303GT-2AB
Date: Wed, 21 May 2025 21:23:54 +0800 [thread overview]
Message-ID: <20250521132354.1104-1-charlesyeh522@gmail.com> (raw)
Add new bcd(0x905) to support PL2303GT-2AB (TYPE_HXN)
Add new bcd(0x1005) to support PL2303Gc-Q20 (TYPE_HXN)
Signed-off-by: Charles Yeh <charlesyeh522@gmail.com>
---
drivers/usb/serial/pl2303.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 010688dd9e49..22579d0d8ab8 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -458,6 +458,8 @@ static int pl2303_detect_type(struct usb_serial *serial)
case 0x605:
case 0x700: /* GR */
case 0x705:
+ case 0x905: /* GT-2AB */
+ case 0x1005: /* GC-Q20 */
return TYPE_HXN;
}
break;
--
2.48.1
next reply other threads:[~2025-05-21 13:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 13:23 Charles Yeh [this message]
2025-05-21 15:19 ` [PATCH] Add Proliic new chip: PL2303GC-Q20 & PL2303GT-2AB Johan Hovold
2025-05-21 15:21 ` Johan Hovold
2025-05-22 7:54 ` Charles Yeh
2025-05-22 8:42 ` Johan Hovold
2025-05-22 8:55 ` Charles Yeh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250521132354.1104-1-charlesyeh522@gmail.com \
--to=charlesyeh522@gmail.com \
--cc=charles-yeh@prolific.com.tw \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=joy-yeh@prolific.com.tw \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox