Skip to content

Commit ba21058

Browse files
AlessandroLuokartben
authored andcommitted
drivers: uart: add dma support for ambiq uart driver
This commit adds dma support for ambiq uart driver Signed-off-by: Hao Luo <[email protected]>
1 parent 3e8ec3a commit ba21058

File tree

3 files changed

+640
-67
lines changed

3 files changed

+640
-67
lines changed

drivers/serial/Kconfig.ambiq

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ config UART_AMBIQ
88
depends on SOC_SERIES_APOLLO5X
99
select SERIAL_HAS_DRIVER
1010
select SERIAL_SUPPORT_INTERRUPT
11+
select SERIAL_SUPPORT_ASYNC
1112
select PINCTRL
1213
select AMBIQ_HAL
1314
select AMBIQ_HAL_USE_UART
1415
help
1516
Enable the AMBIQ UART driver.
17+
18+
if UART_AMBIQ
19+
20+
config UART_AMBIQ_HANDLE_CACHE
21+
bool "Turn on cache handling in uart driver"
22+
default y
23+
depends on CACHE_MANAGEMENT && DCACHE
24+
help
25+
Disable this if cache has been handled in upper layers.
26+
27+
endif # UART_AMBIQ

0 commit comments

Comments
 (0)