diff mbox series

USB: serial: ch341: Add product ID for CH9102

Message ID 20241208081115.4036852-1-blake.k.lafleur@gmail.com
State New
Headers show
Series USB: serial: ch341: Add product ID for CH9102 | expand

Commit Message

Blake LaFleur Dec. 8, 2024, 8:11 a.m. UTC
Adds a PID for the CH9102 chipset that can be found in some cheap ESP
development boards.

Example: LILYGO T-Display (and its S3 variant)
https://lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-board

After patching the driver to include idProduct=0x55d4 the devices work
as expected.

Signed-off-by: Blake LaFleur <blake.k.lafleur@gmail.com>
---
 drivers/usb/serial/ch341.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index d10e4c4848a0..302d8d8547cb 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -81,6 +81,7 @@ 
 #define CH341_QUIRK_SIMULATE_BREAK	BIT(1)
 
 static const struct usb_device_id id_table[] = {
+	{ USB_DEVICE(0x1a86, 0x55d4) },
 	{ USB_DEVICE(0x1a86, 0x5523) },
 	{ USB_DEVICE(0x1a86, 0x7522) },
 	{ USB_DEVICE(0x1a86, 0x7523) },