Skip to content

ch341: Add support for HL340 devices

Michael Hanselmann linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ch341: Name more registersdrivers/usb/serial/ch341.c+9 -22 replies
2/4ch341: Detect HL340 variantdrivers/usb/serial/ch341.c+42 -02 replies
3/4ch341: Limit prescaler on HL340 variantdrivers/usb/serial/ch341.c+40 -132 replies
4/4ch341: Simulate break condition on HL340 variantdrivers/usb/serial/ch341.c+91 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ch341: Add support for HL340 devices

A subset of CH341 devices does not support all features, namely the prescaler is limited to a reduced precision and there is no support for sending a RS232 break condition.

These devices can usually be identified by an imprint of "340" on the turquoise-colored plug. They're also sometimes called "HL340", hence the terminology in this series and driver.

This series adds detection of these devices, adjusts the divisor/prescaler setup and implements a simulated break condition.

Michael Hanselmann (4):
ch341: Name more registers
ch341: Detect HL340 variant
ch341: Limit prescaler on HL340 variant
ch341: Simulate break condition on HL340 variant

 drivers/usb/serial/ch341.c | 196 +++++++++++++++++++++++++++++++++----
 1 file changed, 176 insertions(+), 20 deletions(-)
Signature · 1 line
2.20.1