Skip to content

Commit

Permalink
WIP: drivers/tty/serial: add driver for ESP32 UART
Browse files Browse the repository at this point in the history
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
jcmvbkbc committed Jun 3, 2022
1 parent 3c05fe5 commit 4475ad0
Show file tree
Hide file tree
Showing 4 changed files with 401 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/tty/serial/Kconfig
Expand Up @@ -1590,6 +1590,15 @@ config SERIAL_SUNPLUS_CONSOLE
you can alter that using a kernel command line option such as
"console=ttySUPx".

config SERIAL_ESP32
tristate "Espressif ESP32 UART driver support"
depends on XTENSA_PLATFORM_ESP32 || (COMPILE_TEST && OF)
select SERIAL_CORE
select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
help
Driver for Espressif ESP32 UARTs.

endmenu

config SERIAL_MCTRL_GPIO
Expand Down
1 change: 1 addition & 0 deletions drivers/tty/serial/Makefile
Expand Up @@ -88,6 +88,7 @@ obj-$(CONFIG_SERIAL_MILBEAUT_USIO) += milbeaut_usio.o
obj-$(CONFIG_SERIAL_SIFIVE) += sifive.o
obj-$(CONFIG_SERIAL_LITEUART) += liteuart.o
obj-$(CONFIG_SERIAL_SUNPLUS) += sunplus-uart.o
obj-$(CONFIG_SERIAL_ESP32) += esp32_uart.o

# GPIOLIB helpers for modem control lines
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o
Expand Down

0 comments on commit 4475ad0

Please sign in to comment.