Kconfig

CONFIG_SPI SPI support

On

The "Serial Peripheral Interface" is a low level synchronous protocol. Chips that support SPI can have data transfer rates up to several tens of Mbit/sec. Chips are addressed with a controller and a chipselect. Most SPI slaves don't support dynamic device discovery; some are even write-only or read-only.

SPI is widely used by microcontrollers to talk with sensors, eeprom and flash memory, codecs and various other controller chips, analog to digital (and d-to-a) converters, and more. MMC and SD cards can be accessed using SPI protocol; and for DataFlash cards used in MMC sockets, SPI must always be used.

SPI is one of a family of similar protocols using a four wire interface (select, clock, data in, data out) including Microwire (half duplex), SSP, SSI, and PSP. This driver framework should work with most such devices and controllers.

If SPI

CONFIG_SPI_DEBUG Debug support for SPI drivers

On

Say "yes" to enable debug messaging (like dev_dbg and pr_debug), sysfs, and debugfs support in SPI controller and protocol drivers.

CONFIG_SPI_MASTER

On

If your system has an master-capable SPI controller (which provides the clock and chipselect), you can enable that controller and the protocol drivers for the SPI slave chips that are connected.

If SPI_MASTER

CONFIG_SPI_MEM SPI memory extension

On

Enable this option if you want to enable the SPI memory extension. This extension is meant to simplify interaction with SPI memories by providing a high-level interface to send memory-like commands.

SPI Master Controller Drivers

CONFIG_SPI_AIROHA_SNFI Airoha SPI NAND Flash Interface

  • Off
  • Module
  • Built in

This enables support for SPI-NAND mode on the Airoha NAND Flash Interface found on Airoha ARM SoCs. This controller is implemented as a SPI-MEM controller.

CONFIG_SPI_ALTERA_CORE Altera SPI Controller core code

  • Off
  • Module
  • Built in

"The core code for the Altera SPI Controller"

CONFIG_SPI_ALTERA_DFL DFL bus driver for Altera SPI Controller

  • Off
  • Module
  • Built in

This is a Device Feature List (DFL) bus driver for the Altera SPI master controller. The SPI master is connected to a SPI slave to Avalon bridge in a Intel MAX BMC.

CONFIG_SPI_AMLOGIC_SPIFC_A1 Amlogic A1 SPIFC controller

  • Off
  • Module
  • Built in

This enables master mode support for the SPIFC (SPI flash controller) available in Amlogic A1 (A113L SoC).

CONFIG_SPI_AMLOGIC_SPIFC_A4 Amlogic A4 SPI Flash controller

  • Off
  • Module
  • Built in

This enables SPI mode on the NAND Flash Controller of Amlogic ARM SoCs. It supports SPI Nor Flash and SPI NAND Flash (Could enable Host ECC HW engine). The controller implements the SPI-MEM interface, it doesn't support generic SPI.

CONFIG_SPI_AMLOGIC_SPISG Amlogic SPISG controller

  • Off
  • Module
  • Built in

This enables master mode support for the SPISG (SPI scatter-gather communication controller), which is available on platforms such as Amlogic A4 SoCs.

CONFIG_SPI_APPLE Apple SoC SPI Controller platform driver

  • Off
  • Module
  • Built in

This enables support for the SPI controller present on many Apple SoCs, including the t8103 (M1), t8112 (M2) and t600x (M1 Pro/Max/Ultra). Multiple SPI controller instances are present on the SoC and each connects usually to a single device like spi-nor (nvram), input device controller or fingerprint sensor.

CONFIG_SPI_AR934X Qualcomm Atheros AR934X/QCA95XX SPI controller driver

  • Off
  • Module
  • Built in

This enables support for the SPI controller present on the Qualcomm Atheros AR934X/QCA95XX SoCs.

CONFIG_SPI_ARMADA_3700 Marvell Armada 3700 SPI Controller

  • Off
  • Module
  • Built in

This enables support for the SPI controller present on the Marvell Armada 3700 SoCs.

CONFIG_SPI_ATCSPI200 Andes ATCSPI200 SPI controller

  • Off
  • Module
  • Built in

SPI driver for Andes ATCSPI200 SPI controller. ATCSPI200 controller supports DMA and PIO modes. When DMA is not available, the driver automatically falls back to PIO mode.

CONFIG_SPI_ASPEED_SMC Aspeed flash controllers in SPI mode

  • Off
  • Module
  • Built in

