All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: serial: add support for CH348
@ 2022-10-21 13:37 Corentin Labbe
  2022-10-21 13:37 ` [PATCH v2 1/2] " Corentin Labbe
  2022-10-21 13:37 ` [PATCH v2 2/2] usb: serial: add myself as maintainer of CH348 Corentin Labbe
  0 siblings, 2 replies; 6+ messages in thread
From: Corentin Labbe @ 2022-10-21 13:37 UTC (permalink / raw)
  To: gregkh, johan; +Cc: linux-kernel, linux-usb, neil.armstrong, Corentin Labbe

Hello

The CH348 is an octo serial to USB adapter.
The following patch adds a driver for supporting it.
Since there is no public datasheet, unfortunatly it remains some magic values.

It was tested with a large range of baud from 1200 to 1500000 and used with
success in one of our kernel CI testlab.

Regards

Changes since v1:
- use a data structure for encoding/decoding messages.
- check if needed endpoints exists
- fix URB leak in ch348_allocate_status_read error case
- test for maximum baud rate as stated by datasheet

Corentin Labbe (2):
  usb: serial: add support for CH348
  usb: serial: add myself as maintainer of CH348

 MAINTAINERS                 |   5 +
 drivers/usb/serial/Kconfig  |   9 +
 drivers/usb/serial/Makefile |   1 +
 drivers/usb/serial/ch348.c  | 738 ++++++++++++++++++++++++++++++++++++
 4 files changed, 753 insertions(+)
 create mode 100644 drivers/usb/serial/ch348.c

-- 
2.37.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-26  8:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 13:37 [PATCH v2 0/2] usb: serial: add support for CH348 Corentin Labbe
2022-10-21 13:37 ` [PATCH v2 1/2] " Corentin Labbe
2022-10-24  9:40   ` Oliver Neukum
2022-10-26  7:44     ` Corentin LABBE
2022-10-26  8:02       ` Oliver Neukum
2022-10-21 13:37 ` [PATCH v2 2/2] usb: serial: add myself as maintainer of CH348 Corentin Labbe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.