[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230920022644.2712651-1-jcmvbkbc@gmail.com>
Date: Tue, 19 Sep 2023 19:26:39 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
devicetree@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Max Filippov <jcmvbkbc@...il.com>
Subject: [PATCH v2 0/5] serial: add drivers for the ESP32xx serial devices
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
Powered by blists - more mailing lists