drivers: spi: Add shim for nrfx SPI driver

This adds a translation layer to make the nrfx driver for the legacy
(i.e. without EasyDMA) nRF SPI peripheral accessible via the updated
Zephyr's API of the SPI driver.
Configuration files are already prepared for adding support for SPIM
(Master with EasyDMA) and SPIS (Slave with EasyDMA) peripherals.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2018-03-02 15:05:00 +01:00 committed by Carles Cufí
commit 00397c65bc
9 changed files with 611 additions and 60 deletions

View file

@ -313,6 +313,8 @@ source "drivers/spi/Kconfig.mcux_dspi"
source "drivers/spi/Kconfig.sam0"
source "drivers/spi/Kconfig.nrfx"
endif # !SPI_LEGACY_API
endif # SPI