Skip to content

Commit 117c28a

Browse files
Mierunskicarlescufi
authored andcommitted
api: uart: Add new asynchronous UART API.
Added new UART API, that allows for longer transmissions, leaves IRQ handling on driver side and allows for DMA usage. Signed-off-by: Mieszko Mierunski <[email protected]>
1 parent bfb23cc commit 117c28a

File tree

2 files changed

+360
-31
lines changed

2 files changed

+360
-31
lines changed

drivers/serial/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,19 @@ config SERIAL_SUPPORT_INTERRUPT
2828
This is an option to be enabled by individual serial driver
2929
to signal that the driver and hardware supports interrupts.
3030

31+
config UART_ASYNC_API
32+
bool "Enable new asynchronous UART API [EXPERIMENTAL]"
33+
help
34+
This option enables new asynchronous UART API.
35+
36+
if UART_ASYNC_API=n
3137
config UART_INTERRUPT_DRIVEN
3238
bool "Enable UART Interrupt support"
3339
depends on SERIAL_SUPPORT_INTERRUPT
3440
help
3541
This option enables interrupt support for UART allowing console
3642
input and other UART based drivers.
43+
endif
3744

3845
config UART_LINE_CTRL
3946
bool "Enable Serial Line Control API"

0 commit comments

Comments
 (0)