2 # SPI driver configuration
8 The "Serial Peripheral Interface" is a low level synchronous
9 protocol. Chips that support SPI can have data transfer rates
10 up to several tens of Mbit/sec. Chips are addressed with a
11 controller and a chipselect. Most SPI slaves don't support
12 dynamic device discovery; some are even write-only or read-only.
14 SPI is widely used by microcontrollers to talk with sensors,
15 eeprom and flash memory, codecs and various other controller
16 chips, analog to digital (and d-to-a) converters, and more.
17 MMC and SD cards can be accessed using SPI protocol; and for
18 DataFlash cards used in MMC sockets, SPI must always be used.
20 SPI is one of a family of similar protocols using a four wire
21 interface (select, clock, data in, data out) including Microwire
22 (half duplex), SSP, SSI, and PSP. This driver framework should
23 work with most such devices and controllers.
28 bool "Debug support for SPI drivers"
29 depends on DEBUG_KERNEL
31 Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
32 sysfs, and debugfs support in SPI controller and protocol drivers.
35 # MASTER side ... talking to discrete SPI slave chips including microcontrollers
39 # bool "SPI Master Support"
43 If your system has an master-capable SPI controller (which
44 provides the clock and chipselect), you can enable that
45 controller and the protocol drivers for the SPI slave chips
51 bool "SPI memory extension"
53 Enable this option if you want to enable the SPI memory extension.
54 This extension is meant to simplify interaction with SPI memories
55 by providing a high-level interface to send memory-like commands.
57 comment "SPI Master Controller Drivers"
60 tristate "Altera SPI Controller"
62 This is the driver for the Altera SPI Controller.
65 tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
66 depends on ATH79 && GPIOLIB
69 This enables support for the SPI controller present on the
70 Atheros AR71XX/AR724X/AR913X SoCs.
72 config SPI_ARMADA_3700
73 tristate "Marvell Armada 3700 SPI Controller"
74 depends on (ARCH_MVEBU && OF) || COMPILE_TEST
76 This enables support for the SPI controller present on the
77 Marvell Armada 3700 SoCs.
80 tristate "Atmel SPI Controller"
81 depends on ARCH_AT91 || COMPILE_TEST
83 This selects a driver for the Atmel SPI Controller, present on
87 tristate "Atmel USART Controller SPI driver"
88 depends on (ARCH_AT91 || COMPILE_TEST)
89 depends on MFD_AT91_USART
91 This selects a driver for the AT91 USART Controller as SPI Master,
92 present on AT91 and SAMA5 SoC series.
94 config SPI_ATMEL_QUADSPI
95 tristate "Atmel Quad SPI Controller"
96 depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110)
97 depends on OF && HAS_IOMEM
99 This enables support for the Quad SPI controller in master mode.
100 This driver does not support generic SPI. The implementation only
101 supports spi-mem interface.
104 tristate "Au1550/Au1200/Au1300 SPI Controller"
105 depends on MIPS_ALCHEMY
108 If you say yes to this option, support will be included for the
109 PSC SPI controller found on Au1550, Au1200 and Au1300 series.
111 config SPI_AXI_SPI_ENGINE
112 tristate "Analog Devices AXI SPI Engine controller"
115 This enables support for the Analog Devices AXI SPI Engine SPI controller.
116 It is part of the SPI Engine framework that is used in some Analog Devices
117 reference designs for FPGAs.
120 tristate "BCM2835 SPI controller"
122 depends on ARCH_BCM2835 || COMPILE_TEST
124 This selects a driver for the Broadcom BCM2835 SPI master.
126 The BCM2835 contains two types of SPI master controller; the
127 "universal SPI master", and the regular SPI controller. This driver
128 is for the regular SPI controller. Slave mode operation is not also
131 config SPI_BCM2835AUX
132 tristate "BCM2835 SPI auxiliary controller"
133 depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
135 This selects a driver for the Broadcom BCM2835 SPI aux master.
137 The BCM2835 contains two types of SPI master controller; the
138 "universal SPI master", and the regular SPI controller.
139 This driver is for the universal/auxiliary SPI controller.
142 tristate "Broadcom BCM63xx SPI controller"
143 depends on BCM63XX || COMPILE_TEST
145 Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
147 config SPI_BCM63XX_HSSPI
148 tristate "Broadcom BCM63XX HS SPI controller driver"
149 depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST
151 This enables support for the High Speed SPI controller present on
152 newer Broadcom BCM63XX SoCs.
155 tristate "Broadcom BSPI and MSPI controller support"
156 depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
157 BMIPS_GENERIC || COMPILE_TEST
158 default ARCH_BCM_IPROC
160 Enables support for the Broadcom SPI flash and MSPI controller.
161 Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
162 based platforms. This driver works for both SPI master for spi-nor
163 flash device as well as MSPI device.
166 tristate "Utilities for Bitbanging SPI masters"
168 With a few GPIO pins, your system can bitbang the SPI protocol.
169 Select this to get SPI support through I/O pins (GPIO, parallel
170 port, etc). Or, some systems' SPI master controller drivers use
171 this code to manage the per-word or per-transfer accesses to the
172 hardware shift registers.
174 This is library code, and is automatically selected by drivers that
175 need it. You only need to select this explicitly to support driver
176 modules that aren't part of this kernel tree.
179 tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
183 This uses a custom parallel port cable to connect to an AVR
184 Butterfly <http://www.atmel.com/products/avr/butterfly>, an
185 inexpensive battery powered microcontroller evaluation board.
186 This same cable can be used to flash new firmware.
189 tristate "Cadence SPI controller"
191 This selects the Cadence SPI controller master driver
192 used by Xilinx Zynq and ZynqMP.
195 tristate "CLPS711X host SPI controller"
196 depends on ARCH_CLPS711X || COMPILE_TEST
198 This enables dedicated general purpose SPI/Microwire1-compatible
199 master mode interface (SSI1) for CLPS711X-based CPUs.
201 config SPI_COLDFIRE_QSPI
202 tristate "Freescale Coldfire QSPI controller"
203 depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
205 This enables support for the Coldfire QSPI controller in master
209 tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
210 depends on ARCH_DAVINCI || ARCH_KEYSTONE
213 SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
215 config SPI_DESIGNWARE
216 tristate "DesignWare SPI controller core support"
218 general driver for SPI controller core from DesignWare
221 tristate "PCI interface driver for DW SPI core"
222 depends on SPI_DESIGNWARE && PCI
224 config SPI_DW_MID_DMA
225 bool "DMA support for DW SPI controller on Intel MID platform"
226 depends on SPI_DW_PCI && DW_DMAC_PCI
229 tristate "Memory-mapped io interface driver for DW SPI core"
230 depends on SPI_DESIGNWARE
233 tristate "Diolan DLN-2 USB SPI adapter"
236 If you say yes to this option, support will be included for Diolan
237 DLN2, a USB to SPI interface.
239 This driver can also be built as a module. If so, the module
240 will be called spi-dln2.
243 tristate "EFM32 SPI controller"
244 depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
247 Driver for the spi controller found on Energy Micro's EFM32 SoCs.
250 tristate "Cirrus Logic EP93xx SPI controller"
251 depends on ARCH_EP93XX || COMPILE_TEST
253 This enables using the Cirrus EP93xx SPI controller in master
257 bool "Falcon SPI controller support"
258 depends on SOC_FALCON
260 The external bus unit (EBU) found on the FALC-ON SoC has SPI
261 emulation that is designed for serial flash access. This driver
262 has only been tested with m25p80 type chips. The hardware has no
263 support for other types of SPI peripherals.
266 tristate "Freescale i.MX LPSPI controller"
267 depends on ARCH_MXC || COMPILE_TEST
269 This enables Freescale i.MX LPSPI controllers in master mode.
272 tristate "GPIO-based bitbanging SPI Master"
273 depends on GPIOLIB || COMPILE_TEST
276 This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
277 interface to manage MOSI, MISO, SCK, and chipselect signals. SPI
278 slaves connected to a bus using this driver are configured as usual,
279 except that the spi_board_info.controller_data holds the GPIO number
280 for the chipselect used by this controller driver.
282 Note that this driver often won't achieve even 1 Mbit/sec speeds,
283 making it unusually slow for SPI. If your platform can inline
284 GPIO operations, you should be able to leverage that for better
285 speed with a custom version of this driver; see the source code.
288 tristate "IMG SPFI controller"
289 depends on MIPS || COMPILE_TEST
291 This enables support for the SPFI master controller found on
295 tristate "Freescale i.MX SPI controllers"
296 depends on ARCH_MXC || COMPILE_TEST
299 This enables using the Freescale i.MX SPI controllers in master
303 tristate "J-Core SPI Master"
304 depends on OF && (SUPERH || COMPILE_TEST)
306 This enables support for the SPI master controller in the J-Core
307 synthesizable, open source SoC.
310 tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
314 This driver supports the NS LM70 LLP Evaluation Board,
315 which interfaces to an LM70 temperature sensor using
318 config SPI_LP8841_RTC
319 tristate "ICP DAS LP-8841 SPI Controller for RTC"
320 depends on MACH_PXA27X_DT || COMPILE_TEST
322 This driver provides an SPI master device to drive Maxim
323 DS-1302 real time clock.
325 Say N here unless you plan to run the kernel on an ICP DAS
326 LP-8x4x industrial computer.
329 tristate "Freescale MPC52xx SPI (non-PSC) controller support"
330 depends on PPC_MPC52xx
332 This drivers supports the MPC52xx SPI controller in master SPI
335 config SPI_MPC52xx_PSC
336 tristate "Freescale MPC52xx PSC SPI controller"
337 depends on PPC_MPC52xx
339 This enables using the Freescale MPC52xx Programmable Serial
340 Controller in master SPI mode.
342 config SPI_MPC512x_PSC
343 tristate "Freescale MPC512x PSC SPI controller"
344 depends on PPC_MPC512x
346 This enables using the Freescale MPC5121 Programmable Serial
347 Controller in SPI master mode.
358 tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
361 select SPI_FSL_CPM if FSL_SOC
363 This enables using the Freescale SPI controllers in master mode.
364 MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
365 MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
366 This also enables using the Aeroflex Gaisler GRLIB SPI controller in
370 tristate "Freescale DSPI controller"
372 depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
374 This enables support for the Freescale DSPI controller in master
375 mode. VF610 platform uses the controller.
378 tristate "Freescale eSPI controller"
381 This enables using the Freescale eSPI controllers in master mode.
382 From MPC8536, 85xx platform uses the controller, and all P10xx,
383 P20xx, P30xx,P40xx, P50xx uses this controller.
385 config SPI_MESON_SPICC
386 tristate "Amlogic Meson SPICC controller"
387 depends on ARCH_MESON || COMPILE_TEST
389 This enables master mode support for the SPICC (SPI communication
390 controller) available in Amlogic Meson SoCs.
392 config SPI_MESON_SPIFC
393 tristate "Amlogic Meson SPIFC controller"
394 depends on ARCH_MESON || COMPILE_TEST
397 This enables master mode support for the SPIFC (SPI flash
398 controller) available in Amlogic Meson SoCs.
401 tristate "MediaTek SPI controller"
402 depends on ARCH_MEDIATEK || COMPILE_TEST
404 This selects the MediaTek(R) SPI bus driver.
405 If you want to use MediaTek(R) SPI interface,
406 say Y or M here.If you are not sure, say N.
407 SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
410 tristate "Nuvoton NPCM PSPI Controller"
411 depends on ARCH_NPCM || COMPILE_TEST
413 This driver provides support for Nuvoton NPCM BMC
414 Peripheral SPI controller in master mode.
417 tristate "Nuvoton NUC900 series SPI"
418 depends on ARCH_W90X900
421 SPI driver for Nuvoton NUC900 series ARM SoCs
423 config SPI_LANTIQ_SSC
424 tristate "Lantiq SSC SPI controller"
425 depends on LANTIQ || COMPILE_TEST
427 This driver supports the Lantiq SSC SPI controller in master
428 mode. This controller is found on Intel (former Lantiq) SoCs like
429 the Danube, Falcon, xRX200, xRX300.
432 tristate "OpenCores tiny SPI"
433 depends on GPIOLIB || COMPILE_TEST
436 This is the driver for OpenCores tiny SPI master controller.
439 tristate "Cavium OCTEON SPI controller"
440 depends on CAVIUM_OCTEON_SOC
442 SPI host driver for the hardware found on some Cavium OCTEON
445 config SPI_OMAP_UWIRE
446 tristate "OMAP1 MicroWire"
447 depends on ARCH_OMAP1
450 This hooks up to the MicroWire controller on OMAP1 chips.
453 tristate "McSPI driver for OMAP"
454 depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
457 SPI master controller for OMAP24XX and later Multichannel SPI
461 tristate "DRA7xxx QSPI controller support"
462 depends on ARCH_OMAP2PLUS || COMPILE_TEST
464 QSPI master controller for DRA7xxx used for flash devices.
465 This device supports single, dual and quad read support, while
466 it only supports single write mode.
469 tristate "OMAP SPI 100K"
470 depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
472 OMAP SPI 100K master controller for omap7xx boards.
475 tristate "Orion SPI master"
476 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
478 This enables using the SPI master controller on the Orion
482 tristate "Microchip PIC32 series SPI"
483 depends on MACH_PIC32 || COMPILE_TEST
485 SPI driver for Microchip PIC32 SPI master controller.
488 tristate "Microchip PIC32 Quad SPI driver"
489 depends on MACH_PIC32 || COMPILE_TEST
491 SPI driver for PIC32 Quad SPI controller.
494 tristate "ARM AMBA PL022 SSP controller"
496 default y if MACH_U300
497 default y if ARCH_REALVIEW
498 default y if INTEGRATOR_IMPD1
499 default y if ARCH_VERSATILE
501 This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
502 controller. If you have an embedded system with an AMBA(R)
503 bus and a PL022 controller, say Y or M here.
506 tristate "PPC4xx SPI Controller"
507 depends on PPC32 && 4xx
510 This selects a driver for the PPC4xx SPI Controller.
513 tristate "PXA2xx SSP SPI master"
514 depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
515 select PXA_SSP if ARCH_PXA || ARCH_MMP
517 This enables using a PXA2xx or Sodaville SSP port as a SPI master
518 controller. The driver can be configured to use any SSP port and
519 additional documentation can be found a Documentation/spi/pxa2xx.
521 config SPI_PXA2XX_PCI
522 def_tristate SPI_PXA2XX && PCI && COMMON_CLK
525 tristate "Rockchip SPI controller driver"
527 This selects a driver for Rockchip SPI controller.
529 If you say yes to this option, support will be included for
530 RK3066, RK3188 and RK3288 families of SPI controller.
531 Rockchip SPI controller support DMA transport and PIO mode.
532 The main usecase of this controller is to use spi flash as boot
536 tristate "Mikrotik RB4XX SPI master"
537 depends on SPI_MASTER && ATH79
539 SPI controller driver for the Mikrotik RB4xx series boards.
542 tristate "Renesas RSPI/QSPI controller"
543 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
545 SPI driver for Renesas RSPI and QSPI blocks.
548 tristate "QTI QSPI controller"
551 QSPI(Quad SPI) driver for Qualcomm QSPI controller.
554 tristate "Qualcomm SPI controller with QUP interface"
555 depends on ARCH_QCOM || (ARM && COMPILE_TEST)
557 Qualcomm Universal Peripheral (QUP) core is an AHB slave that
558 provides a common data path (an output FIFO and an input FIFO)
559 for serial peripheral interface (SPI) mini-core. SPI in master
560 mode supports up to 50MHz, up to four chip selects, programmable
561 data path from 4 bits to 32 bits and numerous protocol variants.
563 This driver can also be built as a module. If so, the module
564 will be called spi_qup.
567 tristate "Qualcomm GENI based SPI controller"
568 depends on QCOM_GENI_SE
570 This driver supports GENI serial engine based SPI controller in
571 master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
572 yes to this option, support will be included for the built-in SPI
573 interface on the Qualcomm Technologies Inc.'s SoCs.
575 This driver can also be built as a module. If so, the module
576 will be called spi-geni-qcom.
579 tristate "Samsung S3C24XX series SPI"
580 depends on ARCH_S3C24XX
583 SPI driver for Samsung S3C24XX series ARM SoCs
585 config SPI_S3C24XX_FIQ
586 bool "S3C24XX driver with FIQ pseudo-DMA"
587 depends on SPI_S3C24XX
590 Enable FIQ support for the S3C24XX SPI driver to provide pseudo
591 DMA by using the fast-interrupt request framework, This allows
592 the driver to get DMA-like performance when there are either
593 no free DMA channels, or when doing transfers that required both
594 TX and RX data paths.
597 tristate "Samsung S3C64XX series type SPI"
598 depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
600 SPI driver for Samsung S3C64XX and newer SoCs.
603 tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
606 SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
609 tristate "SuperH MSIOF SPI controller"
611 depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
613 SPI driver for SuperH and SH Mobile MSIOF blocks.
616 tristate "SuperH SPI controller"
617 depends on SUPERH || COMPILE_TEST
619 SPI driver for SuperH SPI blocks.
622 tristate "SuperH SCI SPI controller"
626 SPI driver for SuperH SCI blocks.
629 tristate "SuperH HSPI controller"
630 depends on ARCH_RENESAS || COMPILE_TEST
632 SPI driver for SuperH HSPI blocks.
635 tristate "CSR SiRFprimaII SPI controller"
639 SPI driver for CSR SiRFprimaII SoCs
641 config SPI_SLAVE_MT27XX
642 tristate "MediaTek SPI slave device"
643 depends on ARCH_MEDIATEK || COMPILE_TEST
646 This selects the MediaTek(R) SPI slave device driver.
647 If you want to use MediaTek(R) SPI slave interface,
648 say Y or M here.If you are not sure, say N.
649 SPI slave drivers for Mediatek MT27XX series ARM SoCs.
652 tristate "Spreadtrum SPI controller"
653 depends on ARCH_SPRD || COMPILE_TEST
655 SPI driver for Spreadtrum SoCs.
658 tristate "Spreadtrum ADI controller"
659 depends on ARCH_SPRD || COMPILE_TEST
660 depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
662 ADI driver based on SPI for Spreadtrum SoCs.
665 tristate "STMicroelectronics STM32 SPI controller"
666 depends on ARCH_STM32 || COMPILE_TEST
668 SPI driver for STMicroelectonics STM32 SoCs.
670 STM32 SPI controller supports DMA and PIO modes. When DMA
671 is not available, the driver automatically falls back to
674 config SPI_STM32_QSPI
675 tristate "STMicroelectronics STM32 QUAD SPI controller"
676 depends on ARCH_STM32 || COMPILE_TEST
679 This enables support for the Quad SPI controller in master mode.
680 This driver does not support generic SPI. The implementation only
681 supports spi-mem interface.
684 tristate "STMicroelectronics SPI SSC-based driver"
685 depends on ARCH_STI || COMPILE_TEST
687 STMicroelectronics SoCs support for SPI. If you say yes to
688 this option, support will be included for the SSC driven SPI.
691 tristate "Allwinner A10 SoCs SPI controller"
692 depends on ARCH_SUNXI || COMPILE_TEST
694 SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
697 tristate "Allwinner A31 SPI controller"
698 depends on ARCH_SUNXI || COMPILE_TEST
699 depends on RESET_CONTROLLER
701 This enables using the SPI controller on the Allwinner A31 SoCs.
704 tristate "Macronix MX25F0A SPI controller"
705 depends on SPI_MASTER
707 This selects the Macronix MX25F0A SPI controller driver.
710 tristate "Freescale MXS SPI controller"
714 SPI driver for Freescale MXS devices.
717 tristate "NVIDIA Tegra114 SPI Controller"
718 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
719 depends on RESET_CONTROLLER
721 SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
722 is different than the older SoCs SPI controller and also register interface
723 get changed with this controller.
725 config SPI_TEGRA20_SFLASH
726 tristate "Nvidia Tegra20 Serial flash Controller"
727 depends on ARCH_TEGRA || COMPILE_TEST
728 depends on RESET_CONTROLLER
730 SPI driver for Nvidia Tegra20 Serial flash Controller interface.
731 The main usecase of this controller is to use spi flash as boot
734 config SPI_TEGRA20_SLINK
735 tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
736 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
737 depends on RESET_CONTROLLER
739 SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
742 tristate "Cavium ThunderX SPI controller"
743 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
745 SPI host driver for the hardware found on Cavium ThunderX
748 config SPI_TOPCLIFF_PCH
749 tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
750 depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
752 SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
753 used in some x86 embedded processors.
755 This driver also supports the ML7213/ML7223/ML7831, a companion chip
756 for the Atom E6xx series and compatible with the Intel EG20T PCH.
759 tristate "Toshiba TXx9 SPI controller"
760 depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
762 SPI driver for Toshiba TXx9 MIPS SoCs
765 tristate "Socionext UniPhier SPI Controller"
766 depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
768 This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
770 UniPhier SoCs have SCSSI and MCSSI SPI controllers.
771 Every UniPhier SoC has SCSSI which supports single channel.
772 Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
773 This driver supports SCSSI only.
775 If your SoC supports SCSSI, say Y here.
778 tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
781 Support for the SPI-I2C bridge found on the Analog Devices
782 AD-FMCOMMS1-EBZ board.
785 tristate "Xilinx SPI controller common module"
789 This exposes the SPI controller IP from the Xilinx EDK.
791 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
792 Product Specification document (DS464) for hardware details.
794 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
797 tristate "Netlogic XLP SPI controller driver"
798 depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
800 Enable support for the SPI controller on the Netlogic XLP SoCs.
801 Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
804 If you have a Netlogic XLP platform say Y here.
807 config SPI_XTENSA_XTFPGA
808 tristate "Xtensa SPI controller for xtfpga"
809 depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
812 SPI driver for xtfpga SPI master controller.
814 This simple SPI master controller is built into xtfpga bitstreams
815 and is used to control daughterboard audio codec. It always transfers
816 16 bit words in SPI mode 0, automatically asserting CS on transfer
817 start and deasserting on end.
819 config SPI_ZYNQMP_GQSPI
820 tristate "Xilinx ZynqMP GQSPI controller"
821 depends on SPI_MASTER && HAS_DMA
823 Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
826 # Add new SPI master controllers in alphabetical order above this line
830 # There are lots of SPI device types, with sensors and memory
831 # being probably the most widely used ones.
833 comment "SPI Protocol Masters"
836 tristate "User mode SPI device driver support"
838 This supports user mode SPI protocol drivers.
840 Note that this application programming interface is EXPERIMENTAL
841 and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
843 config SPI_LOOPBACK_TEST
844 tristate "spi loopback test framework support"
847 This enables the SPI loopback testing framework driver
849 primarily used for development of spi_master drivers
850 and to detect regressions
853 tristate "Infineon TLE62X0 (for power switching)"
856 SPI driver for Infineon TLE62X0 series line driver chips,
857 such as the TLE6220, TLE6230 and TLE6240. This provides a
858 sysfs interface, with each line presented as a kind of GPIO
859 exposing both switch control and diagnostic feedback.
862 # Add new SPI protocol masters in alphabetical order above this line
868 # SLAVE side ... listening to other SPI masters
872 bool "SPI slave protocol handlers"
874 If your system has a slave-capable SPI controller, you can enable
875 slave protocol handlers.
879 config SPI_SLAVE_TIME
880 tristate "SPI slave handler reporting boot up time"
882 SPI slave handler responding with the time of reception of the last
885 config SPI_SLAVE_SYSTEM_CONTROL
886 tristate "SPI slave handler controlling system state"
888 SPI slave handler to allow remote control of system reboot, power
889 off, halt, and suspend.