This enables support for the Firmware Memory controller (FMC) in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached to SPI NOR chips, and support for the SPI flash memory controller (SPI) for the host firmware. The implementation only supports SPI NOR.

CONFIG_SPI_ATMEL Atmel SPI Controller

  • Off
  • Module
  • Built in

This selects a driver for the Atmel SPI Controller, present on many AT91 ARM chips.

CONFIG_SPI_AT91_USART Atmel USART Controller SPI driver

  • Off
  • Module
  • Built in

This selects a driver for the AT91 USART Controller as SPI Master, present on AT91 and SAMA5 SoC series.

CONFIG_SPI_ATMEL_QUADSPI Atmel Quad SPI Controller

  • Off
  • Module
  • Built in

This enables support for the Quad SPI controller in master mode. This driver does not support generic SPI. The implementation only supports spi-mem interface.

CONFIG_SPI_AXI_SPI_ENGINE Analog Devices AXI SPI Engine controller

  • Off
  • Module
  • Built in

This enables support for the Analog Devices AXI SPI Engine SPI controller. It is part of the SPI Engine framework that is used in some Analog Devices reference designs for FPGAs.

CONFIG_SPI_AXIADO Axiado DB-H SPI controller

  • Off
  • Module
  • Built in

Enable support for the SPI controller present on Axiado AX3000 SoCs.

The implementation supports host-only mode and does not provide target functionality. It is intended for use cases where the SoC acts as the SPI host, communicating with peripheral devices such as flash memory.

CONFIG_SPI_BCM2835 BCM2835 SPI controller

  • Off
  • Module
  • Built in

This selects a driver for the Broadcom BCM2835 SPI master.

The BCM2835 contains two types of SPI master controller; the "universal SPI master", and the regular SPI controller. This driver is for the regular SPI controller. Slave mode operation is not also not supported.

CONFIG_SPI_BCM2835AUX BCM2835 SPI auxiliary controller

  • Off
  • Module
  • Built in

This selects a driver for the Broadcom BCM2835 SPI aux master.

The BCM2835 contains two types of SPI master controller; the "universal SPI master", and the regular SPI controller. This driver is for the universal/auxiliary SPI controller.

CONFIG_SPI_BCM63XX_HSSPI Broadcom BCM63XX HS SPI controller driver

  • Off
  • Module
  • Built in

This enables support for the High Speed SPI controller present on newer Broadcom BCM63XX SoCs.

CONFIG_SPI_BCM_QSPI Broadcom BSPI and MSPI controller support

  • Off
  • Module
  • Built in

Enables support for the Broadcom SPI flash and MSPI controller. Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs based platforms. This driver works for both SPI master for SPI NOR flash device as well as MSPI device.

CONFIG_SPI_BCMBCA_HSSPI Broadcom BCMBCA HS SPI controller driver

  • Off
  • Module
  • Built in

This enables support for the High Speed SPI controller present on newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller that adds the capability to allow the driver to control chip select explicitly.

CONFIG_SPI_BITBANG Utilities for Bitbanging SPI host controllers

  • Off
  • Module
  • Built in

With a few GPIO pins, your system can bitbang the SPI protocol. Select this to get SPI support through I/O pins (GPIO, parallel port, etc). Or, some systems' SPI host controller drivers use this code to manage the per-word or per-transfer accesses to the hardware shift registers.

This is library code, and is automatically selected by drivers that need it. You only need to select this explicitly to support driver modules that aren't part of this kernel tree.

CONFIG_SPI_CADENCE Cadence SPI controller

  • Off
  • Module
  • Built in

This selects the Cadence SPI controller master driver used by Xilinx Zynq and ZynqMP.

CONFIG_SPI_CADENCE_QUADSPI Cadence Quad SPI controller

  • Off
  • Module
  • Built in

Enable support for the Cadence Quad SPI Flash controller.

Cadence QSPI is a specialized controller for connecting an SPI Flash over 1/2/4-bit wide bus. Enable this option if you have a device with a Cadence QSPI controller and want to access the Flash as an MTD device.

CONFIG_SPI_CADENCE_XSPI Cadence XSPI controller

  • Off
  • Module
  • Built in

Enable support for the Cadence XSPI Flash controller.

Cadence XSPI is a specialized controller for connecting an SPI Flash over up to 8-bit wide bus. Enable this option if you have a device with a Cadence XSPI controller and want to access the Flash as an MTD device.

CONFIG_SPI_CH341 CH341 USB2SPI adapter

  • Off
  • Module
  • Built in

