Skip to content

Commit

Permalink
drivers: spi: smartbond: Add async API support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ioannis-karachalios committed Jun 6, 2024
1 parent 7bf6e8b commit 3e061d6
Show file tree
Hide file tree
Showing 2 changed files with 898 additions and 13 deletions.
11 changes: 11 additions & 0 deletions drivers/spi/Kconfig.smartbond
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ config SPI_SMARTBOND
depends on DT_HAS_RENESAS_SMARTBOND_SPI_ENABLED
help
Enables SPI driver for Renesas SmartBond(tm) DA1469x series MCU.

config SPI_SMARTBOND_DMA
bool "Renesas Smartbond(tm) SPI with DMA acceleration"
default y
depends on SPI_ASYNC
depends on SPI_SMARTBOND
select DMA
help
Enables using the DMA engine instead of interrupt-driven
approach. This acceleration is available only for
asynchronous transfers.
Loading

0 comments on commit 3e061d6

Please sign in to comment.