Skip to content

Commit

Permalink
driver: serial: Add SCI-UART driver support for Renesas RA devices
Browse files Browse the repository at this point in the history
Add implementation of sci_uart for Renesas RA device

Signed-off-by: TOKITA Hiroshi <[email protected]>
  • Loading branch information
soburi committed Jun 30, 2024
1 parent f5f30fd commit af0a91a
Show file tree
Hide file tree
Showing 7 changed files with 1,311 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ zephyr_library_sources_ifdef(CONFIG_UART_RENESAS_RA uart_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_UART_ENE_KB1200 uart_ene_kb1200.c)
zephyr_library_sources_ifdef(CONFIG_UART_RZT2M uart_rzt2m.c)
zephyr_library_sources_ifdef(CONFIG_UART_RA8_SCI_B uart_renesas_ra8_sci_b.c)
zephyr_library_sources_ifdef(CONFIG_UART_RA8_SCI uart_renesas_ra8_sci.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE uart_handlers.c)

if(CONFIG_UART_NATIVE_POSIX)
Expand Down
23 changes: 23 additions & 0 deletions drivers/serial/Kconfig.renesas_ra8
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,26 @@ config UART_RA_SCI_B_UART_FIFO_ENABLE
Enable RA SCI_B FIFO

endif

config UART_RA8_SCI
bool "Renesas RA SCI UART"
default y
depends on DT_HAS_RENESAS_RA8_UART_SCI_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select SERIAL_SUPPORT_ASYNC
select USE_RA_FSP_SCI_UART
select USE_RA_FSP_DTC if UART_ASYNC_API
help
Enable Renesas RA SCI UART Driver.

if UART_RA8_UART_SCI && (UART_INTERRUPT_DRIVEN || UART_ASYNC_API)

config UART_RA_UART_SCI_FIFO_ENABLE
bool "Enable RA SCI UART FIFO"
default y if UART_INTERRUPT_DRIVEN
default n if UART_ASYNC_API
help
Enable RA SCI FIFO

endif
Loading

0 comments on commit af0a91a

Please sign in to comment.