Enables the SPI controller on the CH341a USB to serial chip

CONFIG_SPI_CLPS711X CLPS711X host SPI controller

  • Off
  • Module
  • Built in

This enables dedicated general purpose SPI/Microwire1-compatible master mode interface (SSI1) for CLPS711X-based CPUs.

CONFIG_SPI_COLDFIRE_QSPI Freescale Coldfire QSPI controller

  • Off
  • Module
  • Built in
Unknown

This enables support for the Coldfire QSPI controller in master mode.

CONFIG_SPI_DESIGNWARE DesignWare SPI controller core support

  • Off
  • Module
  • Built in

general driver for SPI controller core from DesignWare

If SPI_DESIGNWARE

CONFIG_SPI_DLN2 Diolan DLN-2 USB SPI adapter

  • Off
  • Module
  • Built in

If you say yes to this option, support will be included for Diolan DLN2, a USB to SPI interface.

This driver can also be built as a module. If so, the module will be called spi-dln2.

CONFIG_SPI_EP93XX Cirrus Logic EP93xx SPI controller

  • Off
  • Module
  • Built in

This enables using the Cirrus EP93xx SPI controller in master mode.

CONFIG_SPI_FALCON Falcon SPI controller support

Unknown

The external bus unit (EBU) found on the FALC-ON SoC has SPI emulation that is designed for serial flash access. This driver has only been tested with m25p80 type chips. The hardware has no support for other types of SPI peripherals.

CONFIG_SPI_FSI FSI SPI driver

  • Off
  • Module
  • Built in

This enables support for the driver for FSI bus attached SPI controllers.

CONFIG_SPI_FSL_ESPI Freescale eSPI controller

  • Off
  • Module
  • Built in
Unknown

This enables using the Freescale eSPI controllers in master mode. From MPC8536, 85xx platform uses the controller, and all P10xx, P20xx, P30xx,P40xx, P50xx uses this controller.

CONFIG_SPI_FSL_LPSPI Freescale i.MX LPSPI controller

  • Off
  • Module
  • Built in

This enables Freescale i.MX LPSPI controllers in master mode.

CONFIG_SPI_FSL_QUADSPI Freescale QSPI controller

  • Off
  • Module
  • Built in

This enables support for the Quad SPI controller in master mode. Up to four flash chips can be connected on two buses with two chipselects each. This controller does not support generic SPI messages. It only supports the high-level SPI memory interface.

CONFIG_SPI_FSL_SPI Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller

  • Off
  • Module
  • Built in

This enables using the Freescale SPI controllers in master mode. MPC83xx platform uses the controller in cpu mode or CPM/QE mode. MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. This also enables using the Aeroflex Gaisler GRLIB SPI controller in master mode.

CONFIG_SPI_GXP GXP SPI driver

  • Off
  • Module
  • Built in

This enables support for the driver for GXP bus attached SPI controllers.

CONFIG_SPI_HISI_KUNPENG HiSilicon SPI Controller for Kunpeng SoCs

  • Off
  • Module
  • Built in

This enables support for HiSilicon SPI controller found on Kunpeng SoCs.

This driver can also be built as a module. If so, the module will be called hisi-kunpeng-spi.

CONFIG_SPI_HISI_SFC_V3XX HiSilicon SPI NOR Flash Controller for Hi16XX chipsets

  • Off
  • Module
  • Built in

This enables support for HiSilicon v3xx SPI NOR flash controller found in hi16xx chipsets.

CONFIG_SPI_GPIO GPIO-based bitbanging SPI Master

  • Off
  • Module
  • Built in

This simple GPIO bitbanging SPI master uses the arch-neutral GPIO interface to manage MOSI, MISO, SCK, and chipselect signals. SPI slaves connected to a bus using this driver are configured as usual, except that the spi_board_info.controller_data holds the GPIO number for the chipselect used by this controller driver.

Note that this driver often won't achieve even 1 Mbit/sec speeds, making it unusually slow for SPI. If your platform can inline GPIO operations, you should be able to leverage that for better speed with a custom version of this driver; see the source code.

CONFIG_SPI_IMG_SPFI IMG SPFI controller

  • Off
  • Module
  • Built in

This enables support for the SPFI master controller found on IMG SoCs.

CONFIG_SPI_IMX Freescale i.MX SPI controllers

  • Off
  • Module
  • Built in

This enables support for the Freescale i.MX SPI controllers.

CONFIG_SPI_INGENIC Ingenic SoCs SPI controller

  • Off
  • Module
  • Built in

