1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/spi.h)
4
5zephyr_library()
6
7zephyr_library_sources_ifdef(CONFIG_SPI_SHELL  spi_shell.c)
8zephyr_library_sources_ifdef(CONFIG_SPI_TELINK_B91  spi_b91.c)
9zephyr_library_sources_ifdef(CONFIG_SPI_CC13XX_CC26XX		spi_cc13xx_cc26xx.c)
10zephyr_library_sources_ifdef(CONFIG_SPI_DW		spi_dw.c)
11zephyr_library_sources_ifdef(CONFIG_SPI_EMUL		spi_emul.c)
12zephyr_library_sources_ifdef(CONFIG_SPI_STM32		spi_ll_stm32.c)
13zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_DSPI	spi_mcux_dspi.c)
14zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_ECSPI	spi_mcux_ecspi.c)
15zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_FLEXCOMM	spi_mcux_flexcomm.c)
16zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_FLEXIO	spi_mcux_flexio.c)
17zephyr_library_sources_ifdef(CONFIG_SPI_MCUX_LPSPI	spi_mcux_lpspi.c)
18zephyr_library_sources_ifdef(CONFIG_SPI_SAM		spi_sam.c)
19zephyr_library_sources_ifdef(CONFIG_SPI_SAM0		spi_sam0.c)
20zephyr_library_sources_ifdef(CONFIG_SPI_SIFIVE		spi_sifive.c)
21zephyr_library_sources_ifdef(CONFIG_SPI_RV32M1_LPSPI	spi_rv32m1_lpspi.c)
22zephyr_library_sources_ifdef(CONFIG_SPI_NRFX_SPI	spi_nrfx_spi.c
23							spi_nrfx_common.c)
24zephyr_library_sources_ifdef(CONFIG_SPI_NRFX_SPIM	spi_nrfx_spim.c
25							spi_nrfx_common.c)
26zephyr_library_sources_ifdef(CONFIG_SPI_NRFX_SPIS	spi_nrfx_spis.c)
27zephyr_library_sources_ifdef(CONFIG_SPI_LITEX		spi_litex.c)
28zephyr_library_sources_ifdef(CONFIG_SPI_LITEX_LITESPI	spi_litex_litespi.c)
29zephyr_library_sources_ifdef(CONFIG_SPI_OC_SIMPLE	spi_oc_simple.c)
30zephyr_library_sources_ifdef(CONFIG_SPI_XEC_QMSPI	spi_xec_qmspi.c)
31zephyr_library_sources_ifdef(CONFIG_SPI_GECKO		spi_gecko.c)
32zephyr_library_sources_ifdef(CONFIG_SPI_XLNX_AXI_QUADSPI spi_xlnx_axi_quadspi.c)
33zephyr_library_sources_ifdef(CONFIG_ESP32_SPIM		spi_esp32_spim.c)
34zephyr_library_sources_ifdef(CONFIG_SPI_TEST		spi_test.c)
35zephyr_library_sources_ifdef(CONFIG_SPI_PSOC6		spi_psoc6.c)
36zephyr_library_sources_ifdef(CONFIG_SPI_BITBANG		spi_bitbang.c)
37zephyr_library_sources_ifdef(CONFIG_SPI_XEC_QMSPI_LDMA	spi_xec_qmspi_ldma.c)
38zephyr_library_sources_ifdef(CONFIG_SPI_GD32		spi_gd32.c)
39zephyr_library_sources_ifdef(CONFIG_SPI_MCHP_QSPI	spi_mchp_mss_qspi.c)
40zephyr_library_sources_ifdef(CONFIG_SPI_PL022		spi_pl022.c)
41zephyr_library_sources_ifdef(CONFIG_SPI_ANDES_ATCSPI200	spi_andes_atcspi200.c)
42zephyr_library_sources_ifdef(CONFIG_NXP_S32_SPI spi_nxp_s32.c)
43zephyr_library_sources_ifdef(CONFIG_SPI_XMC4XXX     spi_xmc4xxx.c)
44zephyr_library_sources_ifdef(CONFIG_SPI_PW		spi_pw.c)
45zephyr_library_sources_ifdef(CONFIG_SPI_SMARTBOND   spi_smartbond.c)
46zephyr_library_sources_ifdef(CONFIG_SPI_OPENTITAN	spi_opentitan.c)
47zephyr_library_sources_ifdef(CONFIG_SPI_NUMAKER		spi_numaker.c)
48zephyr_library_sources_ifdef(CONFIG_SPI_AMBIQ		spi_ambiq.c)
49zephyr_library_sources_ifdef(CONFIG_SPI_AMBIQ_BLEIF	spi_ambiq_bleif.c)
50zephyr_library_sources_ifdef(CONFIG_SPI_RPI_PICO_PIO	spi_rpi_pico_pio.c)
51zephyr_library_sources_ifdef(CONFIG_MSPI_AMBIQ		mspi_ambiq.c)
52zephyr_library_sources_ifdef(CONFIG_SPI_MCHP_MSS	spi_mchp_mss.c)
53zephyr_library_sources_ifdef(CONFIG_SPI_RTIO spi_rtio.c)
54zephyr_library_sources_ifdef(CONFIG_SPI_ASYNC spi_signal.c)
55zephyr_library_sources_ifdef(CONFIG_USERSPACE		spi_handlers.c)
56zephyr_library_sources_ifdef(CONFIG_SPI_INFINEON_CAT1	spi_ifx_cat1.c)
57zephyr_library_sources_ifdef(CONFIG_SPI_SEDI            spi_sedi.c)
58zephyr_library_sources_ifdef(CONFIG_SPI_NPCX_SPIP       spi_npcx_spip.c)
59zephyr_library_sources_ifdef(CONFIG_SPI_GRLIB_SPIMCTRL	spi_grlib_spimctrl.c)
60zephyr_library_sources_ifdef(CONFIG_SPI_MAX32		spi_max32.c)
61