[PATCH v3 0/1] USB: serial: nct_usb_serial: add support for Nuvoton USB adapter
From: hsyemail2
Date: Mon Jun 23 2025 - 03:18:37 EST
From: Sheng-Yuan Huang <syhuang3@xxxxxxxxxxx>
Hi everyone,
This patchset is a revised version of the previous submission and
includes changes based on Oliver's comments. Thank you for the
detailed review and valuable suggestions.
The main updates are listed below:
- All endianness concerns have been addressed by removing bitfields and
using explicit byte order conversions.
- Command definitions have been changed from enums to "#define"
constants as requested.
- Error handling has been improved, including proper checks in
nct_vendor_read() and nct_set_baud().
- Cleaned up unnecessary code and improved function structure in
several places, such as nct_vendor_write(), nct_rx_throttle(), and
nct_rx_unthrottle().
Sheng-Yuan Huang (1):
USB: serial: nct_usb_serial: add support for Nuvoton USB adapter
drivers/usb/serial/Kconfig | 10 +
drivers/usb/serial/Makefile | 1 +
drivers/usb/serial/nct_usb_serial.c | 1553 +++++++++++++++++++++++++++
3 files changed, 1564 insertions(+)
create mode 100644 drivers/usb/serial/nct_usb_serial.c
--
2.43.0