This enables support for the Ingenic SoCs SPI controller.

To compile this driver as a module, choose M here: the module will be called spi-ingenic.

CONFIG_SPI_INTEL_PCI Intel PCH/PCU SPI flash PCI driver

  • Off
  • Module
  • Built in

This enables PCI support for the Intel PCH/PCU SPI controller in master mode. This controller is used to hold BIOS and other persistent settings. Controllers present in modern Intel hardware only work in hardware sequencing mode, this means that the controller exposes a subset of operations that makes it safer to use. Using this driver it is possible to upgrade BIOS directly from Linux.

To compile this driver as a module, choose M here: the module will be called spi-intel-pci.

CONFIG_SPI_INTEL_PLATFORM Intel PCH/PCU SPI flash platform driver (DANGEROUS)

  • Off
  • Module
  • Built in

This enables platform support for the Intel PCH/PCU SPI controller in master mode that is used to hold BIOS and other persistent settings. Most of these controllers work in software sequencing mode, which means that the controller exposes the low level SPI-NOR opcodes to the software. Using this driver it is possible to upgrade BIOS directly from Linux.

Say N here unless you know what you are doing. Overwriting the SPI flash may render the system unbootable.

To compile this driver as a module, choose M here: the module will be called spi-intel-platform.

CONFIG_SPI_JCORE J-Core SPI Master

  • Off
  • Module
  • Built in

This enables support for the SPI master controller in the J-Core synthesizable, open source SoC.

CONFIG_SPI_LANTIQ_SSC Lantiq SSC SPI controller

  • Off
  • Module
  • Built in

This driver supports the Lantiq SSC SPI controller in master mode. This controller is found on Intel (former Lantiq) SoCs like the Danube, Falcon, xRX200, xRX300, Lightning Mountain.

CONFIG_SPI_LJCA Intel La Jolla Cove Adapter SPI support

  • Off
  • Module
  • Built in

Select this option to enable SPI driver for the Intel La Jolla Cove Adapter (LJCA) board.

This driver can also be built as a module. If so, the module will be called spi-ljca.

CONFIG_SPI_LM70_LLP Parallel port adapter for LM70 eval board (DEVELOPMENT)

  • Off
  • Module
  • Built in

This driver supports the NS LM70 LLP Evaluation Board, which interfaces to an LM70 temperature sensor using a parallel port.

CONFIG_SPI_LOONGSON_PCI Loongson SPI Controller PCI Driver Support

  • Off
  • Module
  • Built in

This bus driver supports the Loongson SPI hardware controller in the Loongson platforms and supports to use PCI framework to register SPI device resources. Say Y or M here if you want to use the SPI controller on Loongson platform.

CONFIG_SPI_LOONGSON_PLATFORM Loongson SPI Controller Platform Driver Support

  • Off
  • Module
  • Built in

This bus driver supports the Loongson SPI hardware controller in the Loongson platforms and supports to use DTS framework to register SPI device resources. Say Y or M here if you want to use the SPI controller on Loongson platform.

CONFIG_SPI_LP8841_RTC ICP DAS LP-8841 SPI Controller for RTC

  • Off
  • Module
  • Built in

This driver provides an SPI master device to drive Maxim DS-1302 real time clock.

Say N here unless you plan to run the kernel on an ICP DAS LP-8x4x industrial computer.

CONFIG_SPI_MA35D1 Nuvoton MA35D1 SPI controller

  • Off
  • Module
  • Built in

This enables support for the SPI controller found in Nuvoton MA35D1 SoCs.

The controller supports standard SPI peripheral devices with configurable clock polarity and phase, chip select, and data word sizes from 8 to 32 bits.

CONFIG_SPI_MA35D1_QSPI Nuvoton MA35D1 QSPI controller

  • Off
  • Module
  • Built in

This enables support for the Quad SPI controller found in Nuvoton MA35D1 SoCs.

The controller supports SPI memory devices such as SPI NOR and SPI NAND flashes in single, dual and quad I/O modes.

CONFIG_SPI_MESON_SPICC Amlogic Meson SPICC controller

  • Off
  • Module
  • Built in

This enables master mode support for the SPICC (SPI communication controller) available in Amlogic Meson SoCs.

CONFIG_SPI_MICROCHIP_CORE_QSPI Microchip FPGA QSPI controllers

  • Off
  • Module
  • Built in

