Skip to content

Commit 87141ed

Browse files
Martinhoff-makerkartben
authored andcommitted
drivers: serial: silabs: introduce asynchronous silabs eusart
Introduce silabs asynchronous eusart with dma support. Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
1 parent 4ec3405 commit 87141ed

File tree

2 files changed

+591
-5
lines changed

2 files changed

+591
-5
lines changed

drivers/serial/Kconfig.silabs_eusart

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2024, Yishai Jaffe
2+
# Copyright (c) 2025, Silicon Laboratories Inc.
23
# SPDX-License-Identifier: Apache-2.0
34

45
config UART_SILABS_EUSART
@@ -8,8 +9,23 @@ config UART_SILABS_EUSART
89
select SERIAL_HAS_DRIVER
910
select SERIAL_SUPPORT_INTERRUPT
1011
select SOC_GECKO_EUSART
12+
select SERIAL_SUPPORT_ASYNC \
13+
if DT_HAS_SILABS_LDMA_ENABLED
14+
select DMA if UART_ASYNC_API
1115
select PINCTRL
1216
select CLOCK_CONTROL
1317
select PM_DEVICE if PM
1418
help
1519
Enable the eusart uart driver.
20+
21+
if UART_SILABS_EUSART
22+
23+
config UART_SILABS_EUSART_ASYNC
24+
bool
25+
depends on DMA_SILABS_LDMA
26+
depends on UART_ASYNC_API
27+
default y
28+
help
29+
If 'y', Silabs eusart driver will compile with support for UART async API.
30+
31+
endif

0 commit comments

Comments
 (0)