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

@ -9,3 +9,12 @@ config HAS_NORDIC_DRIVERS
config HAS_NRFX
bool
config NRFX_SPI
bool
config NRFX_SPIM
bool
config NRFX_SPIS
bool