This enables the QSPI driver for Microchip FPGA QSPI controllers. Say Y or M here if you want to use the QSPI controllers on PolarFire SoC. If built as a module, it will be called spi-microchip-core-qspi.

CONFIG_SPI_MICROCHIP_CORE_SPI Microchip FPGA CoreSPI controller

  • Off
  • Module
  • Built in

This enables the SPI driver for Microchip FPGA CoreSPI controller. Say Y or M here if you want to use the "soft" controllers on PolarFire SoC. If built as a module, it will be called spi-microchip-core-spi.

CONFIG_SPI_MPC52xx Freescale MPC52xx SPI (non-PSC) controller support

  • Off
  • Module
  • Built in
Unknown

This drivers supports the MPC52xx SPI controller in master SPI mode.

CONFIG_SPI_MPC52xx_PSC Freescale MPC52xx PSC SPI controller

  • Off
  • Module
  • Built in
Unknown

This enables using the Freescale MPC52xx Programmable Serial Controller in master SPI mode.

CONFIG_SPI_MPC512x_PSC Freescale MPC512x PSC SPI controller

  • Off
  • Module
  • Built in
Unknown

This enables using the Freescale MPC5121 Programmable Serial Controller in SPI master mode.

CONFIG_SPI_MT65XX MediaTek SPI controller

  • Off
  • Module
  • Built in

This selects the MediaTek(R) SPI bus driver. If you want to use MediaTek(R) SPI interface, say Y or M here.If you are not sure, say N. SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.

CONFIG_SPI_MT7621 MediaTek MT7621 SPI Controller

  • Off
  • Module
  • Built in

This selects a driver for the MediaTek MT7621 SPI Controller.

CONFIG_SPI_MTK_NOR MediaTek SPI NOR controller

  • Off
  • Module
  • Built in

This enables support for SPI NOR controller found on MediaTek ARM SoCs. This is a controller specifically for SPI NOR flash. It can perform generic SPI transfers up to 6 bytes via generic SPI interface as well as several SPI NOR specific instructions via SPI MEM interface.

CONFIG_SPI_MTK_SNFI MediaTek SPI NAND Flash Interface

  • Off
  • Module
  • Built in

This enables support for SPI-NAND mode on the MediaTek NAND Flash Interface found on MediaTek ARM SoCs. This controller is implemented as a SPI-MEM controller with pipelined ECC capability.

CONFIG_SPI_WPCM_FIU Nuvoton WPCM450 Flash Interface Unit

  • Off
  • Module
  • Built in

This enables support got the Flash Interface Unit SPI controller present in the Nuvoton WPCM450 SoC.

This driver does not support generic SPI. The implementation only supports the spi-mem interface.

CONFIG_SPI_NPCM_FIU Nuvoton NPCM FLASH Interface Unit

  • Off
  • Module
  • Built in

This enables support for the Flash Interface Unit SPI controller in master mode. This driver does not support generic SPI. The implementation only supports spi-mem interface.

CONFIG_SPI_NPCM_PSPI Nuvoton NPCM PSPI Controller

  • Off
  • Module
  • Built in

This driver provides support for Nuvoton NPCM BMC Peripheral SPI controller in master mode.

CONFIG_SPI_NXP_FLEXSPI NXP Flex SPI controller

  • Off
  • Module
  • Built in

This enables support for the Flex SPI controller in master mode. Up to four slave devices can be connected on two buses with two chipselects each. This controller does not support generic SPI messages and only supports the high-level SPI memory interface.

CONFIG_SPI_NXP_XSPI NXP xSPI controller

  • Off
  • Module
  • Built in

This enables support for the xSPI controller. Up to two devices can be connected to one host. This controller does not support generic SPI messages and only supports the high-level SPI memory interface.

CONFIG_SPI_OCTEON Cavium OCTEON SPI controller

  • Off
  • Module
  • Built in
Unknown

SPI host driver for the hardware found on some Cavium OCTEON SOCs.

CONFIG_SPI_ORION Orion SPI master

  • Off
  • Module
  • Built in

This enables using the SPI master controller on the Orion and MVEBU chips.

CONFIG_SPI_PCI1XXXX PCI1XXXX SPI Bus support

  • Off
  • Module
  • Built in

Say "yes" to Enable the SPI Bus support for the PCI1xxxx card This is a PCI to SPI Bus driver This driver can be built as module. If so, the module will be called as spi-pci1xxxx.

CONFIG_SPI_POLARFIRE_SOC Microchip FPGA SPI controllers

  • Off
  • Module
  • Built in

