Skip to content

Commit 774ed60

Browse files
ioannis-karachaliosnashif
authored andcommitted
drivers: spi: smartbond: Add async API support
This commit should deal with adding support for asynchronous operations. It also adds support for DMA acceleration via a Kconfig variable (enaled by default as DMA should be considered scales faster than the interrupt-driven approach). Signed-off-by: Ioannis Karachalios <[email protected]>
1 parent f78c51d commit 774ed60

File tree

2 files changed

+970
-22
lines changed

2 files changed

+970
-22
lines changed

drivers/spi/Kconfig.smartbond

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@ config SPI_SMARTBOND
77
depends on DT_HAS_RENESAS_SMARTBOND_SPI_ENABLED
88
help
99
Enables SPI driver for Renesas SmartBond(tm) DA1469x series MCU.
10+
11+
config SPI_SMARTBOND_DMA
12+
bool "Renesas Smartbond(tm) SPI with DMA acceleration"
13+
default y
14+
depends on SPI_SMARTBOND
15+
select DMA
16+
help
17+
Enables using the DMA engine instead of interrupt-driven
18+
approach. This acceleration is available only for
19+
asynchronous transfers.

0 commit comments

Comments
 (0)