zephyr/drivers/spi
Tristan Honscheid 81310769a9 emul: spi: SPI_EMUL_INIT(n) hard-coded to instance #0
The `SPI_EMUL_INIT(n)` macro used to instantiate SPI bus emulators
builds an array of SPI devices attached to the bus, but always checks
instance #0 of the bus and not `n`. This makes multiple instances of an
emulated SPI bus unusable and popualtes them all with bus 0's devices.

Change the `0` to `n`, which matches how the I2C bus emulator does it.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2023-07-07 09:17:12 +02:00
..
CMakeLists.txt drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
Kconfig drivers: spi: add SPI device statistics 2023-05-23 22:15:25 -04:00
Kconfig.andes_atcspi200
Kconfig.b91
Kconfig.bitbang
Kconfig.cc13xx_cc26xx
Kconfig.dw drivers: spi: add Data Fusion Subsystem SPI driver 2023-05-22 15:25:19 +02:00
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.litex
Kconfig.mchp_mss_qspi
Kconfig.mcux_dspi
Kconfig.mcux_flexcomm drivers: all: mcux: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
Kconfig.mcux_lpspi drivers: all: mcux: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
Kconfig.npcx_fiu
Kconfig.nrfx drivers: spi: nrfx: add multithreading Kconfig dependency 2023-05-08 16:18:20 +02:00
Kconfig.nxp_s32
Kconfig.oc_simple
Kconfig.opentitan drivers: spi: Add OpenTitan SPI driver 2023-05-10 16:48:46 +09:00
Kconfig.pl022 drivers: spi: pl022: Add support DMA transfer 2023-04-07 13:20:16 +02:00
Kconfig.psoc6
Kconfig.pw
Kconfig.rv32m1_lpspi drivers: all: rv32m1: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.smartbond drivers: spi: Add driver for smartbond 2023-04-20 10:32:40 +02:00
Kconfig.spi_emul
Kconfig.stm32
Kconfig.test
Kconfig.xec_qmspi drivers: spi: Microchip XEC QMSPI-LDMA fix spi buffer usage 2023-04-11 16:57:56 +02:00
Kconfig.xlnx
Kconfig.xmc4xxx drivers: spi: xmc4xxx: Add DMA support 2023-04-25 12:23:26 +02:00
spi_andes_atcspi200.c
spi_andes_atcspi200.h
spi_b91.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_bitbang.c
spi_cc13xx_cc26xx.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_context.h drivers: stm32: SPI: cannot send several buffers if frame size is 16 bits 2023-04-28 10:05:30 +02:00
spi_dw.c drivers: spi: fix spi_dw interrupt mask 2023-05-30 10:49:47 -04:00
spi_dw.h drivers: spi: fix spi_dw interrupt mask 2023-05-30 10:49:47 -04:00
spi_dw_regs.h drivers: spi: add Data Fusion Subsystem SPI driver 2023-05-22 15:25:19 +02:00
spi_emul.c emul: spi: SPI_EMUL_INIT(n) hard-coded to instance #0 2023-07-07 09:17:12 +02:00
spi_esp32_spim.c drivers: spi: esp32xx: Add chip select setup and hold time 2023-05-09 14:31:15 +02:00
spi_esp32_spim.h drivers: spi: esp32xx: Add chip select setup and hold time 2023-05-09 14:31:15 +02:00
spi_gd32.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_gecko.c
spi_handlers.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_litespi.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
spi_litespi.h
spi_ll_stm32.c drivers: spi: stm32h7: add a small delay after enabling 2023-06-05 10:48:59 -04:00
spi_ll_stm32.h
spi_mchp_mss_qspi.c
spi_mcux_dspi.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
spi_mcux_flexcomm.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
spi_mcux_lpspi.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
spi_npcx_fiu.c
spi_nrfx_spi.c
spi_nrfx_spim.c drivers: spi_nrfx_spim: bring back get_nrf_spim_frequency 2023-05-17 16:21:52 +02:00
spi_nrfx_spis.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_nxp_s32.c
spi_nxp_s32.h
spi_oc_simple.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_oc_simple.h
spi_opentitan.c drivers: spi: Add OpenTitan SPI driver 2023-05-10 16:48:46 +09:00
spi_pl022.c drivers: spi: pl022: Add support DMA transfer 2023-04-07 13:20:16 +02:00
spi_psoc6.c
spi_pw.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_pw.h
spi_rtio.c
spi_rv32m1_lpspi.c drivers: all: rv32m1: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
spi_sam.c rtio: Use mpsc for submission and completion queue 2023-05-10 00:39:43 +09:00
spi_sam0.c drivers: spi: sam0: fix DMA init for parts with MCLK peripheral 2023-04-20 10:48:21 +02:00
spi_sifive.c drivers: spi: add spi_cs_is_gpio(_dt) helpers 2023-04-24 21:29:55 +02:00
spi_sifive.h
spi_signal.c
spi_smartbond.c drivers: spi: Add driver for smartbond 2023-04-20 10:32:40 +02:00
spi_test.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
spi_xec_qmspi.c
spi_xec_qmspi_ldma.c xec: spi: Remove `.cs = NULL` in spi_config initializer 2023-04-26 12:58:21 +02:00
spi_xlnx_axi_quadspi.c
spi_xmc4xxx.c drivers: spi: xmc4xxx: Fix comp with interrupt enabled and dma disabled 2023-05-03 14:23:32 +09:00