This enables the SPI driver for Microchip FPGA SPI controllers. Say Y or M here if you want to use the "hard" controllers on PolarFire SoC. If built as a module, it will be called spi-mpfs.

CONFIG_SPI_ROCKCHIP Rockchip SPI controller driver

  • Off
  • Module
  • Built in

This selects a driver for Rockchip SPI controller.

If you say yes to this option, support will be included for RK3066, RK3188 and RK3288 families of SPI controller. Rockchip SPI controller support DMA transport and PIO mode. The main usecase of this controller is to use spi flash as boot device.

CONFIG_SPI_ROCKCHIP_SFC Rockchip Serial Flash Controller (SFC)

  • Off
  • Module
  • Built in

This enables support for Rockchip serial flash controller. This is a specialized controller used to access SPI flash on some Rockchip SOCs.

ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available, the driver automatically falls back to PIO mode.

CONFIG_SPI_RB4XX Mikrotik RB4XX SPI master

  • Off
  • Module
  • Built in

SPI controller driver for the Mikrotik RB4xx series boards.

CONFIG_SPI_RPCIF Renesas RPC-IF SPI driver

  • Off
  • Module
  • Built in

SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF.

CONFIG_SPI_RSPI Renesas RSPI/QSPI controller

  • Off
  • Module
  • Built in

SPI driver for Renesas RSPI and QSPI blocks.

CONFIG_SPI_RTK_NOR Realtek SPI-NOR flash controller

  • Off
  • Module
  • Built in

This enables support for the SPI NOR Flash Controller found on Realtek DHC SoCs. The controller supports single and dual I/O transfers and offloads the payload to an integrated DMA engine. Say Y or M here if you are building a kernel for a Realtek DHC SoC

CONFIG_SPI_RZV2H_RSPI Renesas RZ/V2H RSPI controller

  • Off
  • Module
  • Built in

RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI). RSPI supports both SPI host and SPI target roles. This option only enables the SPI host role.

CONFIG_SPI_RZV2M_CSI Renesas RZ/V2M CSI controller

  • Off
  • Module
  • Built in

SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI). CSI supports both SPI host and SPI target roles.

CONFIG_SPI_QCOM_QSPI QTI QSPI controller

  • Off
  • Module
  • Built in

QSPI(Quad SPI) driver for Qualcomm QSPI controller.

CONFIG_SPI_QPIC_SNAND QPIC SNAND controller

  • Off
  • Module
  • Built in

QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller. QPIC controller supports both parallel nand and serial nand. This config will enable serial nand driver for QPIC controller.

CONFIG_SPI_QUP Qualcomm SPI controller with QUP interface

  • Off
  • Module
  • Built in

Qualcomm Universal Peripheral (QUP) core is an AHB slave that provides a common data path (an output FIFO and an input FIFO) for serial peripheral interface (SPI) mini-core. SPI in master mode supports up to 50MHz, up to four chip selects, programmable data path from 4 bits to 32 bits and numerous protocol variants.

This driver can also be built as a module. If so, the module will be called spi_qup.

CONFIG_SPI_QCOM_GENI Qualcomm GENI based SPI controller

  • Off
  • Module
  • Built in

This driver supports GENI serial engine based SPI controller in master mode on the Qualcomm Technologies Inc.'s SoCs. If you say yes to this option, support will be included for the built-in SPI interface on the Qualcomm Technologies Inc.'s SoCs.

This driver can also be built as a module. If so, the module will be called spi-geni-qcom.

CONFIG_SPI_S3C64XX Samsung S3C64XX/Exynos SoC series type SPI

  • Off
  • Module
  • Built in

SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs. Choose Y/M here only if you build for such Samsung SoC.

CONFIG_SPI_SC18IS602 NXP SC18IS602/602B/603 I2C to SPI bridge

  • Off
  • Module
  • Built in

SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.

CONFIG_SPI_SG2044_NOR SG2044 SPI NOR Controller

  • Off
  • Module
  • Built in

This enables support for the SG2044 SPI NOR controller, which supports Dual/Quad read and write operations while also supporting 3Byte address devices and 4Byte address devices.

CONFIG_SPI_SH_HSPI SuperH HSPI controller

  • Off
  • Module
  • Built in

SPI driver for SuperH HSPI blocks.

CONFIG_SPI_SIFIVE SiFive SPI controller

  • Off
  • Module
  • Built in

This exposes the SPI controller IP from SiFive.

