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

commit d3a889482bd5abf2bbdc1ec3d2d49575aa160c9c upstream.

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>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Charles Yeh
2025-05-21 21:23:54 +08:00
committed by Greg Kroah-Hartman
parent ff835ab115
commit 5ec1200da9

View File

@@ -457,6 +457,8 @@ static int pl2303_detect_type(struct usb_serial *serial)
case 0x605: case 0x605:
case 0x700: /* GR */ case 0x700: /* GR */
case 0x705: case 0x705:
case 0x905: /* GT-2AB */
case 0x1005: /* GC-Q20 */
return TYPE_HXN; return TYPE_HXN;
} }
break; break;