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 <ioannis.karachalios.px@renesas.com>
This commit is contained in:
Ioannis Karachalios 2024-06-05 00:00:39 +03:00 committed by Anas Nashif
commit 774ed60280
2 changed files with 970 additions and 22 deletions

View file

@ -7,3 +7,13 @@ 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_SMARTBOND
select DMA
help
Enables using the DMA engine instead of interrupt-driven
approach. This acceleration is available only for
asynchronous transfers.

File diff suppressed because it is too large Load diff