[PATCH v5 0/5] serial: add drivers for the ESP32xx serial devices
From: Max Filippov
Date: Tue Oct 10 2023 - 04:59:51 EST
Hello,
this series adds drivers for the UART and ACM gadget controllers found
in the Espressif ESP32 and ESP32S3 SoCs.
Changes v4->v5:
- address review comments, listed in each patch
- rebase on top of change introducing PORT_GENERIC
Changes v3->v4:
- address review comments, listed in each patch
- add reviewed-by tags
Changes v2->v3:
- address review comments, listed in each patch
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 gadget driver
.../bindings/serial/esp,esp32-acm.yaml | 42 +
.../bindings/serial/esp,esp32-uart.yaml | 51 ++
drivers/tty/serial/Kconfig | 26 +
drivers/tty/serial/Makefile | 2 +
drivers/tty/serial/esp32_acm.c | 459 +++++++++++
drivers/tty/serial/esp32_uart.c | 741 ++++++++++++++++++
drivers/tty/serial/serial_core.c | 4 +-
7 files changed, 1322 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