CONFIG_SPI_SN_F_OSPI Socionext F_OSPI SPI flash controller

  • Off
  • Module
  • Built in

This enables support for the Socionext F_OSPI controller for connecting an SPI Flash memory over up to 8-bit wide bus. It supports indirect access mode only.

CONFIG_SPI_STM32 STMicroelectronics STM32 SPI controller

  • Off
  • Module
  • Built in

SPI driver for STMicroelectronics STM32 SoCs.

STM32 SPI controller supports DMA and PIO modes. When DMA is not available, the driver automatically falls back to PIO mode.

CONFIG_SPI_STM32_OSPI STMicroelectronics STM32 OCTO SPI controller

  • Off
  • Module
  • Built in

This enables support for the Octo SPI controller in master mode. This driver does not support generic SPI. The implementation only supports spi-mem interface.

CONFIG_SPI_STM32_QSPI STMicroelectronics STM32 QUAD SPI controller

  • Off
  • Module
  • Built in

This enables support for the Quad SPI controller in master mode. This driver does not support generic SPI. The implementation only supports spi-mem interface.

CONFIG_SPI_ST_SSC4 STMicroelectronics SPI SSC-based driver

  • Off
  • Module
  • Built in

STMicroelectronics SoCs support for SPI. If you say yes to this option, support will be included for the SSC driven SPI.

CONFIG_SPI_SUN4I Allwinner A10 SoCs SPI controller

  • Off
  • Module
  • Built in

SPI driver for Allwinner sun4i, sun5i and sun7i SoCs

CONFIG_SPI_SUN6I Allwinner A31 SPI controller

  • Off
  • Module
  • Built in

This enables using the SPI controller on the Allwinner A31 SoCs.

CONFIG_SPI_SUNPLUS_SP7021 Sunplus SP7021 SPI controller

  • Off
  • Module
  • Built in

This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs. This driver can also be built as a module. If so, the module will be called as spi-sunplus-sp7021.

If you have a Sunplus SP7021 platform say Y here. If unsure, say N.

CONFIG_SPI_SYNQUACER Socionext's SynQuacer HighSpeed SPI controller

  • Off
  • Module
  • Built in

SPI driver for Socionext's High speed SPI controller which provides various operating modes for interfacing to serial peripheral devices that use the de-facto standard SPI protocol.

It also supports the new dual-bit and quad-bit SPI protocol.

CONFIG_SPI_TEGRA210_QUAD NVIDIA Tegra QSPI Controller

  • Off
  • Module
  • Built in

QSPI driver for NVIDIA Tegra QSPI Controller interface. This controller is different from the SPI controller and is available on Tegra SoCs starting from Tegra210.

CONFIG_SPI_TEGRA114 NVIDIA Tegra114 SPI Controller

  • Off
  • Module
  • Built in

SPI controller driver for NVIDIA Tegra114 and later SoCs. This controller is different than the older SoCs SPI controller and also register interface get changed with this controller.

CONFIG_SPI_TEGRA20_SFLASH Nvidia Tegra20 Serial flash Controller

  • Off
  • Module
  • Built in

SPI driver for Nvidia Tegra20 Serial flash Controller interface. The main usecase of this controller is to use spi flash as boot device.

CONFIG_SPI_THUNDERX Cavium ThunderX SPI controller

  • Off
  • Module
  • Built in

SPI host driver for the hardware found on Cavium ThunderX SOCs.

CONFIG_SPI_TI_QSPI DRA7xxx QSPI controller support

  • Off
  • Module
  • Built in

QSPI master controller for DRA7xxx used for flash devices. This device supports single, dual and quad read support, while it only supports single write mode.

CONFIG_SPI_TLE62X0 Infineon TLE62X0 (for power switching)

  • Off
  • Module
  • Built in

SPI driver for Infineon TLE62X0 series line driver chips, such as the TLE6220, TLE6230 and TLE6240. This provides a sysfs interface, with each line presented as a kind of GPIO exposing both switch control and diagnostic feedback.

CONFIG_SPI_TOPCLIFF_PCH Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI

  • Off
  • Module
  • Built in

SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus used in some x86 embedded processors.

This driver also supports the ML7213/ML7223/ML7831, a companion chip for the Atom E6xx series and compatible with the Intel EG20T PCH.

CONFIG_SPI_UNIPHIER Socionext UniPhier SPI Controller

  • Off
  • Module
  • Built in

This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.

UniPhier SoCs have SCSSI and MCSSI SPI controllers. Every UniPhier SoC has SCSSI which supports single channel. Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. This driver supports SCSSI only.

