1# SPI driver configuration options 2 3# Copyright (c) 2015-2016 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6# 7# SPI Drivers 8# 9menuconfig SPI 10 bool "Serial Peripheral Interface (SPI) bus drivers" 11 help 12 Enable support for the SPI hardware bus. 13 14if SPI 15 16config SPI_ASYNC 17 bool "Asynchronous call support" 18 select POLL 19 help 20 This option enables the asynchronous API calls. 21 22config SPI_RTIO 23 bool "RTIO support [EXPERIMENTAL]" 24 select EXPERIMENTAL 25 select RTIO 26 help 27 This option enables the RTIO API calls. RTIO support is 28 experimental as the API itself is unstable. 29 30config SPI_SLAVE 31 bool "Slave support [EXPERIMENTAL]" 32 select EXPERIMENTAL 33 help 34 Enables Driver SPI slave operations. Slave support depends 35 on the driver and the hardware it runs on. 36 37config SPI_EXTENDED_MODES 38 bool "Extended modes [EXPERIMENTAL]" 39 select EXPERIMENTAL 40 help 41 Enables extended operations in the SPI API. Currently, this 42 enables the possibility to select the line mode (single/dual/ 43 quad/octal), though none of these mode are really supported as 44 it would require more features exposed into the SPI buffer. 45 46config SPI_INIT_PRIORITY 47 int "Init priority" 48 default 70 49 help 50 Device driver initialization priority. 51 52config SPI_COMPLETION_TIMEOUT_TOLERANCE 53 int "Completion timeout tolerance (ms)" 54 default 200 55 help 56 The tolerance value in ms for the SPI completion timeout logic. 57 58config SPI_STATS 59 bool "SPI device statistics" 60 depends on STATS 61 help 62 Enable SPI device statistics. 63 64module = SPI 65module-str = spi 66source "subsys/logging/Kconfig.template.log_config" 67 68source "drivers/spi/Kconfig.b91" 69 70source "drivers/spi/Kconfig.stm32" 71 72source "drivers/spi/Kconfig.dw" 73 74source "drivers/spi/Kconfig.mcux_dspi" 75 76source "drivers/spi/Kconfig.mcux_flexcomm" 77 78source "drivers/spi/Kconfig.mcux_lpspi" 79 80source "drivers/spi/Kconfig.rv32m1_lpspi" 81 82source "drivers/spi/Kconfig.sam" 83 84source "drivers/spi/Kconfig.sam0" 85 86source "drivers/spi/Kconfig.sifive" 87 88source "drivers/spi/Kconfig.spi_emul" 89 90source "drivers/spi/Kconfig.nrfx" 91 92source "drivers/spi/Kconfig.cc13xx_cc26xx" 93 94source "drivers/spi/Kconfig.litex" 95 96source "drivers/spi/Kconfig.oc_simple" 97 98source "drivers/spi/Kconfig.xec_qmspi" 99 100source "drivers/spi/Kconfig.gecko" 101 102source "drivers/spi/Kconfig.xlnx" 103 104source "drivers/spi/Kconfig.esp32" 105 106source "drivers/spi/Kconfig.test" 107 108source "drivers/spi/Kconfig.psoc6" 109 110source "drivers/spi/Kconfig.bitbang" 111 112source "drivers/spi/Kconfig.gd32" 113 114source "drivers/spi/Kconfig.mchp_mss_qspi" 115 116source "drivers/spi/Kconfig.pl022" 117 118source "drivers/spi/Kconfig.andes_atcspi200" 119 120source "drivers/spi/Kconfig.nxp_s32" 121 122source "drivers/spi/Kconfig.xmc4xxx" 123 124source "drivers/spi/Kconfig.pw" 125 126source "drivers/spi/Kconfig.smartbond" 127 128source "drivers/spi/Kconfig.opentitan" 129 130source "drivers/spi/Kconfig.numaker" 131 132source "drivers/spi/Kconfig.ambiq" 133 134source "drivers/spi/Kconfig.rpi_pico" 135 136source "drivers/spi/Kconfig.ifx_cat1" 137 138source "drivers/spi/Kconfig.sedi" 139 140source "drivers/spi/Kconfig.npcx" 141 142source "drivers/spi/Kconfig.mchp_mss" 143 144source "drivers/spi/Kconfig.grlib_spimctrl" 145 146endif # SPI 147