File tree Expand file tree Collapse file tree 2 files changed +591
-5
lines changed Expand file tree Collapse file tree 2 files changed +591
-5
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) 2024, Yishai Jaffe
2+ # Copyright (c) 2025, Silicon Laboratories Inc.
23# SPDX-License-Identifier: Apache-2.0
34
45config 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
You can’t perform that action at this time.
0 commit comments