[PATCH v2 0/5] serial: add drivers for the ESP32xx serial devices

From: Max Filippov
Date: Tue Sep 19 2023 - 22:27:05 EST


Hello,

this series adds drivers for the UART and ACM controllers found in the
Espressif ESP32 and ESP32S3 SoCs.

Changes v1->v2:
- address review comments, listed in each patch
- add cleanup for the uart_get_baud_rate function

Max Filippov (5):
serial: core: tidy invalid baudrate handling in uart_get_baud_rate
dt-bindings: serial: document esp32-uart
drivers/tty/serial: add driver for the ESP32 UART
dt-bindings: serial: document esp32s3-acm
drivers/tty/serial: add ESP32S3 ACM device driver

.../bindings/serial/esp,esp32-acm.yaml | 39 +
.../bindings/serial/esp,esp32-uart.yaml | 48 ++
drivers/tty/serial/Kconfig | 27 +
drivers/tty/serial/Makefile | 2 +
drivers/tty/serial/esp32_acm.c | 458 +++++++++++
drivers/tty/serial/esp32_uart.c | 749 ++++++++++++++++++
drivers/tty/serial/serial_core.c | 5 +-
include/uapi/linux/serial_core.h | 6 +
8 files changed, 1331 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml
create mode 100644 Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml
create mode 100644 drivers/tty/serial/esp32_acm.c
create mode 100644 drivers/tty/serial/esp32_uart.c

--
2.30.2