Skip to content

Commit a683686

Browse files
decsnykartben
authored andcommitted
drivers: lpuart: Dont say we support async without DMA
The dma has to be enabled on the platform in order for ASYNC API to work. This can be indicated by whether or not any LPUART node has the `dmas` property set. Signed-off-by: Declan Snyder <[email protected]>
1 parent 960050b commit a683686

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/serial/Kconfig.mcux_lpuart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# MCUXpresso SDK LPUART
2-
3-
# Copyright (c) 2017, NXP
1+
# Copyright 2017, 2025 NXP
42
# SPDX-License-Identifier: Apache-2.0
53

64
config UART_MCUX_LPUART
@@ -10,7 +8,7 @@ config UART_MCUX_LPUART
108
depends on CLOCK_CONTROL
119
select SERIAL_HAS_DRIVER
1210
select SERIAL_SUPPORT_INTERRUPT
13-
select SERIAL_SUPPORT_ASYNC
11+
select SERIAL_SUPPORT_ASYNC if $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_LPUART),dmas)
1412
select DMA if UART_ASYNC_API
1513
select PINCTRL
1614
help

0 commit comments

Comments
 (0)