emul: spi: Add support for SPI emulators
Add an emulation controller which routes SPI traffic to an attached emulator. Only one emulator is supported per bus at present, since chip-selction functionality is not present. This allows drivers for SPI peripherals to be tested on systems that don't have that peripheral attached, with the emulator handling the SPI traffic. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5a9f389159
commit
a1d8e55cad
6 changed files with 264 additions and 0 deletions
|
@ -207,6 +207,8 @@ source "drivers/spi/Kconfig.sam0"
|
|||
|
||||
source "drivers/spi/Kconfig.sifive"
|
||||
|
||||
source "drivers/spi/Kconfig.spi_emul"
|
||||
|
||||
source "drivers/spi/Kconfig.nrfx"
|
||||
|
||||
source "drivers/spi/Kconfig.cc13xx_cc26xx"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue