xref: /linux/drivers/spi/Kconfig (revision eb8d6d464a27850498dced21a8450e85d4a02009)
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
65047980c5SChuanhong Guoconfig SPI_AR934X
66047980c5SChuanhong Guo	tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver"
67047980c5SChuanhong Guo	depends on ATH79 || COMPILE_TEST
68047980c5SChuanhong Guo	help
69047980c5SChuanhong Guo	  This enables support for the SPI controller present on the
70047980c5SChuanhong Guo	  Qualcomm Atheros AR934X/QCA95XX SoCs.
71047980c5SChuanhong Guo
728efaef4dSGabor Juhosconfig SPI_ATH79
738efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
74b172fd0cSAlban Bedel	depends on ATH79 || COMPILE_TEST
758efaef4dSGabor Juhos	select SPI_BITBANG
768efaef4dSGabor Juhos	help
778efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
788efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
798efaef4dSGabor Juhos
805762ab71SRomain Perierconfig SPI_ARMADA_3700
815762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
825762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
835762ab71SRomain Perier	help
845762ab71SRomain Perier	  This enables support for the SPI controller present on the
855762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
865762ab71SRomain Perier
87754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
88754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
89a687a533SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
901cb84b02SGregory CLEMENT	depends on OF
91754ce4f2SHaavard Skinnemoen	help
92754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
93a687a533SArnd Bergmann	  many AT91 ARM chips.
94754ce4f2SHaavard Skinnemoen
95e1892546SRadu Pireaconfig SPI_AT91_USART
96e1892546SRadu Pirea	tristate "Atmel USART Controller SPI driver"
97e1892546SRadu Pirea	depends on (ARCH_AT91 || COMPILE_TEST)
98e1892546SRadu Pirea	depends on MFD_AT91_USART
99e1892546SRadu Pirea	help
100e1892546SRadu Pirea	  This selects a driver for the AT91 USART Controller as SPI Master,
101e1892546SRadu Pirea	  present on AT91 and SAMA5 SoC series.
102e1892546SRadu Pirea
1030e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI
1040e6aae08SPiotr Bugalski	tristate "Atmel Quad SPI Controller"
1052a9d92fbSArnd Bergmann	depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110)
1060e6aae08SPiotr Bugalski	depends on OF && HAS_IOMEM
1070e6aae08SPiotr Bugalski	help
1080e6aae08SPiotr Bugalski	  This enables support for the Quad SPI controller in master mode.
1090e6aae08SPiotr Bugalski	  This driver does not support generic SPI. The implementation only
1100e6aae08SPiotr Bugalski	  supports spi-mem interface.
1110e6aae08SPiotr Bugalski
112e32bb870SMark Brownconfig SPI_AU1550
113e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
114e32bb870SMark Brown	depends on MIPS_ALCHEMY
115e32bb870SMark Brown	select SPI_BITBANG
116e32bb870SMark Brown	help
117e32bb870SMark Brown	  If you say yes to this option, support will be included for the
118e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
119e32bb870SMark Brown
120b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
121b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
122b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
123b1353d1cSLars-Peter Clausen	help
124b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
125b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
126b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
127b1353d1cSLars-Peter Clausen
128f8043872SChris Bootconfig SPI_BCM2835
129f8043872SChris Boot	tristate "BCM2835 SPI controller"
130e0d58cdcSYoshinori Sato	depends on GPIOLIB
13135ceb675SFlorian Fainelli	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
132f8043872SChris Boot	help
133f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
134f8043872SChris Boot
135f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
136f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
137f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
138f8043872SChris Boot	  not supported.
139f8043872SChris Boot
1401ea29b39SMartin Sperlconfig SPI_BCM2835AUX
1411ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
14235ceb675SFlorian Fainelli	depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
1431ea29b39SMartin Sperl	help
1441ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
1451ea29b39SMartin Sperl
1461ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
1471ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1481ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1491ea29b39SMartin Sperl
150b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
151b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
15244d8fb30SJonas Gorski	depends on BCM63XX || COMPILE_TEST
153b42dfed8SFlorian Fainelli	help
154b42dfed8SFlorian Fainelli	  Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
155b42dfed8SFlorian Fainelli
156142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
157142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
15879a15f49SFlorian Fainelli	depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST
159142168ebSJonas Gorski	help
160142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
161142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
162142168ebSJonas Gorski
163fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
164fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
165279e4af7SJaedon Shin	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
166279e4af7SJaedon Shin			BMIPS_GENERIC || COMPILE_TEST
167fa236a7eSKamal Dasu	default ARCH_BCM_IPROC
168fa236a7eSKamal Dasu	help
169fa236a7eSKamal Dasu	  Enables support for the Broadcom SPI flash and MSPI controller.
170fa236a7eSKamal Dasu	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
171fa236a7eSKamal Dasu	  based platforms. This driver works for both SPI master for spi-nor
172fa236a7eSKamal Dasu	  flash device as well as MSPI device.
173fa236a7eSKamal Dasu
1749904f22aSDavid Brownellconfig SPI_BITBANG
175d29389deSDavid Brownell	tristate "Utilities for Bitbanging SPI masters"
1769904f22aSDavid Brownell	help
1779904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
1789904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
1799904f22aSDavid Brownell	  port, etc).  Or, some systems' SPI master controller drivers use
1809904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
1819904f22aSDavid Brownell	  hardware shift registers.
1829904f22aSDavid Brownell
1839904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
1849904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
1859904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
1868ae12a0dSDavid Brownell
1877111763dSDavid Brownellconfig SPI_BUTTERFLY
1887111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
1896291fe2aSRobert P. J. Day	depends on PARPORT
1907111763dSDavid Brownell	select SPI_BITBANG
1917111763dSDavid Brownell	help
1927111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
1937111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
1947111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
1957111763dSDavid Brownell	  This same cable can be used to flash new firmware.
1967111763dSDavid Brownell
197c474b386SHarini Katakamconfig SPI_CADENCE
198c474b386SHarini Katakam	tristate "Cadence SPI controller"
199c474b386SHarini Katakam	help
200c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
20138b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
202c474b386SHarini Katakam
203161b96c3SAlexander Shiyanconfig SPI_CLPS711X
204161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
2055634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
206161b96c3SAlexander Shiyan	help
207161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
208161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
209161b96c3SAlexander Shiyan
21034b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
21134b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
212bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
21334b8c661SSteven King	help
21434b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
21534b8c661SSteven King	  mode.
21634b8c661SSteven King
217358934a6SSandeep Paulrajconfig SPI_DAVINCI
21823ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
21978848914SSantosh Shilimkar	depends on ARCH_DAVINCI || ARCH_KEYSTONE
220358934a6SSandeep Paulraj	select SPI_BITBANG
221358934a6SSandeep Paulraj	help
22223ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
22323ce17adSSekhar Nori
224e32bb870SMark Brownconfig SPI_DESIGNWARE
225e32bb870SMark Brown	tristate "DesignWare SPI controller core support"
226e32bb870SMark Brown	help
227e32bb870SMark Brown	  general driver for SPI controller core from DesignWare
228e32bb870SMark Brown
229ecb3a67eSSerge Seminif SPI_DESIGNWARE
230ecb3a67eSSerge Semin
2316c710c0cSSerge Seminconfig SPI_DW_DMA
2326c710c0cSSerge Semin	bool "DMA support for DW SPI controller"
2336c710c0cSSerge Semin
234e32bb870SMark Brownconfig SPI_DW_PCI
235e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
236ecb3a67eSSerge Semin	depends on PCI
237e32bb870SMark Brown
238e32bb870SMark Brownconfig SPI_DW_MMIO
239e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
240ecb3a67eSSerge Semin	depends on HAS_IOMEM
241ecb3a67eSSerge Semin
242ecb3a67eSSerge Seminendif
243e32bb870SMark Brown
2443d8c0d74SLaurentiu Palcuconfig SPI_DLN2
2453d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
2463d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
2473d8c0d74SLaurentiu Palcu       help
2483d8c0d74SLaurentiu Palcu	 If you say yes to this option, support will be included for Diolan
2493d8c0d74SLaurentiu Palcu	 DLN2, a USB to SPI interface.
2503d8c0d74SLaurentiu Palcu
2513d8c0d74SLaurentiu Palcu	 This driver can also be built as a module.  If so, the module
2523d8c0d74SLaurentiu Palcu	 will be called spi-dln2.
2533d8c0d74SLaurentiu Palcu
25486f8973cSUwe Kleine-Königconfig SPI_EFM32
25586f8973cSUwe Kleine-König	tristate "EFM32 SPI controller"
25686f8973cSUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
25786f8973cSUwe Kleine-König	select SPI_BITBANG
25886f8973cSUwe Kleine-König	help
25986f8973cSUwe Kleine-König	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.
26086f8973cSUwe Kleine-König
261011f23a3SMika Westerbergconfig SPI_EP93XX
262011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
263dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
264011f23a3SMika Westerberg	help
265011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
266011f23a3SMika Westerberg	  mode.
267011f23a3SMika Westerberg
2686cd3c7e2SThomas Langerconfig SPI_FALCON
2699c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
2706cd3c7e2SThomas Langer	depends on SOC_FALCON
2716cd3c7e2SThomas Langer	help
2726cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
2736cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
2746cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
2756cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
2766cd3c7e2SThomas Langer
277bbb6b2f9SEddie Jamesconfig SPI_FSI
278bbb6b2f9SEddie James	tristate "FSI SPI driver"
279bbb6b2f9SEddie James	depends on FSI
280bbb6b2f9SEddie James	help
281bbb6b2f9SEddie James	  This enables support for the driver for FSI bus attached SPI
282bbb6b2f9SEddie James	  controllers.
283bbb6b2f9SEddie James
2845314987dSGao Panconfig SPI_FSL_LPSPI
2855314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
2865314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
2875314987dSGao Pan	help
2885314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
2895314987dSGao Pan
29084d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI
29184d04318SFrieder Schrempf	tristate "Freescale QSPI controller"
29284d04318SFrieder Schrempf	depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
29384d04318SFrieder Schrempf	depends on HAS_IOMEM
29484d04318SFrieder Schrempf	help
29584d04318SFrieder Schrempf	  This enables support for the Quad SPI controller in master mode.
29684d04318SFrieder Schrempf	  Up to four flash chips can be connected on two buses with two
29784d04318SFrieder Schrempf	  chipselects each.
29884d04318SFrieder Schrempf	  This controller does not support generic SPI messages. It only
29984d04318SFrieder Schrempf	  supports the high-level SPI memory interface.
30084d04318SFrieder Schrempf
301a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX
302a2ca53b5SJohn Garry	tristate "HiSilicon SPI-NOR Flash Controller for Hi16XX chipsets"
303a2ca53b5SJohn Garry	depends on (ARM64 && ACPI) || COMPILE_TEST
304a2ca53b5SJohn Garry	depends on HAS_IOMEM
305a2ca53b5SJohn Garry	help
306a2ca53b5SJohn Garry	  This enables support for HiSilicon v3xx SPI-NOR flash controller
307a2ca53b5SJohn Garry	  found in hi16xx chipsets.
308a2ca53b5SJohn Garry
309a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI
310a5356aefSYogesh Narayan Gaur	tristate "NXP Flex SPI controller"
311a5356aefSYogesh Narayan Gaur	depends on ARCH_LAYERSCAPE || HAS_IOMEM
312a5356aefSYogesh Narayan Gaur	help
313a5356aefSYogesh Narayan Gaur	  This enables support for the Flex SPI controller in master mode.
314a5356aefSYogesh Narayan Gaur	  Up to four slave devices can be connected on two buses with two
315a5356aefSYogesh Narayan Gaur	  chipselects each.
316a5356aefSYogesh Narayan Gaur	  This controller does not support generic SPI messages and only
317a5356aefSYogesh Narayan Gaur	  supports the high-level SPI memory interface.
318a5356aefSYogesh Narayan Gaur
319d29389deSDavid Brownellconfig SPI_GPIO
320d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
3215c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
322d29389deSDavid Brownell	select SPI_BITBANG
323d29389deSDavid Brownell	help
324d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
325d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
326d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
327d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
328d29389deSDavid Brownell	  for the chipselect used by this controller driver.
329d29389deSDavid Brownell
330d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
331d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
332d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
333d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
334d29389deSDavid Brownell
335deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
336deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
337deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
338deba2580SAndrew Bresticker	help
339deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
340deba2580SAndrew Bresticker	  IMG SoCs.
341deba2580SAndrew Bresticker
342b5f3294fSSascha Hauerconfig SPI_IMX
343b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
344dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
345b5f3294fSSascha Hauer	select SPI_BITBANG
346b5f3294fSSascha Hauer	help
3472e236bafSFabio Estevam	  This enables support for the Freescale i.MX SPI controllers.
348b5f3294fSSascha Hauer
3492cb1b3b3SRich Felkerconfig SPI_JCORE
3502cb1b3b3SRich Felker	tristate "J-Core SPI Master"
3512cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
3522cb1b3b3SRich Felker	help
3532cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
3542cb1b3b3SRich Felker	  synthesizable, open source SoC.
3552cb1b3b3SRich Felker
35678961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
35778961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
3586d1f56aaSKees Cook	depends on PARPORT
35978961a57SKaiwan N Billimoria	select SPI_BITBANG
36078961a57SKaiwan N Billimoria	help
36178961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
36278961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
36378961a57SKaiwan N Billimoria	  a parallel port.
36478961a57SKaiwan N Billimoria
3657ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
3667ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
3677ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
3687ecbfff6SSergei Ianovich	help
3697ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
3707ecbfff6SSergei Ianovich	  DS-1302 real time clock.
3717ecbfff6SSergei Ianovich
3727ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
3737ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
3747ecbfff6SSergei Ianovich
37542bbb709SGrant Likelyconfig SPI_MPC52xx
37642bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
3777433f2b7SPaul Bolle	depends on PPC_MPC52xx
37842bbb709SGrant Likely	help
37942bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
38042bbb709SGrant Likely	  mode.
38142bbb709SGrant Likely
38200b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
38300b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
3846d1f56aaSKees Cook	depends on PPC_MPC52xx
38500b8fd23SDragos Carp	help
38600b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
38700b8fd23SDragos Carp	  Controller in master SPI mode.
38800b8fd23SDragos Carp
3896e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
3906e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
3915e8afa34SUwe Kleine-König	depends on PPC_MPC512x
3926e27388fSAnatolij Gustschin	help
3936e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
3946e27388fSAnatolij Gustschin	  Controller in SPI master mode.
3956e27388fSAnatolij Gustschin
396b36ece83SMingkai Huconfig SPI_FSL_LIB
397b36ece83SMingkai Hu	tristate
398e8beacbbSAndreas Larsson	depends on OF
399e8beacbbSAndreas Larsson
400e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
401e8beacbbSAndreas Larsson	tristate
402b36ece83SMingkai Hu	depends on FSL_SOC
403b36ece83SMingkai Hu
4043272029fSMingkai Huconfig SPI_FSL_SPI
40538455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
406e8beacbbSAndreas Larsson	depends on OF
407b36ece83SMingkai Hu	select SPI_FSL_LIB
408e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
409ccf06998SKumar Gala	help
4103272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
4113272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
4123272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
413447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
414447b0c7bSAndreas Larsson	  master mode.
415ccf06998SKumar Gala
416349ad66cSChao Fuconfig SPI_FSL_DSPI
417349ad66cSChao Fu	tristate "Freescale DSPI controller"
4181acbdeb9SChao Fu	select REGMAP_MMIO
419ec7ed770SAngelo Dureghello	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
420349ad66cSChao Fu	help
421349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
4220dcdcd0eSAngelo Dureghello	  mode. VF610, LS1021A and ColdFire platforms uses the controller.
423349ad66cSChao Fu
4248b60d6c2SMingkai Huconfig SPI_FSL_ESPI
42538455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
4268b60d6c2SMingkai Hu	depends on FSL_SOC
4278b60d6c2SMingkai Hu	help
4288b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
4298b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
4308b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
4318b60d6c2SMingkai Hu
432454fa271SNeil Armstrongconfig SPI_MESON_SPICC
433454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
4343e0cf4d3SSunny Luo	depends on COMMON_CLK
435454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
436454fa271SNeil Armstrong	help
437454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
438454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
439454fa271SNeil Armstrong
440c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
441c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
442c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
4431327ecd4SBeniamino Galvani	select REGMAP_MMIO
444c3e4bc54SBeniamino Galvani	help
445c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
446c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
447c3e4bc54SBeniamino Galvani
448a568231fSLeilk Liuconfig SPI_MT65XX
449a568231fSLeilk Liu	tristate "MediaTek SPI controller"
450a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
451a568231fSLeilk Liu	help
452a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
453a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
454a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
455a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
456a568231fSLeilk Liu
457cbd66c62SStefan Roeseconfig SPI_MT7621
458cbd66c62SStefan Roese	tristate "MediaTek MT7621 SPI Controller"
459cbd66c62SStefan Roese	depends on RALINK || COMPILE_TEST
460cbd66c62SStefan Roese	help
461cbd66c62SStefan Roese	  This selects a driver for the MediaTek MT7621 SPI Controller.
462cbd66c62SStefan Roese
463881d1ee9SChuanhong Guoconfig SPI_MTK_NOR
464881d1ee9SChuanhong Guo	tristate "MediaTek SPI NOR controller"
465881d1ee9SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
466881d1ee9SChuanhong Guo	help
467881d1ee9SChuanhong Guo	  This enables support for SPI NOR controller found on MediaTek
468881d1ee9SChuanhong Guo	  ARM SoCs. This is a controller specifically for SPI-NOR flash.
469881d1ee9SChuanhong Guo	  It can perform generic SPI transfers up to 6 bytes via generic
470881d1ee9SChuanhong Guo	  SPI interface as well as several SPI-NOR specific instructions
471881d1ee9SChuanhong Guo	  via SPI MEM interface.
472881d1ee9SChuanhong Guo
473ace55c41STomer Maimonconfig SPI_NPCM_FIU
474ace55c41STomer Maimon	tristate "Nuvoton NPCM FLASH Interface Unit"
475ace55c41STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
476ace55c41STomer Maimon	depends on OF && HAS_IOMEM
477ace55c41STomer Maimon	help
478ace55c41STomer Maimon	  This enables support for the Flash Interface Unit SPI controller
479ace55c41STomer Maimon	  in master mode.
480ace55c41STomer Maimon	  This driver does not support generic SPI. The implementation only
481ace55c41STomer Maimon	  supports spi-mem interface.
482ace55c41STomer Maimon
4832a22f1b3STomer Maimonconfig SPI_NPCM_PSPI
4842a22f1b3STomer Maimon	tristate "Nuvoton NPCM PSPI Controller"
4852a22f1b3STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
4862a22f1b3STomer Maimon	help
4872a22f1b3STomer Maimon	  This driver provides support for Nuvoton NPCM BMC
4882a22f1b3STomer Maimon	  Peripheral SPI controller in master mode.
4892a22f1b3STomer Maimon
49017f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
49117f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
492582c97f6SHauke Mehrtens	depends on LANTIQ || COMPILE_TEST
49317f84b79SHauke Mehrtens	help
49417f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
49517f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
49617f84b79SHauke Mehrtens	  the Danube, Falcon, xRX200, xRX300.
49717f84b79SHauke Mehrtens
498ce792580SThomas Chouconfig SPI_OC_TINY
499ce792580SThomas Chou	tristate "OpenCores tiny SPI"
5005c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
501ce792580SThomas Chou	select SPI_BITBANG
502ce792580SThomas Chou	help
503ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
504ce792580SThomas Chou
5056b52c00fSDavid Daneyconfig SPI_OCTEON
5066b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
5079ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
5086b52c00fSDavid Daney	help
5096b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
5106b52c00fSDavid Daney	  SOCs.
5116b52c00fSDavid Daney
512fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
513fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
5146291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
515fdb3c18dSDavid Brownell	select SPI_BITBANG
516fdb3c18dSDavid Brownell	help
517fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
518fdb3c18dSDavid Brownell
519ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
5208ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
52181df42d1SVignesh R	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
5222b32e987SFranklin S Cooper Jr	select SG_SPLIT
523ccdc7bf9SSamuel Ortiz	help
5248ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
525ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
52669c202afSAndrea Paterniani
527505a1495SSourav Poddarconfig SPI_TI_QSPI
528505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
529505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
530505a1495SSourav Poddar	help
531505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
532505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
533505a1495SSourav Poddar	  it only supports single write mode.
534505a1495SSourav Poddar
53535c9049bSCory Maccarroneconfig SPI_OMAP_100K
53635c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
537dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
53835c9049bSCory Maccarrone	help
53935c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
54035c9049bSCory Maccarrone
54160cadec9SShadi Ammouriconfig SPI_ORION
5426d1f56aaSKees Cook	tristate "Orion SPI master"
543710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
54460cadec9SShadi Ammouri	help
54573482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
54673482910SUwe Kleine-König	  and MVEBU chips.
54760cadec9SShadi Ammouri
5481bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
5491bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
5501bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
5511bcb9f8cSPurna Chandra Mandal	help
5521bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
5531bcb9f8cSPurna Chandra Mandal
5543270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
5553270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
5563270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
5573270ac23SPurna Chandra Mandal	help
5583270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
5593270ac23SPurna Chandra Mandal
560b43d65f7SLinus Walleijconfig SPI_PL022
5617f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
5627f9a4b97SLinus Walleij	depends on ARM_AMBA
563b43d65f7SLinus Walleij	default y if MACH_U300
564f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
565f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
566f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
567b43d65f7SLinus Walleij	help
568b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
569b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
570b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
571b43d65f7SLinus Walleij
57244dab88eSSteven A. Falcoconfig SPI_PPC4xx
57344dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
5745e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
57544dab88eSSteven A. Falco	select SPI_BITBANG
57644dab88eSSteven A. Falco	help
57744dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
57844dab88eSSteven A. Falco
579e0c9905eSStephen Streetconfig SPI_PXA2XX
580e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
5810d441644SGeert Uytterhoeven	depends on ARCH_PXA || ARCH_MMP || PCI || ACPI || COMPILE_TEST
582128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
583e0c9905eSStephen Street	help
584d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
585d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
5869cdd273eSMauro Carvalho Chehab	  additional documentation can be found a Documentation/spi/pxa2xx.rst.
587d6ea3df0SSebastian Andrzej Siewior
588d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
589afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
590e0c9905eSStephen Street
59164e36824Saddy keconfig SPI_ROCKCHIP
59264e36824Saddy ke	tristate "Rockchip SPI controller driver"
59364e36824Saddy ke	help
59464e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
59564e36824Saddy ke
59664e36824Saddy ke	  If you say yes to this option, support will be included for
59764e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
59864e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
59964e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
60064e36824Saddy ke	  device.
60164e36824Saddy ke
60205aec357SBert Vermeulenconfig SPI_RB4XX
60305aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
60405aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
60505aec357SBert Vermeulen	help
60605aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
60705aec357SBert Vermeulen
608*eb8d6d46SSergei Shtylyovconfig SPI_RPCIF
609*eb8d6d46SSergei Shtylyov	tristate "Renesas RPC-IF SPI driver"
610*eb8d6d46SSergei Shtylyov	depends on RENESAS_RPCIF
611*eb8d6d46SSergei Shtylyov	help
612*eb8d6d46SSergei Shtylyov	  SPI driver for Renesas R-Car Gen3 RPC-IF.
613*eb8d6d46SSergei Shtylyov
6140b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
615e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
6163aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
6170b2182ddSShimoda, Yoshihiro	help
618e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
6190b2182ddSShimoda, Yoshihiro
62004000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI
62104000dc6SGirish Mahadevan	tristate "QTI QSPI controller"
62204000dc6SGirish Mahadevan	depends on ARCH_QCOM
62304000dc6SGirish Mahadevan	help
62404000dc6SGirish Mahadevan	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.
62504000dc6SGirish Mahadevan
62664ff247aSIvan T. Ivanovconfig SPI_QUP
62764ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
628058f11c8SPaul Bolle	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
62964ff247aSIvan T. Ivanov	help
63064ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
63164ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
63264ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
63364ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
63464ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
63564ff247aSIvan T. Ivanov
63664ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
63764ff247aSIvan T. Ivanov	  will be called spi_qup.
6388ae12a0dSDavid Brownell
639561de45fSGirish Mahadevanconfig SPI_QCOM_GENI
640561de45fSGirish Mahadevan	tristate "Qualcomm GENI based SPI controller"
641561de45fSGirish Mahadevan	depends on QCOM_GENI_SE
642561de45fSGirish Mahadevan	help
643561de45fSGirish Mahadevan	  This driver supports GENI serial engine based SPI controller in
644561de45fSGirish Mahadevan	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
645561de45fSGirish Mahadevan	  yes to this option, support will be included for the built-in SPI
646561de45fSGirish Mahadevan	  interface on the Qualcomm Technologies Inc.'s SoCs.
647561de45fSGirish Mahadevan
648561de45fSGirish Mahadevan	  This driver can also be built as a module.  If so, the module
649561de45fSGirish Mahadevan	  will be called spi-geni-qcom.
650561de45fSGirish Mahadevan
65185abfaa7SDavid Brownellconfig SPI_S3C24XX
65285abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
6536d1f56aaSKees Cook	depends on ARCH_S3C24XX
654da0abc27SDavid Brownell	select SPI_BITBANG
65585abfaa7SDavid Brownell	help
65685abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
65785abfaa7SDavid Brownell
658bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
659bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
660bec0806cSBen Dooks	depends on SPI_S3C24XX
661bec0806cSBen Dooks	select FIQ
662bec0806cSBen Dooks	help
663bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
664bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
665bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
666bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
667bec0806cSBen Dooks	  TX and RX data paths.
668bec0806cSBen Dooks
669230d42d4SJassi Brarconfig SPI_S3C64XX
670230d42d4SJassi Brar	tristate "Samsung S3C64XX series type SPI"
671b099b131SJavier Martinez Canillas	depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
672230d42d4SJassi Brar	help
673230d42d4SJassi Brar	  SPI driver for Samsung S3C64XX and newer SoCs.
674230d42d4SJassi Brar
6753ce8859eSGuenter Roeckconfig SPI_SC18IS602
6763ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
6773ce8859eSGuenter Roeck	depends on I2C
6783ce8859eSGuenter Roeck	help
6793ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
6803ce8859eSGuenter Roeck
6818051effcSMagnus Dammconfig SPI_SH_MSIOF
6828051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
683e5b43ed2SGeert Uytterhoeven	depends on HAVE_CLK
6846ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
6858051effcSMagnus Damm	help
686746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
6878051effcSMagnus Damm
6885c05dd07SYoshihiro Shimodaconfig SPI_SH
6895c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
690dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
6915c05dd07SYoshihiro Shimoda	help
6925c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
6935c05dd07SYoshihiro Shimoda
69437e46640SMagnus Dammconfig SPI_SH_SCI
69537e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
6966291fe2aSRobert P. J. Day	depends on SUPERH
69737e46640SMagnus Damm	select SPI_BITBANG
69837e46640SMagnus Damm	help
69937e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
70037e46640SMagnus Damm
701d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
702d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
7033aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
704d1c8bbd7SKuninori Morimoto	help
705d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
706d1c8bbd7SKuninori Morimoto
707484a9a68SYash Shahconfig SPI_SIFIVE
708484a9a68SYash Shah	tristate "SiFive SPI controller"
709484a9a68SYash Shah	depends on HAS_IOMEM
710484a9a68SYash Shah	help
711484a9a68SYash Shah	  This exposes the SPI controller IP from SiFive.
712484a9a68SYash Shah
7131cc2df9dSZhiwu Songconfig SPI_SIRF
7141cc2df9dSZhiwu Song	tristate "CSR SiRFprimaII SPI controller"
7157668c294SMark Brown	depends on SIRF_DMA
7161cc2df9dSZhiwu Song	select SPI_BITBANG
7171cc2df9dSZhiwu Song	help
7181cc2df9dSZhiwu Song	  SPI driver for CSR SiRFprimaII SoCs
7191cc2df9dSZhiwu Song
720805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX
721805be7ddSLeilk Liu	tristate "MediaTek SPI slave device"
722805be7ddSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
723805be7ddSLeilk Liu	depends on SPI_SLAVE
724805be7ddSLeilk Liu	help
725805be7ddSLeilk Liu	  This selects the MediaTek(R) SPI slave device driver.
726805be7ddSLeilk Liu	  If you want to use MediaTek(R) SPI slave interface,
727805be7ddSLeilk Liu	  say Y or M here.If you are not sure, say N.
728805be7ddSLeilk Liu	  SPI slave drivers for Mediatek MT27XX series ARM SoCs.
729805be7ddSLeilk Liu
730e7d973a3SLanqing Liuconfig SPI_SPRD
731e7d973a3SLanqing Liu	tristate "Spreadtrum SPI controller"
732e7d973a3SLanqing Liu	depends on ARCH_SPRD || COMPILE_TEST
733e7d973a3SLanqing Liu	help
734e7d973a3SLanqing Liu	  SPI driver for Spreadtrum SoCs.
735e7d973a3SLanqing Liu
7367e2903cbSBaolin Wangconfig SPI_SPRD_ADI
7377e2903cbSBaolin Wang	tristate "Spreadtrum ADI controller"
7387e2903cbSBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
739e83f3742SArnd Bergmann	depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
7407e2903cbSBaolin Wang	help
7417e2903cbSBaolin Wang	  ADI driver based on SPI for Spreadtrum SoCs.
7427e2903cbSBaolin Wang
743dcbe0d84SAmelie Delaunayconfig SPI_STM32
744dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
745dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
746dcbe0d84SAmelie Delaunay	help
747bb35c9f9SCezary Gapinski	  SPI driver for STMicroelectronics STM32 SoCs.
748dcbe0d84SAmelie Delaunay
749dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
750dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
751dcbe0d84SAmelie Delaunay	  PIO mode.
752dcbe0d84SAmelie Delaunay
753c530cd1dSLudovic Barreconfig SPI_STM32_QSPI
754c530cd1dSLudovic Barre	tristate "STMicroelectronics STM32 QUAD SPI controller"
755c530cd1dSLudovic Barre	depends on ARCH_STM32 || COMPILE_TEST
756c530cd1dSLudovic Barre	depends on OF
757c530cd1dSLudovic Barre	help
758c530cd1dSLudovic Barre	  This enables support for the Quad SPI controller in master mode.
759c530cd1dSLudovic Barre	  This driver does not support generic SPI. The implementation only
760c530cd1dSLudovic Barre	  supports spi-mem interface.
761c530cd1dSLudovic Barre
7629e862375SLee Jonesconfig SPI_ST_SSC4
7639e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
76483fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
7659e862375SLee Jones	help
7669e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
7679e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
7689e862375SLee Jones
769b5f65179SMaxime Ripardconfig SPI_SUN4I
770b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
771b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
772b5f65179SMaxime Ripard	help
773b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
774b5f65179SMaxime Ripard
7753558fe90SMaxime Ripardconfig SPI_SUN6I
7763558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
7773558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
7787961656aSMark Brown	depends on RESET_CONTROLLER
7793558fe90SMaxime Ripard	help
7803558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
7813558fe90SMaxime Ripard
782b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER
783b0823ee3SMasahisa Kojima	tristate "Socionext's SynQuacer HighSpeed SPI controller"
784b0823ee3SMasahisa Kojima	depends on ARCH_SYNQUACER || COMPILE_TEST
785b0823ee3SMasahisa Kojima	help
786b0823ee3SMasahisa Kojima	  SPI driver for Socionext's High speed SPI controller which provides
787b0823ee3SMasahisa Kojima	  various operating modes for interfacing to serial peripheral devices
788b0823ee3SMasahisa Kojima	  that use the de-facto standard SPI protocol.
789b0823ee3SMasahisa Kojima
790b0823ee3SMasahisa Kojima	  It also supports the new dual-bit and quad-bit SPI protocol.
791b0823ee3SMasahisa Kojima
792b942d80bSMason Yangconfig SPI_MXIC
793b942d80bSMason Yang	tristate "Macronix MX25F0A SPI controller"
794b942d80bSMason Yang	depends on SPI_MASTER
795b942d80bSMason Yang	help
796b942d80bSMason Yang	  This selects the Macronix MX25F0A SPI controller driver.
797b942d80bSMason Yang
798646781d3SMarek Vasutconfig SPI_MXS
799646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
800646781d3SMarek Vasut	depends on ARCH_MXS
801646781d3SMarek Vasut	select STMP_DEVICE
802646781d3SMarek Vasut	help
803646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
804646781d3SMarek Vasut
805f333a331SLaxman Dewanganconfig SPI_TEGRA114
806f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
807dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
808e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
809f333a331SLaxman Dewangan	help
810f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
811f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
812f333a331SLaxman Dewangan	  get changed with this controller.
813f333a331SLaxman Dewangan
8148528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
8158528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
816dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
817ff2251e3SStephen Warren	depends on RESET_CONTROLLER
8188528547bSLaxman Dewangan	help
8198528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
8208528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
8218528547bSLaxman Dewangan	  device.
8228528547bSLaxman Dewangan
823dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
824dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
825dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
826e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
827dc4dc360SLaxman Dewangan	help
828dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
829dc4dc360SLaxman Dewangan
8307347a6c7SJan Glauberconfig SPI_THUNDERX
8317347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
8327347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
8337347a6c7SJan Glauber	help
8347347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
8357347a6c7SJan Glauber	  SOCs.
8367347a6c7SJan Glauber
837e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
83892b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
839f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
840e8b17b5bSMasayuki Ohtake	help
841cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
842cdbc8f04SGrant Likely	  used in some x86 embedded processors.
843e8b17b5bSMasayuki Ohtake
84492b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
84592b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
846f016aeb6STomoya MORINAGA
847f2cac67dSAtsushi Nemotoconfig SPI_TXX9
848f2cac67dSAtsushi Nemoto	tristate "Toshiba TXx9 SPI controller"
849dd1053a9SMark Brown	depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
850f2cac67dSAtsushi Nemoto	help
851f2cac67dSAtsushi Nemoto	  SPI driver for Toshiba TXx9 MIPS SoCs
852f2cac67dSAtsushi Nemoto
8535ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER
8545ba155a4SKeiji Hayashibara	tristate "Socionext UniPhier SPI Controller"
8555ba155a4SKeiji Hayashibara	depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
8566a091404SKunihiko Hayashi	depends on HAS_IOMEM
8575ba155a4SKeiji Hayashibara	help
8585ba155a4SKeiji Hayashibara	  This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
8595ba155a4SKeiji Hayashibara
8605ba155a4SKeiji Hayashibara	  UniPhier SoCs have SCSSI and MCSSI SPI controllers.
8615ba155a4SKeiji Hayashibara	  Every UniPhier SoC has SCSSI which supports single channel.
8625ba155a4SKeiji Hayashibara	  Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
8635ba155a4SKeiji Hayashibara	  This driver supports SCSSI only.
8645ba155a4SKeiji Hayashibara
8655ba155a4SKeiji Hayashibara	  If your SoC supports SCSSI, say Y here.
8665ba155a4SKeiji Hayashibara
867b3165900SLars-Peter Clausenconfig SPI_XCOMM
868b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
869b3165900SLars-Peter Clausen	depends on I2C
870b3165900SLars-Peter Clausen	help
871b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
872b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
873b3165900SLars-Peter Clausen
874ae918c02SAndrei Konovalovconfig SPI_XILINX
875c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
8766d1f56aaSKees Cook	depends on HAS_IOMEM
877ae918c02SAndrei Konovalov	select SPI_BITBANG
878ae918c02SAndrei Konovalov	help
879ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
880ae918c02SAndrei Konovalov
881ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
882ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
883ae918c02SAndrei Konovalov
884c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
885c9da2e12SRichard Röjfors
886d8c80d49SKamlakant Patelconfig SPI_XLP
887d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
888251831bdSJayachandran C	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
889d8c80d49SKamlakant Patel	help
890d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
891d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
892d8c80d49SKamlakant Patel	  and XLP5XX.
893d8c80d49SKamlakant Patel
894d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
895d8c80d49SKamlakant Patel	  If unsure, say N.
896d8c80d49SKamlakant Patel
8976840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
8986840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
899be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
9006840cc29SMax Filippov	select SPI_BITBANG
9016840cc29SMax Filippov	help
9026840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
9036840cc29SMax Filippov
9046840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
9056840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
9066840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
9076840cc29SMax Filippov	  start and deasserting on end.
9086840cc29SMax Filippov
90967dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI
91067dca5e5SNaga Sureshkumar Relli	tristate "Xilinx Zynq QSPI controller"
91167dca5e5SNaga Sureshkumar Relli	depends on ARCH_ZYNQ || COMPILE_TEST
91267dca5e5SNaga Sureshkumar Relli	help
91367dca5e5SNaga Sureshkumar Relli	  This enables support for the Zynq Quad SPI controller
91467dca5e5SNaga Sureshkumar Relli	  in master mode.
91567dca5e5SNaga Sureshkumar Relli	  This controller only supports SPI memory interface.
91667dca5e5SNaga Sureshkumar Relli
917dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
918dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
91967dca5e5SNaga Sureshkumar Relli	depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST
920dfe11a11SRanjit Waghmode	help
921dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
922dfe11a11SRanjit Waghmode
923bbb336f3SSanjay R Mehtaconfig SPI_AMD
924bbb336f3SSanjay R Mehta	tristate "AMD SPI controller"
925bbb336f3SSanjay R Mehta	depends on SPI_MASTER || COMPILE_TEST
926bbb336f3SSanjay R Mehta	help
927bbb336f3SSanjay R Mehta	  Enables SPI controller driver for AMD SoC.
928bbb336f3SSanjay R Mehta
9298ae12a0dSDavid Brownell#
9308ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
9318ae12a0dSDavid Brownell#
9328ae12a0dSDavid Brownell
933e9e40543SChris Packhamcomment "SPI Multiplexer support"
934e9e40543SChris Packham
935e9e40543SChris Packhamconfig SPI_MUX
936e9e40543SChris Packham	tristate "SPI multiplexer support"
937e9e40543SChris Packham	select MULTIPLEXER
938e9e40543SChris Packham	help
939e9e40543SChris Packham	  This adds support for SPI multiplexers. Each SPI mux will be
940e9e40543SChris Packham	  accessible as a SPI controller, the devices behind the mux will appear
941e9e40543SChris Packham	  to be chip selects on this controller. It is still necessary to
942e9e40543SChris Packham	  select one or more specific mux-controller drivers.
943e9e40543SChris Packham
9448ae12a0dSDavid Brownell#
9458ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
9468ae12a0dSDavid Brownell# being probably the most widely used ones.
9478ae12a0dSDavid Brownell#
9488ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
9498ae12a0dSDavid Brownell
950814a8d50SAndrea Paternianiconfig SPI_SPIDEV
951814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
952814a8d50SAndrea Paterniani	help
953814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
954814a8d50SAndrea Paterniani
955814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
956814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
957814a8d50SAndrea Paterniani
95897896195SMartin Sperlconfig SPI_LOOPBACK_TEST
95997896195SMartin Sperl	tristate "spi loopback test framework support"
96097896195SMartin Sperl	depends on m
96197896195SMartin Sperl	help
96297896195SMartin Sperl	  This enables the SPI loopback testing framework driver
96397896195SMartin Sperl
96497896195SMartin Sperl	  primarily used for development of spi_master drivers
96597896195SMartin Sperl	  and to detect regressions
96697896195SMartin Sperl
967447aef1aSBen Dooksconfig SPI_TLE62X0
968447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
9696291fe2aSRobert P. J. Day	depends on SYSFS
970447aef1aSBen Dooks	help
971447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
972447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
973447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
974447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
975447aef1aSBen Dooks
9768ae12a0dSDavid Brownell#
9778ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
9788ae12a0dSDavid Brownell#
9798ae12a0dSDavid Brownell
9806291fe2aSRobert P. J. Dayendif # SPI_MASTER
9816291fe2aSRobert P. J. Day
9826c364062SGeert Uytterhoeven#
9836c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
9846c364062SGeert Uytterhoeven#
9856c364062SGeert Uytterhoeven
9866c364062SGeert Uytterhoevenconfig SPI_SLAVE
9876c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
9886c364062SGeert Uytterhoeven	help
9896c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
9906c364062SGeert Uytterhoeven	  slave protocol handlers.
9916c364062SGeert Uytterhoeven
9926c364062SGeert Uytterhoevenif SPI_SLAVE
9936c364062SGeert Uytterhoeven
99429f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
99529f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
99629f9ffa0SGeert Uytterhoeven	help
99729f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
99829f9ffa0SGeert Uytterhoeven	  SPI message.
99929f9ffa0SGeert Uytterhoeven
1000ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
1001ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
1002ce70e06cSGeert Uytterhoeven	help
1003ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
1004ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
1005ce70e06cSGeert Uytterhoeven
10066c364062SGeert Uytterhoevenendif # SPI_SLAVE
10078ae12a0dSDavid Brownell
100879d8c7a8SAlessandro Guidoendif # SPI
1009