diff mbox series

Add Proliic new chip: PL2303GC-Q20 & PL2303GT-2AB

Message ID 20250521132354.1104-1-charlesyeh522@gmail.com
State New
Headers show
Series Add Proliic new chip: PL2303GC-Q20 & PL2303GT-2AB | expand

Commit Message

Charles Yeh May 21, 2025, 1:23 p.m. UTC
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(+)

Comments

Johan Hovold May 21, 2025, 3:19 p.m. UTC | #1
Hi Charles,

On Wed, May 21, 2025 at 09:23:54PM +0800, Charles Yeh wrote:
> 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>

Please remember to use the common commit summary prefix for this driver.
I changed the summary to:

	USB: serial: pl2303: a new chip PL2303GC-Q20 and PL2303GT-2AB

when applying (with CC stable added).

Johan
Charles Yeh May 22, 2025, 7:54 a.m. UTC | #2
Hi Johan,

> That was supposed to say:
>
>         USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
>

Thank you for the suggestion.
I will send a new patch file later.

Charles.
Johan Hovold May 22, 2025, 8:42 a.m. UTC | #3
On Thu, May 22, 2025 at 03:54:44PM +0800, Charles Yeh wrote:

> > That was supposed to say:
> >
> >         USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB

> Thank you for the suggestion.
> I will send a new patch file later.

There's no need to send a new version of this patch as I fixed up the
summary when applying. It was just a reminder for future patches.

Johan
Charles Yeh May 22, 2025, 8:55 a.m. UTC | #4
Hi Johan,

> There's no need to send a new version of this patch as I fixed up the
> summary when applying. It was just a reminder for future patches.

Thanks again for your guidance and support.

Charles.
diff mbox series

Patch

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;