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 1
1
# Copyright (c) 2024, Yishai Jaffe
2
+ # Copyright (c) 2025, Silicon Laboratories Inc.
2
3
# SPDX-License-Identifier: Apache-2.0
3
4
4
5
config UART_SILABS_EUSART
@@ -8,8 +9,23 @@ config UART_SILABS_EUSART
8
9
select SERIAL_HAS_DRIVER
9
10
select SERIAL_SUPPORT_INTERRUPT
10
11
select SOC_GECKO_EUSART
12
+ select SERIAL_SUPPORT_ASYNC \
13
+ if DT_HAS_SILABS_LDMA_ENABLED
14
+ select DMA if UART_ASYNC_API
11
15
select PINCTRL
12
16
select CLOCK_CONTROL
13
17
select PM_DEVICE if PM
14
18
help
15
19
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