Skip to content

Commit aa16da3

Browse files
committed
drivers: uart: microchip: add dma support
dma support added for uart Signed-off-by: Fabin V Martin <[email protected]>
1 parent af04b31 commit aa16da3

File tree

2 files changed

+996
-23
lines changed

2 files changed

+996
-23
lines changed

drivers/serial/Kconfig.mchp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config UART_MCHP_SERCOM_G1
5-
bool "Microchip SERCOM G1 UART driver"
5+
bool
66
default y
77
depends on DT_HAS_MICROCHIP_SERCOM_G1_UART_ENABLED
88
select SERIAL_HAS_DRIVER
99
select SERIAL_SUPPORT_INTERRUPT
10+
select SERIAL_SUPPORT_ASYNC
1011
select PINCTRL
1112
help
1213
This option enables UART driver for group (g1) of SERCOM peripherals.
14+
15+
if UART_MCHP_SERCOM_G1
16+
17+
config UART_MCHP_ASYNC
18+
bool
19+
default y
20+
depends on UART_ASYNC_API
21+
depends on DMA
22+
23+
endif # UART_MCHP_SERCOM_G1

0 commit comments

Comments
 (0)