xref: /linux/drivers/spi/Kconfig (revision 881d1ee9fe81ff2be1b90809a07621be97404a57)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
28ae12a0dSDavid Brownell#
38ae12a0dSDavid Brownell# SPI driver configuration
48ae12a0dSDavid Brownell#
579d8c7a8SAlessandro Guidomenuconfig SPI
68ae12a0dSDavid Brownell	bool "SPI support"
779d8c7a8SAlessandro Guido	depends on HAS_IOMEM
88ae12a0dSDavid Brownell	help
98ae12a0dSDavid Brownell	  The "Serial Peripheral Interface" is a low level synchronous
108ae12a0dSDavid Brownell	  protocol.  Chips that support SPI can have data transfer rates
118ae12a0dSDavid Brownell	  up to several tens of Mbit/sec.  Chips are addressed with a
128ae12a0dSDavid Brownell	  controller and a chipselect.  Most SPI slaves don't support
138ae12a0dSDavid Brownell	  dynamic device discovery; some are even write-only or read-only.
148ae12a0dSDavid Brownell
153cb2fcccSMatt LaPlante	  SPI is widely used by microcontrollers to talk with sensors,
168ae12a0dSDavid Brownell	  eeprom and flash memory, codecs and various other controller
178ae12a0dSDavid Brownell	  chips, analog to digital (and d-to-a) converters, and more.
188ae12a0dSDavid Brownell	  MMC and SD cards can be accessed using SPI protocol; and for
198ae12a0dSDavid Brownell	  DataFlash cards used in MMC sockets, SPI must always be used.
208ae12a0dSDavid Brownell
218ae12a0dSDavid Brownell	  SPI is one of a family of similar protocols using a four wire
228ae12a0dSDavid Brownell	  interface (select, clock, data in, data out) including Microwire
238ae12a0dSDavid Brownell	  (half duplex), SSP, SSI, and PSP.  This driver framework should
248ae12a0dSDavid Brownell	  work with most such devices and controllers.
258ae12a0dSDavid Brownell
2679d8c7a8SAlessandro Guidoif SPI
2779d8c7a8SAlessandro Guido
288ae12a0dSDavid Brownellconfig SPI_DEBUG
296341e62bSChristoph Jaeger	bool "Debug support for SPI drivers"
3079d8c7a8SAlessandro Guido	depends on DEBUG_KERNEL
318ae12a0dSDavid Brownell	help
328ae12a0dSDavid Brownell	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
338ae12a0dSDavid Brownell	  sysfs, and debugfs support in SPI controller and protocol drivers.
348ae12a0dSDavid Brownell
358ae12a0dSDavid Brownell#
368ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers
378ae12a0dSDavid Brownell#
388ae12a0dSDavid Brownell
398ae12a0dSDavid Brownellconfig SPI_MASTER
406341e62bSChristoph Jaeger#	bool "SPI Master Support"
416341e62bSChristoph Jaeger	bool
428ae12a0dSDavid Brownell	default SPI
438ae12a0dSDavid Brownell	help
448ae12a0dSDavid Brownell	  If your system has an master-capable SPI controller (which
458ae12a0dSDavid Brownell	  provides the clock and chipselect), you can enable that
468ae12a0dSDavid Brownell	  controller and the protocol drivers for the SPI slave chips
478ae12a0dSDavid Brownell	  that are connected.
488ae12a0dSDavid Brownell
496291fe2aSRobert P. J. Dayif SPI_MASTER
506291fe2aSRobert P. J. Day
51c36ff266SBoris Brezillonconfig SPI_MEM
52c36ff266SBoris Brezillon	bool "SPI memory extension"
53c36ff266SBoris Brezillon	help
54c36ff266SBoris Brezillon	  Enable this option if you want to enable the SPI memory extension.
55c36ff266SBoris Brezillon	  This extension is meant to simplify interaction with SPI memories
5629e795caSFabio Estevam	  by providing a high-level interface to send memory-like commands.
57c36ff266SBoris Brezillon
588ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers"
598ae12a0dSDavid Brownell
600b782531SThomas Chouconfig SPI_ALTERA
610b782531SThomas Chou	tristate "Altera SPI Controller"
620b782531SThomas Chou	help
630b782531SThomas Chou	  This is the driver for the Altera SPI Controller.
640b782531SThomas Chou
658efaef4dSGabor Juhosconfig SPI_ATH79
668efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
67b172fd0cSAlban Bedel	depends on ATH79 || COMPILE_TEST
688efaef4dSGabor Juhos	select SPI_BITBANG
698efaef4dSGabor Juhos	help
708efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
718efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
728efaef4dSGabor Juhos
735762ab71SRomain Perierconfig SPI_ARMADA_3700
745762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
755762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
765762ab71SRomain Perier	help
775762ab71SRomain Perier	  This enables support for the SPI controller present on the
785762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
795762ab71SRomain Perier
80754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
81754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
82a687a533SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
831cb84b02SGregory CLEMENT	depends on OF
84754ce4f2SHaavard Skinnemoen	help
85754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
86a687a533SArnd Bergmann	  many AT91 ARM chips.
87754ce4f2SHaavard Skinnemoen
88e1892546SRadu Pireaconfig SPI_AT91_USART
89e1892546SRadu Pirea	tristate "Atmel USART Controller SPI driver"
90e1892546SRadu Pirea	depends on (ARCH_AT91 || COMPILE_TEST)
91e1892546SRadu Pirea	depends on MFD_AT91_USART
92e1892546SRadu Pirea	help
93e1892546SRadu Pirea	  This selects a driver for the AT91 USART Controller as SPI Master,
94e1892546SRadu Pirea	  present on AT91 and SAMA5 SoC series.
95e1892546SRadu Pirea
960e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI
970e6aae08SPiotr Bugalski	tristate "Atmel Quad SPI Controller"
982a9d92fbSArnd Bergmann	depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110)
990e6aae08SPiotr Bugalski	depends on OF && HAS_IOMEM
1000e6aae08SPiotr Bugalski	help
1010e6aae08SPiotr Bugalski	  This enables support for the Quad SPI controller in master mode.
1020e6aae08SPiotr Bugalski	  This driver does not support generic SPI. The implementation only
1030e6aae08SPiotr Bugalski	  supports spi-mem interface.
1040e6aae08SPiotr Bugalski
105e32bb870SMark Brownconfig SPI_AU1550
106e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
107e32bb870SMark Brown	depends on MIPS_ALCHEMY
108e32bb870SMark Brown	select SPI_BITBANG
109e32bb870SMark Brown	help
110e32bb870SMark Brown	  If you say yes to this option, support will be included for the
111e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
112e32bb870SMark Brown
113b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
114b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
115b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
116b1353d1cSLars-Peter Clausen	help
117b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
118b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
119b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
120b1353d1cSLars-Peter Clausen
121f8043872SChris Bootconfig SPI_BCM2835
122f8043872SChris Boot	tristate "BCM2835 SPI controller"
123e0d58cdcSYoshinori Sato	depends on GPIOLIB
12435ceb675SFlorian Fainelli	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
125f8043872SChris Boot	help
126f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
127f8043872SChris Boot
128f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
129f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
130f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
131f8043872SChris Boot	  not supported.
132f8043872SChris Boot
1331ea29b39SMartin Sperlconfig SPI_BCM2835AUX
1341ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
13535ceb675SFlorian Fainelli	depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
1361ea29b39SMartin Sperl	help
1371ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
1381ea29b39SMartin Sperl
1391ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
1401ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1411ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1421ea29b39SMartin Sperl
143b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
144b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
14544d8fb30SJonas Gorski	depends on BCM63XX || COMPILE_TEST
146b42dfed8SFlorian Fainelli	help
147b42dfed8SFlorian Fainelli	  Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
148b42dfed8SFlorian Fainelli
149142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
150142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
15179a15f49SFlorian Fainelli	depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST
152142168ebSJonas Gorski	help
153142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
154142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
155142168ebSJonas Gorski
156fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
157fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
158279e4af7SJaedon Shin	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
159279e4af7SJaedon Shin			BMIPS_GENERIC || COMPILE_TEST
160fa236a7eSKamal Dasu	default ARCH_BCM_IPROC
161fa236a7eSKamal Dasu	help
162fa236a7eSKamal Dasu	  Enables support for the Broadcom SPI flash and MSPI controller.
163fa236a7eSKamal Dasu	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
164fa236a7eSKamal Dasu	  based platforms. This driver works for both SPI master for spi-nor
165fa236a7eSKamal Dasu	  flash device as well as MSPI device.
166fa236a7eSKamal Dasu
1679904f22aSDavid Brownellconfig SPI_BITBANG
168d29389deSDavid Brownell	tristate "Utilities for Bitbanging SPI masters"
1699904f22aSDavid Brownell	help
1709904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
1719904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
1729904f22aSDavid Brownell	  port, etc).  Or, some systems' SPI master controller drivers use
1739904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
1749904f22aSDavid Brownell	  hardware shift registers.
1759904f22aSDavid Brownell
1769904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
1779904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
1789904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
1798ae12a0dSDavid Brownell
1807111763dSDavid Brownellconfig SPI_BUTTERFLY
1817111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
1826291fe2aSRobert P. J. Day	depends on PARPORT
1837111763dSDavid Brownell	select SPI_BITBANG
1847111763dSDavid Brownell	help
1857111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
1867111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
1877111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
1887111763dSDavid Brownell	  This same cable can be used to flash new firmware.
1897111763dSDavid Brownell
190c474b386SHarini Katakamconfig SPI_CADENCE
191c474b386SHarini Katakam	tristate "Cadence SPI controller"
192c474b386SHarini Katakam	help
193c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
19438b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
195c474b386SHarini Katakam
196161b96c3SAlexander Shiyanconfig SPI_CLPS711X
197161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
1985634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
199161b96c3SAlexander Shiyan	help
200161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
201161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
202161b96c3SAlexander Shiyan
20334b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
20434b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
205bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
20634b8c661SSteven King	help
20734b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
20834b8c661SSteven King	  mode.
20934b8c661SSteven King
210358934a6SSandeep Paulrajconfig SPI_DAVINCI
21123ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
21278848914SSantosh Shilimkar	depends on ARCH_DAVINCI || ARCH_KEYSTONE
213358934a6SSandeep Paulraj	select SPI_BITBANG
214358934a6SSandeep Paulraj	help
21523ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
21623ce17adSSekhar Nori
217e32bb870SMark Brownconfig SPI_DESIGNWARE
218e32bb870SMark Brown	tristate "DesignWare SPI controller core support"
219e32bb870SMark Brown	help
220e32bb870SMark Brown	  general driver for SPI controller core from DesignWare
221e32bb870SMark Brown
222e32bb870SMark Brownconfig SPI_DW_PCI
223e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
224e32bb870SMark Brown	depends on SPI_DESIGNWARE && PCI
225e32bb870SMark Brown
226e32bb870SMark Brownconfig SPI_DW_MID_DMA
227e32bb870SMark Brown	bool "DMA support for DW SPI controller on Intel MID platform"
228e32bb870SMark Brown	depends on SPI_DW_PCI && DW_DMAC_PCI
229e32bb870SMark Brown
230e32bb870SMark Brownconfig SPI_DW_MMIO
231e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
232e32bb870SMark Brown	depends on SPI_DESIGNWARE
233e32bb870SMark Brown
2343d8c0d74SLaurentiu Palcuconfig SPI_DLN2
2353d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
2363d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
2373d8c0d74SLaurentiu Palcu       help
2383d8c0d74SLaurentiu Palcu	 If you say yes to this option, support will be included for Diolan
2393d8c0d74SLaurentiu Palcu	 DLN2, a USB to SPI interface.
2403d8c0d74SLaurentiu Palcu
2413d8c0d74SLaurentiu Palcu	 This driver can also be built as a module.  If so, the module
2423d8c0d74SLaurentiu Palcu	 will be called spi-dln2.
2433d8c0d74SLaurentiu Palcu
24486f8973cSUwe Kleine-Königconfig SPI_EFM32
24586f8973cSUwe Kleine-König	tristate "EFM32 SPI controller"
24686f8973cSUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
24786f8973cSUwe Kleine-König	select SPI_BITBANG
24886f8973cSUwe Kleine-König	help
24986f8973cSUwe Kleine-König	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.
25086f8973cSUwe Kleine-König
251011f23a3SMika Westerbergconfig SPI_EP93XX
252011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
253dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
254011f23a3SMika Westerberg	help
255011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
256011f23a3SMika Westerberg	  mode.
257011f23a3SMika Westerberg
2586cd3c7e2SThomas Langerconfig SPI_FALCON
2599c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
2606cd3c7e2SThomas Langer	depends on SOC_FALCON
2616cd3c7e2SThomas Langer	help
2626cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
2636cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
2646cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
2656cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
2666cd3c7e2SThomas Langer
2675314987dSGao Panconfig SPI_FSL_LPSPI
2685314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
2695314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
2705314987dSGao Pan	help
2715314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
2725314987dSGao Pan
27384d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI
27484d04318SFrieder Schrempf	tristate "Freescale QSPI controller"
27584d04318SFrieder Schrempf	depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
27684d04318SFrieder Schrempf	depends on HAS_IOMEM
27784d04318SFrieder Schrempf	help
27884d04318SFrieder Schrempf	  This enables support for the Quad SPI controller in master mode.
27984d04318SFrieder Schrempf	  Up to four flash chips can be connected on two buses with two
28084d04318SFrieder Schrempf	  chipselects each.
28184d04318SFrieder Schrempf	  This controller does not support generic SPI messages. It only
28284d04318SFrieder Schrempf	  supports the high-level SPI memory interface.
28384d04318SFrieder Schrempf
284a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX
285a2ca53b5SJohn Garry	tristate "HiSilicon SPI-NOR Flash Controller for Hi16XX chipsets"
286a2ca53b5SJohn Garry	depends on (ARM64 && ACPI) || COMPILE_TEST
287a2ca53b5SJohn Garry	depends on HAS_IOMEM
288a2ca53b5SJohn Garry	select CONFIG_MTD_SPI_NOR
289a2ca53b5SJohn Garry	help
290a2ca53b5SJohn Garry	  This enables support for HiSilicon v3xx SPI-NOR flash controller
291a2ca53b5SJohn Garry	  found in hi16xx chipsets.
292a2ca53b5SJohn Garry
293a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI
294a5356aefSYogesh Narayan Gaur	tristate "NXP Flex SPI controller"
295a5356aefSYogesh Narayan Gaur	depends on ARCH_LAYERSCAPE || HAS_IOMEM
296a5356aefSYogesh Narayan Gaur	help
297a5356aefSYogesh Narayan Gaur	  This enables support for the Flex SPI controller in master mode.
298a5356aefSYogesh Narayan Gaur	  Up to four slave devices can be connected on two buses with two
299a5356aefSYogesh Narayan Gaur	  chipselects each.
300a5356aefSYogesh Narayan Gaur	  This controller does not support generic SPI messages and only
301a5356aefSYogesh Narayan Gaur	  supports the high-level SPI memory interface.
302a5356aefSYogesh Narayan Gaur
303d29389deSDavid Brownellconfig SPI_GPIO
304d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
3055c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
306d29389deSDavid Brownell	select SPI_BITBANG
307d29389deSDavid Brownell	help
308d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
309d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
310d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
311d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
312d29389deSDavid Brownell	  for the chipselect used by this controller driver.
313d29389deSDavid Brownell
314d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
315d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
316d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
317d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
318d29389deSDavid Brownell
319deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
320deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
321deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
322deba2580SAndrew Bresticker	help
323deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
324deba2580SAndrew Bresticker	  IMG SoCs.
325deba2580SAndrew Bresticker
326b5f3294fSSascha Hauerconfig SPI_IMX
327b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
328dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
329b5f3294fSSascha Hauer	select SPI_BITBANG
330b5f3294fSSascha Hauer	help
3312e236bafSFabio Estevam	  This enables support for the Freescale i.MX SPI controllers.
332b5f3294fSSascha Hauer
3332cb1b3b3SRich Felkerconfig SPI_JCORE
3342cb1b3b3SRich Felker	tristate "J-Core SPI Master"
3352cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
3362cb1b3b3SRich Felker	help
3372cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
3382cb1b3b3SRich Felker	  synthesizable, open source SoC.
3392cb1b3b3SRich Felker
34078961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
34178961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
3426d1f56aaSKees Cook	depends on PARPORT
34378961a57SKaiwan N Billimoria	select SPI_BITBANG
34478961a57SKaiwan N Billimoria	help
34578961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
34678961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
34778961a57SKaiwan N Billimoria	  a parallel port.
34878961a57SKaiwan N Billimoria
3497ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
3507ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
3517ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
3527ecbfff6SSergei Ianovich	help
3537ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
3547ecbfff6SSergei Ianovich	  DS-1302 real time clock.
3557ecbfff6SSergei Ianovich
3567ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
3577ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
3587ecbfff6SSergei Ianovich
35942bbb709SGrant Likelyconfig SPI_MPC52xx
36042bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
3617433f2b7SPaul Bolle	depends on PPC_MPC52xx
36242bbb709SGrant Likely	help
36342bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
36442bbb709SGrant Likely	  mode.
36542bbb709SGrant Likely
36600b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
36700b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
3686d1f56aaSKees Cook	depends on PPC_MPC52xx
36900b8fd23SDragos Carp	help
37000b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
37100b8fd23SDragos Carp	  Controller in master SPI mode.
37200b8fd23SDragos Carp
3736e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
3746e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
3755e8afa34SUwe Kleine-König	depends on PPC_MPC512x
3766e27388fSAnatolij Gustschin	help
3776e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
3786e27388fSAnatolij Gustschin	  Controller in SPI master mode.
3796e27388fSAnatolij Gustschin
380b36ece83SMingkai Huconfig SPI_FSL_LIB
381b36ece83SMingkai Hu	tristate
382e8beacbbSAndreas Larsson	depends on OF
383e8beacbbSAndreas Larsson
384e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
385e8beacbbSAndreas Larsson	tristate
386b36ece83SMingkai Hu	depends on FSL_SOC
387b36ece83SMingkai Hu
3883272029fSMingkai Huconfig SPI_FSL_SPI
38938455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
390e8beacbbSAndreas Larsson	depends on OF
391b36ece83SMingkai Hu	select SPI_FSL_LIB
392e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
393ccf06998SKumar Gala	help
3943272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
3953272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
3963272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
397447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
398447b0c7bSAndreas Larsson	  master mode.
399ccf06998SKumar Gala
400349ad66cSChao Fuconfig SPI_FSL_DSPI
401349ad66cSChao Fu	tristate "Freescale DSPI controller"
4021acbdeb9SChao Fu	select REGMAP_MMIO
403ec7ed770SAngelo Dureghello	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
404349ad66cSChao Fu	help
405349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
4060dcdcd0eSAngelo Dureghello	  mode. VF610, LS1021A and ColdFire platforms uses the controller.
407349ad66cSChao Fu
4088b60d6c2SMingkai Huconfig SPI_FSL_ESPI
40938455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
4108b60d6c2SMingkai Hu	depends on FSL_SOC
4118b60d6c2SMingkai Hu	help
4128b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
4138b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
4148b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
4158b60d6c2SMingkai Hu
416454fa271SNeil Armstrongconfig SPI_MESON_SPICC
417454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
418454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
419454fa271SNeil Armstrong	help
420454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
421454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
422454fa271SNeil Armstrong
423c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
424c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
425c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
4261327ecd4SBeniamino Galvani	select REGMAP_MMIO
427c3e4bc54SBeniamino Galvani	help
428c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
429c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
430c3e4bc54SBeniamino Galvani
431a568231fSLeilk Liuconfig SPI_MT65XX
432a568231fSLeilk Liu	tristate "MediaTek SPI controller"
433a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
434a568231fSLeilk Liu	help
435a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
436a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
437a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
438a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
439a568231fSLeilk Liu
440cbd66c62SStefan Roeseconfig SPI_MT7621
441cbd66c62SStefan Roese	tristate "MediaTek MT7621 SPI Controller"
442cbd66c62SStefan Roese	depends on RALINK || COMPILE_TEST
443cbd66c62SStefan Roese	help
444cbd66c62SStefan Roese	  This selects a driver for the MediaTek MT7621 SPI Controller.
445cbd66c62SStefan Roese
446*881d1ee9SChuanhong Guoconfig SPI_MTK_NOR
447*881d1ee9SChuanhong Guo	tristate "MediaTek SPI NOR controller"
448*881d1ee9SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
449*881d1ee9SChuanhong Guo	help
450*881d1ee9SChuanhong Guo	  This enables support for SPI NOR controller found on MediaTek
451*881d1ee9SChuanhong Guo	  ARM SoCs. This is a controller specifically for SPI-NOR flash.
452*881d1ee9SChuanhong Guo	  It can perform generic SPI transfers up to 6 bytes via generic
453*881d1ee9SChuanhong Guo	  SPI interface as well as several SPI-NOR specific instructions
454*881d1ee9SChuanhong Guo	  via SPI MEM interface.
455*881d1ee9SChuanhong Guo
456ace55c41STomer Maimonconfig SPI_NPCM_FIU
457ace55c41STomer Maimon	tristate "Nuvoton NPCM FLASH Interface Unit"
458ace55c41STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
459ace55c41STomer Maimon	depends on OF && HAS_IOMEM
460ace55c41STomer Maimon	help
461ace55c41STomer Maimon	  This enables support for the Flash Interface Unit SPI controller
462ace55c41STomer Maimon	  in master mode.
463ace55c41STomer Maimon	  This driver does not support generic SPI. The implementation only
464ace55c41STomer Maimon	  supports spi-mem interface.
465ace55c41STomer Maimon
4662a22f1b3STomer Maimonconfig SPI_NPCM_PSPI
4672a22f1b3STomer Maimon	tristate "Nuvoton NPCM PSPI Controller"
4682a22f1b3STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
4692a22f1b3STomer Maimon	help
4702a22f1b3STomer Maimon	  This driver provides support for Nuvoton NPCM BMC
4712a22f1b3STomer Maimon	  Peripheral SPI controller in master mode.
4722a22f1b3STomer Maimon
47317f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
47417f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
475582c97f6SHauke Mehrtens	depends on LANTIQ || COMPILE_TEST
47617f84b79SHauke Mehrtens	help
47717f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
47817f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
47917f84b79SHauke Mehrtens	  the Danube, Falcon, xRX200, xRX300.
48017f84b79SHauke Mehrtens
481ce792580SThomas Chouconfig SPI_OC_TINY
482ce792580SThomas Chou	tristate "OpenCores tiny SPI"
4835c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
484ce792580SThomas Chou	select SPI_BITBANG
485ce792580SThomas Chou	help
486ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
487ce792580SThomas Chou
4886b52c00fSDavid Daneyconfig SPI_OCTEON
4896b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
4909ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
4916b52c00fSDavid Daney	help
4926b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
4936b52c00fSDavid Daney	  SOCs.
4946b52c00fSDavid Daney
495fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
496fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
4976291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
498fdb3c18dSDavid Brownell	select SPI_BITBANG
499fdb3c18dSDavid Brownell	help
500fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
501fdb3c18dSDavid Brownell
502ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
5038ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
50481df42d1SVignesh R	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
5052b32e987SFranklin S Cooper Jr	select SG_SPLIT
506ccdc7bf9SSamuel Ortiz	help
5078ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
508ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
50969c202afSAndrea Paterniani
510505a1495SSourav Poddarconfig SPI_TI_QSPI
511505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
512505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
513505a1495SSourav Poddar	help
514505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
515505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
516505a1495SSourav Poddar	  it only supports single write mode.
517505a1495SSourav Poddar
51835c9049bSCory Maccarroneconfig SPI_OMAP_100K
51935c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
520dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
52135c9049bSCory Maccarrone	help
52235c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
52335c9049bSCory Maccarrone
52460cadec9SShadi Ammouriconfig SPI_ORION
5256d1f56aaSKees Cook	tristate "Orion SPI master"
526710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
52760cadec9SShadi Ammouri	help
52873482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
52973482910SUwe Kleine-König	  and MVEBU chips.
53060cadec9SShadi Ammouri
5311bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
5321bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
5331bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
5341bcb9f8cSPurna Chandra Mandal	help
5351bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
5361bcb9f8cSPurna Chandra Mandal
5373270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
5383270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
5393270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
5403270ac23SPurna Chandra Mandal	help
5413270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
5423270ac23SPurna Chandra Mandal
543b43d65f7SLinus Walleijconfig SPI_PL022
5447f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
5457f9a4b97SLinus Walleij	depends on ARM_AMBA
546b43d65f7SLinus Walleij	default y if MACH_U300
547f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
548f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
549f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
550b43d65f7SLinus Walleij	help
551b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
552b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
553b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
554b43d65f7SLinus Walleij
55544dab88eSSteven A. Falcoconfig SPI_PPC4xx
55644dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
5575e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
55844dab88eSSteven A. Falco	select SPI_BITBANG
55944dab88eSSteven A. Falco	help
56044dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
56144dab88eSSteven A. Falco
562e0c9905eSStephen Streetconfig SPI_PXA2XX
563e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
564128345b1SArnd Bergmann	depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
565128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
566e0c9905eSStephen Street	help
567d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
568d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
5699cdd273eSMauro Carvalho Chehab	  additional documentation can be found a Documentation/spi/pxa2xx.rst.
570d6ea3df0SSebastian Andrzej Siewior
571d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
572afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
573e0c9905eSStephen Street
57464e36824Saddy keconfig SPI_ROCKCHIP
57564e36824Saddy ke	tristate "Rockchip SPI controller driver"
57664e36824Saddy ke	help
57764e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
57864e36824Saddy ke
57964e36824Saddy ke	  If you say yes to this option, support will be included for
58064e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
58164e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
58264e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
58364e36824Saddy ke	  device.
58464e36824Saddy ke
58505aec357SBert Vermeulenconfig SPI_RB4XX
58605aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
58705aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
58805aec357SBert Vermeulen	help
58905aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
59005aec357SBert Vermeulen
5910b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
592e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
5933aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
5940b2182ddSShimoda, Yoshihiro	help
595e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
5960b2182ddSShimoda, Yoshihiro
59704000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI
59804000dc6SGirish Mahadevan	tristate "QTI QSPI controller"
59904000dc6SGirish Mahadevan	depends on ARCH_QCOM
60004000dc6SGirish Mahadevan	help
60104000dc6SGirish Mahadevan	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.
60204000dc6SGirish Mahadevan
60364ff247aSIvan T. Ivanovconfig SPI_QUP
60464ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
605058f11c8SPaul Bolle	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
60664ff247aSIvan T. Ivanov	help
60764ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
60864ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
60964ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
61064ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
61164ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
61264ff247aSIvan T. Ivanov
61364ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
61464ff247aSIvan T. Ivanov	  will be called spi_qup.
6158ae12a0dSDavid Brownell
616561de45fSGirish Mahadevanconfig SPI_QCOM_GENI
617561de45fSGirish Mahadevan	tristate "Qualcomm GENI based SPI controller"
618561de45fSGirish Mahadevan	depends on QCOM_GENI_SE
619561de45fSGirish Mahadevan	help
620561de45fSGirish Mahadevan	  This driver supports GENI serial engine based SPI controller in
621561de45fSGirish Mahadevan	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
622561de45fSGirish Mahadevan	  yes to this option, support will be included for the built-in SPI
623561de45fSGirish Mahadevan	  interface on the Qualcomm Technologies Inc.'s SoCs.
624561de45fSGirish Mahadevan
625561de45fSGirish Mahadevan	  This driver can also be built as a module.  If so, the module
626561de45fSGirish Mahadevan	  will be called spi-geni-qcom.
627561de45fSGirish Mahadevan
62885abfaa7SDavid Brownellconfig SPI_S3C24XX
62985abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
6306d1f56aaSKees Cook	depends on ARCH_S3C24XX
631da0abc27SDavid Brownell	select SPI_BITBANG
63285abfaa7SDavid Brownell	help
63385abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
63485abfaa7SDavid Brownell
635bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
636bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
637bec0806cSBen Dooks	depends on SPI_S3C24XX
638bec0806cSBen Dooks	select FIQ
639bec0806cSBen Dooks	help
640bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
641bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
642bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
643bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
644bec0806cSBen Dooks	  TX and RX data paths.
645bec0806cSBen Dooks
646230d42d4SJassi Brarconfig SPI_S3C64XX
647230d42d4SJassi Brar	tristate "Samsung S3C64XX series type SPI"
648b099b131SJavier Martinez Canillas	depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
649230d42d4SJassi Brar	help
650230d42d4SJassi Brar	  SPI driver for Samsung S3C64XX and newer SoCs.
651230d42d4SJassi Brar
6523ce8859eSGuenter Roeckconfig SPI_SC18IS602
6533ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
6543ce8859eSGuenter Roeck	depends on I2C
6553ce8859eSGuenter Roeck	help
6563ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
6573ce8859eSGuenter Roeck
6588051effcSMagnus Dammconfig SPI_SH_MSIOF
6598051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
660e5b43ed2SGeert Uytterhoeven	depends on HAVE_CLK
6616ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
6628051effcSMagnus Damm	help
663746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
6648051effcSMagnus Damm
6655c05dd07SYoshihiro Shimodaconfig SPI_SH
6665c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
667dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
6685c05dd07SYoshihiro Shimoda	help
6695c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
6705c05dd07SYoshihiro Shimoda
67137e46640SMagnus Dammconfig SPI_SH_SCI
67237e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
6736291fe2aSRobert P. J. Day	depends on SUPERH
67437e46640SMagnus Damm	select SPI_BITBANG
67537e46640SMagnus Damm	help
67637e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
67737e46640SMagnus Damm
678d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
679d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
6803aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
681d1c8bbd7SKuninori Morimoto	help
682d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
683d1c8bbd7SKuninori Morimoto
684484a9a68SYash Shahconfig SPI_SIFIVE
685484a9a68SYash Shah	tristate "SiFive SPI controller"
686484a9a68SYash Shah	depends on HAS_IOMEM
687484a9a68SYash Shah	help
688484a9a68SYash Shah	  This exposes the SPI controller IP from SiFive.
689484a9a68SYash Shah
6901cc2df9dSZhiwu Songconfig SPI_SIRF
6911cc2df9dSZhiwu Song	tristate "CSR SiRFprimaII SPI controller"
6927668c294SMark Brown	depends on SIRF_DMA
6931cc2df9dSZhiwu Song	select SPI_BITBANG
6941cc2df9dSZhiwu Song	help
6951cc2df9dSZhiwu Song	  SPI driver for CSR SiRFprimaII SoCs
6961cc2df9dSZhiwu Song
697805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX
698805be7ddSLeilk Liu	tristate "MediaTek SPI slave device"
699805be7ddSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
700805be7ddSLeilk Liu	depends on SPI_SLAVE
701805be7ddSLeilk Liu	help
702805be7ddSLeilk Liu	  This selects the MediaTek(R) SPI slave device driver.
703805be7ddSLeilk Liu	  If you want to use MediaTek(R) SPI slave interface,
704805be7ddSLeilk Liu	  say Y or M here.If you are not sure, say N.
705805be7ddSLeilk Liu	  SPI slave drivers for Mediatek MT27XX series ARM SoCs.
706805be7ddSLeilk Liu
707e7d973a3SLanqing Liuconfig SPI_SPRD
708e7d973a3SLanqing Liu	tristate "Spreadtrum SPI controller"
709e7d973a3SLanqing Liu	depends on ARCH_SPRD || COMPILE_TEST
710e7d973a3SLanqing Liu	help
711e7d973a3SLanqing Liu	  SPI driver for Spreadtrum SoCs.
712e7d973a3SLanqing Liu
7137e2903cbSBaolin Wangconfig SPI_SPRD_ADI
7147e2903cbSBaolin Wang	tristate "Spreadtrum ADI controller"
7157e2903cbSBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
716e83f3742SArnd Bergmann	depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
7177e2903cbSBaolin Wang	help
7187e2903cbSBaolin Wang	  ADI driver based on SPI for Spreadtrum SoCs.
7197e2903cbSBaolin Wang
720dcbe0d84SAmelie Delaunayconfig SPI_STM32
721dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
722dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
723dcbe0d84SAmelie Delaunay	help
724bb35c9f9SCezary Gapinski	  SPI driver for STMicroelectronics STM32 SoCs.
725dcbe0d84SAmelie Delaunay
726dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
727dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
728dcbe0d84SAmelie Delaunay	  PIO mode.
729dcbe0d84SAmelie Delaunay
730c530cd1dSLudovic Barreconfig SPI_STM32_QSPI
731c530cd1dSLudovic Barre	tristate "STMicroelectronics STM32 QUAD SPI controller"
732c530cd1dSLudovic Barre	depends on ARCH_STM32 || COMPILE_TEST
733c530cd1dSLudovic Barre	depends on OF
734c530cd1dSLudovic Barre	help
735c530cd1dSLudovic Barre	  This enables support for the Quad SPI controller in master mode.
736c530cd1dSLudovic Barre	  This driver does not support generic SPI. The implementation only
737c530cd1dSLudovic Barre	  supports spi-mem interface.
738c530cd1dSLudovic Barre
7399e862375SLee Jonesconfig SPI_ST_SSC4
7409e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
74183fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
7429e862375SLee Jones	help
7439e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
7449e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
7459e862375SLee Jones
746b5f65179SMaxime Ripardconfig SPI_SUN4I
747b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
748b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
749b5f65179SMaxime Ripard	help
750b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
751b5f65179SMaxime Ripard
7523558fe90SMaxime Ripardconfig SPI_SUN6I
7533558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
7543558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
7557961656aSMark Brown	depends on RESET_CONTROLLER
7563558fe90SMaxime Ripard	help
7573558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
7583558fe90SMaxime Ripard
759b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER
760b0823ee3SMasahisa Kojima	tristate "Socionext's SynQuacer HighSpeed SPI controller"
761b0823ee3SMasahisa Kojima	depends on ARCH_SYNQUACER || COMPILE_TEST
762b0823ee3SMasahisa Kojima	help
763b0823ee3SMasahisa Kojima	  SPI driver for Socionext's High speed SPI controller which provides
764b0823ee3SMasahisa Kojima	  various operating modes for interfacing to serial peripheral devices
765b0823ee3SMasahisa Kojima	  that use the de-facto standard SPI protocol.
766b0823ee3SMasahisa Kojima
767b0823ee3SMasahisa Kojima	  It also supports the new dual-bit and quad-bit SPI protocol.
768b0823ee3SMasahisa Kojima
769b942d80bSMason Yangconfig SPI_MXIC
770b942d80bSMason Yang	tristate "Macronix MX25F0A SPI controller"
771b942d80bSMason Yang	depends on SPI_MASTER
772b942d80bSMason Yang	help
773b942d80bSMason Yang	  This selects the Macronix MX25F0A SPI controller driver.
774b942d80bSMason Yang
775646781d3SMarek Vasutconfig SPI_MXS
776646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
777646781d3SMarek Vasut	depends on ARCH_MXS
778646781d3SMarek Vasut	select STMP_DEVICE
779646781d3SMarek Vasut	help
780646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
781646781d3SMarek Vasut
782f333a331SLaxman Dewanganconfig SPI_TEGRA114
783f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
784dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
785e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
786f333a331SLaxman Dewangan	help
787f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
788f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
789f333a331SLaxman Dewangan	  get changed with this controller.
790f333a331SLaxman Dewangan
7918528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
7928528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
793dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
794ff2251e3SStephen Warren	depends on RESET_CONTROLLER
7958528547bSLaxman Dewangan	help
7968528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
7978528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
7988528547bSLaxman Dewangan	  device.
7998528547bSLaxman Dewangan
800dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
801dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
802dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
803e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
804dc4dc360SLaxman Dewangan	help
805dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
806dc4dc360SLaxman Dewangan
8077347a6c7SJan Glauberconfig SPI_THUNDERX
8087347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
8097347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
8107347a6c7SJan Glauber	help
8117347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
8127347a6c7SJan Glauber	  SOCs.
8137347a6c7SJan Glauber
814e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
81592b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
816f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
817e8b17b5bSMasayuki Ohtake	help
818cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
819cdbc8f04SGrant Likely	  used in some x86 embedded processors.
820e8b17b5bSMasayuki Ohtake
82192b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
82292b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
823f016aeb6STomoya MORINAGA
824f2cac67dSAtsushi Nemotoconfig SPI_TXX9
825f2cac67dSAtsushi Nemoto	tristate "Toshiba TXx9 SPI controller"
826dd1053a9SMark Brown	depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
827f2cac67dSAtsushi Nemoto	help
828f2cac67dSAtsushi Nemoto	  SPI driver for Toshiba TXx9 MIPS SoCs
829f2cac67dSAtsushi Nemoto
8305ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER
8315ba155a4SKeiji Hayashibara	tristate "Socionext UniPhier SPI Controller"
8325ba155a4SKeiji Hayashibara	depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
8335ba155a4SKeiji Hayashibara	help
8345ba155a4SKeiji Hayashibara	  This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
8355ba155a4SKeiji Hayashibara
8365ba155a4SKeiji Hayashibara	  UniPhier SoCs have SCSSI and MCSSI SPI controllers.
8375ba155a4SKeiji Hayashibara	  Every UniPhier SoC has SCSSI which supports single channel.
8385ba155a4SKeiji Hayashibara	  Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
8395ba155a4SKeiji Hayashibara	  This driver supports SCSSI only.
8405ba155a4SKeiji Hayashibara
8415ba155a4SKeiji Hayashibara	  If your SoC supports SCSSI, say Y here.
8425ba155a4SKeiji Hayashibara
843b3165900SLars-Peter Clausenconfig SPI_XCOMM
844b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
845b3165900SLars-Peter Clausen	depends on I2C
846b3165900SLars-Peter Clausen	help
847b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
848b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
849b3165900SLars-Peter Clausen
850ae918c02SAndrei Konovalovconfig SPI_XILINX
851c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
8526d1f56aaSKees Cook	depends on HAS_IOMEM
853ae918c02SAndrei Konovalov	select SPI_BITBANG
854ae918c02SAndrei Konovalov	help
855ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
856ae918c02SAndrei Konovalov
857ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
858ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
859ae918c02SAndrei Konovalov
860c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
861c9da2e12SRichard Röjfors
862d8c80d49SKamlakant Patelconfig SPI_XLP
863d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
864251831bdSJayachandran C	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
865d8c80d49SKamlakant Patel	help
866d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
867d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
868d8c80d49SKamlakant Patel	  and XLP5XX.
869d8c80d49SKamlakant Patel
870d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
871d8c80d49SKamlakant Patel	  If unsure, say N.
872d8c80d49SKamlakant Patel
8736840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
8746840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
875be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
8766840cc29SMax Filippov	select SPI_BITBANG
8776840cc29SMax Filippov	help
8786840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
8796840cc29SMax Filippov
8806840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
8816840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
8826840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
8836840cc29SMax Filippov	  start and deasserting on end.
8846840cc29SMax Filippov
88567dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI
88667dca5e5SNaga Sureshkumar Relli	tristate "Xilinx Zynq QSPI controller"
88767dca5e5SNaga Sureshkumar Relli	depends on ARCH_ZYNQ || COMPILE_TEST
88867dca5e5SNaga Sureshkumar Relli	help
88967dca5e5SNaga Sureshkumar Relli	  This enables support for the Zynq Quad SPI controller
89067dca5e5SNaga Sureshkumar Relli	  in master mode.
89167dca5e5SNaga Sureshkumar Relli	  This controller only supports SPI memory interface.
89267dca5e5SNaga Sureshkumar Relli
893dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
894dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
89567dca5e5SNaga Sureshkumar Relli	depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST
896dfe11a11SRanjit Waghmode	help
897dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
898dfe11a11SRanjit Waghmode
8998ae12a0dSDavid Brownell#
9008ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
9018ae12a0dSDavid Brownell#
9028ae12a0dSDavid Brownell
9038ae12a0dSDavid Brownell#
9048ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
9058ae12a0dSDavid Brownell# being probably the most widely used ones.
9068ae12a0dSDavid Brownell#
9078ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
9088ae12a0dSDavid Brownell
909814a8d50SAndrea Paternianiconfig SPI_SPIDEV
910814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
911814a8d50SAndrea Paterniani	help
912814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
913814a8d50SAndrea Paterniani
914814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
915814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
916814a8d50SAndrea Paterniani
91797896195SMartin Sperlconfig SPI_LOOPBACK_TEST
91897896195SMartin Sperl	tristate "spi loopback test framework support"
91997896195SMartin Sperl	depends on m
92097896195SMartin Sperl	help
92197896195SMartin Sperl	  This enables the SPI loopback testing framework driver
92297896195SMartin Sperl
92397896195SMartin Sperl	  primarily used for development of spi_master drivers
92497896195SMartin Sperl	  and to detect regressions
92597896195SMartin Sperl
926447aef1aSBen Dooksconfig SPI_TLE62X0
927447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
9286291fe2aSRobert P. J. Day	depends on SYSFS
929447aef1aSBen Dooks	help
930447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
931447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
932447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
933447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
934447aef1aSBen Dooks
9358ae12a0dSDavid Brownell#
9368ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
9378ae12a0dSDavid Brownell#
9388ae12a0dSDavid Brownell
9396291fe2aSRobert P. J. Dayendif # SPI_MASTER
9406291fe2aSRobert P. J. Day
9416c364062SGeert Uytterhoeven#
9426c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
9436c364062SGeert Uytterhoeven#
9446c364062SGeert Uytterhoeven
9456c364062SGeert Uytterhoevenconfig SPI_SLAVE
9466c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
9476c364062SGeert Uytterhoeven	help
9486c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
9496c364062SGeert Uytterhoeven	  slave protocol handlers.
9506c364062SGeert Uytterhoeven
9516c364062SGeert Uytterhoevenif SPI_SLAVE
9526c364062SGeert Uytterhoeven
95329f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
95429f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
95529f9ffa0SGeert Uytterhoeven	help
95629f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
95729f9ffa0SGeert Uytterhoeven	  SPI message.
95829f9ffa0SGeert Uytterhoeven
959ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
960ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
961ce70e06cSGeert Uytterhoeven	help
962ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
963ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
964ce70e06cSGeert Uytterhoeven
9656c364062SGeert Uytterhoevenendif # SPI_SLAVE
9668ae12a0dSDavid Brownell
96779d8c7a8SAlessandro Guidoendif # SPI
968