If your SoC supports SCSSI, say Y here.

CONFIG_SPI_VIRTIO Virtio SPI Controller

  • Off
  • Module
  • Built in

If you say yes to this option, support will be included for the virtio SPI controller driver. The hardware can be emulated by any device model software according to the virtio protocol.

This driver can also be built as a module. If so, the module will be called spi-virtio.

CONFIG_SPI_XCOMM Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver

  • Off
  • Module
  • Built in

Support for the SPI-I2C bridge found on the Analog Devices AD-FMCOMMS1-EBZ board.

CONFIG_SPI_XILINX Xilinx SPI controller common module

  • Off
  • Module
  • Built in

This exposes the SPI controller IP from the Xilinx EDK.

See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" Product Specification document (DS464) for hardware details.

Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"

CONFIG_SPI_XLP Cavium ThunderX2 SPI controller driver

  • Off
  • Module
  • Built in

Enable support for the SPI controller on the Cavium ThunderX2. (Originally on Netlogic XLP SoCs.)

If you have a Cavium ThunderX2 platform say Y here. If unsure, say N.

CONFIG_SPI_XTENSA_XTFPGA Xtensa SPI controller for xtfpga

  • Off
  • Module
  • Built in

SPI driver for xtfpga SPI master controller.

This simple SPI master controller is built into xtfpga bitstreams and is used to control daughterboard audio codec. It always transfers 16 bit words in SPI mode 0, automatically asserting CS on transfer start and deasserting on end.

CONFIG_SPI_ZYNQ_QSPI Xilinx Zynq QSPI controller

  • Off
  • Module
  • Built in

This enables support for the Zynq Quad SPI controller in master mode. This controller only supports SPI memory interface.

CONFIG_SPI_ZYNQMP_GQSPI Xilinx ZynqMP GQSPI controller

  • Off
  • Module
  • Built in

Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. This controller only supports SPI memory interface.

SPI Multiplexer support

CONFIG_SPI_MUX SPI multiplexer support

  • Off
  • Module
  • Built in

This adds support for SPI multiplexers. Each SPI mux will be accessible as a SPI controller, the devices behind the mux will appear to be chip selects on this controller. It is still necessary to select one or more specific mux-controller drivers.

SPI Protocol Masters

CONFIG_SPI_SPIDEV User mode SPI device driver support

  • Off
  • Module
  • Built in

This supports user mode SPI protocol drivers.

CONFIG_SPI_DMA_KUNIT_TEST KUnit tests for SPI core DMA mapping

  • Off
  • Module
  • Built in

Build KUnit tests for SPI core DMA mapping. The tests exercise partial TX and RX mapping failures, verify that the mapping state is unwound, and check that the current DMA devices identify the owner of those mappings when the error is returned. They also cover a successful mapping and a message which requires no mapping.

If unsure say N.

CONFIG_SPI_LOOPBACK_TEST spi loopback test framework support

  • Off
  • Module
  • Built in

This enables the SPI loopback testing framework driver

primarily used for development of spi_master drivers and to detect regressions

CONFIG_SPI_SLAVE SPI slave protocol handlers

On

If your system has a slave-capable SPI controller, you can enable slave protocol handlers.

If SPI_SLAVE

CONFIG_SPI_SLAVE_TIME SPI slave handler reporting boot up time

  • Off
  • Module
  • Built in

SPI slave handler responding with the time of reception of the last SPI message.

CONFIG_SPI_SLAVE_SYSTEM_CONTROL SPI slave handler controlling system state

  • Off
  • Module
  • Built in

SPI slave handler to allow remote control of system reboot, power off, halt, and suspend.

CONFIG_SPI_SLAVE_MT27XX MediaTek SPI slave device

  • Off
  • Module
  • Built in

This selects the MediaTek(R) SPI slave device driver. If you want to use MediaTek(R) SPI slave interface, say Y or M here.If you are not sure, say N. SPI slave drivers for Mediatek MT27XX series ARM SoCs.

If SPI_OFFLOAD

SPI Offload triggers

CONFIG_SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD SPI offload trigger using ADI sigma-delta utility

  • Off
  • Module
  • Built in

SPI offload trigger from ADI sigma-delta utility FPGA IP block.

CONFIG_SPI_OFFLOAD_TRIGGER_PWM SPI offload trigger using PWM

  • Off
  • Module
  • Built in

Generic SPI offload trigger implemented using PWM output.