xref: /linux/drivers/spi/Kconfig (revision 128345b13d9b6a84d12f6b3c478e70acc21a96ac)
18ae12a0dSDavid Brownell#
28ae12a0dSDavid Brownell# SPI driver configuration
38ae12a0dSDavid Brownell#
48ae12a0dSDavid Brownell# NOTE:  the reason this doesn't show SPI slave support is mostly that
58ae12a0dSDavid Brownell# nobody's needed a slave side API yet.  The master-role API is not
68ae12a0dSDavid Brownell# fully appropriate there, so it'd need some thought to do well.
78ae12a0dSDavid Brownell#
879d8c7a8SAlessandro Guidomenuconfig SPI
98ae12a0dSDavid Brownell	bool "SPI support"
1079d8c7a8SAlessandro Guido	depends on HAS_IOMEM
118ae12a0dSDavid Brownell	help
128ae12a0dSDavid Brownell	  The "Serial Peripheral Interface" is a low level synchronous
138ae12a0dSDavid Brownell	  protocol.  Chips that support SPI can have data transfer rates
148ae12a0dSDavid Brownell	  up to several tens of Mbit/sec.  Chips are addressed with a
158ae12a0dSDavid Brownell	  controller and a chipselect.  Most SPI slaves don't support
168ae12a0dSDavid Brownell	  dynamic device discovery; some are even write-only or read-only.
178ae12a0dSDavid Brownell
183cb2fcccSMatt LaPlante	  SPI is widely used by microcontrollers to talk with sensors,
198ae12a0dSDavid Brownell	  eeprom and flash memory, codecs and various other controller
208ae12a0dSDavid Brownell	  chips, analog to digital (and d-to-a) converters, and more.
218ae12a0dSDavid Brownell	  MMC and SD cards can be accessed using SPI protocol; and for
228ae12a0dSDavid Brownell	  DataFlash cards used in MMC sockets, SPI must always be used.
238ae12a0dSDavid Brownell
248ae12a0dSDavid Brownell	  SPI is one of a family of similar protocols using a four wire
258ae12a0dSDavid Brownell	  interface (select, clock, data in, data out) including Microwire
268ae12a0dSDavid Brownell	  (half duplex), SSP, SSI, and PSP.  This driver framework should
278ae12a0dSDavid Brownell	  work with most such devices and controllers.
288ae12a0dSDavid Brownell
2979d8c7a8SAlessandro Guidoif SPI
3079d8c7a8SAlessandro Guido
318ae12a0dSDavid Brownellconfig SPI_DEBUG
326341e62bSChristoph Jaeger	bool "Debug support for SPI drivers"
3379d8c7a8SAlessandro Guido	depends on DEBUG_KERNEL
348ae12a0dSDavid Brownell	help
358ae12a0dSDavid Brownell	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
368ae12a0dSDavid Brownell	  sysfs, and debugfs support in SPI controller and protocol drivers.
378ae12a0dSDavid Brownell
388ae12a0dSDavid Brownell#
398ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers
408ae12a0dSDavid Brownell#
418ae12a0dSDavid Brownell
428ae12a0dSDavid Brownellconfig SPI_MASTER
436341e62bSChristoph Jaeger#	bool "SPI Master Support"
446341e62bSChristoph Jaeger	bool
458ae12a0dSDavid Brownell	default SPI
468ae12a0dSDavid Brownell	help
478ae12a0dSDavid Brownell	  If your system has an master-capable SPI controller (which
488ae12a0dSDavid Brownell	  provides the clock and chipselect), you can enable that
498ae12a0dSDavid Brownell	  controller and the protocol drivers for the SPI slave chips
508ae12a0dSDavid Brownell	  that are connected.
518ae12a0dSDavid Brownell
526291fe2aSRobert P. J. Dayif SPI_MASTER
536291fe2aSRobert P. J. Day
548ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers"
558ae12a0dSDavid Brownell
560b782531SThomas Chouconfig SPI_ALTERA
570b782531SThomas Chou	tristate "Altera SPI Controller"
580b782531SThomas Chou	select SPI_BITBANG
590b782531SThomas Chou	help
600b782531SThomas Chou	  This is the driver for the Altera SPI Controller.
610b782531SThomas Chou
628efaef4dSGabor Juhosconfig SPI_ATH79
638efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
6476ec9d18SAlexandre Courbot	depends on ATH79 && GPIOLIB
658efaef4dSGabor Juhos	select SPI_BITBANG
668efaef4dSGabor Juhos	help
678efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
688efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
698efaef4dSGabor Juhos
705762ab71SRomain Perierconfig SPI_ARMADA_3700
715762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
725762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
735762ab71SRomain Perier	help
745762ab71SRomain Perier	  This enables support for the SPI controller present on the
755762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
765762ab71SRomain Perier
77754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
78754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
79f59838a0SGeert Uytterhoeven	depends on HAS_DMA
80dd1053a9SMark Brown	depends on (ARCH_AT91 || AVR32 || COMPILE_TEST)
81754ce4f2SHaavard Skinnemoen	help
82754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
83754ce4f2SHaavard Skinnemoen	  many AT32 (AVR32) and AT91 (ARM) chips.
84754ce4f2SHaavard Skinnemoen
85e32bb870SMark Brownconfig SPI_AU1550
86e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
87e32bb870SMark Brown	depends on MIPS_ALCHEMY
88e32bb870SMark Brown	select SPI_BITBANG
89e32bb870SMark Brown	help
90e32bb870SMark Brown	  If you say yes to this option, support will be included for the
91e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
92e32bb870SMark Brown
93b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
94b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
95b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
96b1353d1cSLars-Peter Clausen	help
97b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
98b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
99b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
100b1353d1cSLars-Peter Clausen
101f8043872SChris Bootconfig SPI_BCM2835
102f8043872SChris Boot	tristate "BCM2835 SPI controller"
103e0d58cdcSYoshinori Sato	depends on GPIOLIB
104dd1053a9SMark Brown	depends on ARCH_BCM2835 || COMPILE_TEST
105f8043872SChris Boot	help
106f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
107f8043872SChris Boot
108f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
109f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
110f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
111f8043872SChris Boot	  not supported.
112f8043872SChris Boot
1131ea29b39SMartin Sperlconfig SPI_BCM2835AUX
1141ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
1150697ae80SGeert Uytterhoeven	depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
1161ea29b39SMartin Sperl	help
1171ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
1181ea29b39SMartin Sperl
1191ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
1201ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1211ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1221ea29b39SMartin Sperl
12322ac3e82SScott Jiangconfig SPI_BFIN5XX
124a5f6abd4SWu, Bryan	tristate "SPI controller driver for ADI Blackfin5xx"
125fa4bd4f1SScott Jiang	depends on BLACKFIN && !BF60x
126a5f6abd4SWu, Bryan	help
127a5f6abd4SWu, Bryan	  This is the SPI controller master driver for Blackfin 5xx processor.
128a5f6abd4SWu, Bryan
129766e3721SScott Jiangconfig SPI_ADI_V3
130766e3721SScott Jiang	tristate "SPI controller v3 for ADI"
131fa4bd4f1SScott Jiang	depends on BF60x
132fa4bd4f1SScott Jiang	help
133fa4bd4f1SScott Jiang	  This is the SPI controller v3 master driver
134fa4bd4f1SScott Jiang	  found on Blackfin 60x processor.
135fa4bd4f1SScott Jiang
1369c3e7375SCliff Caiconfig SPI_BFIN_SPORT
1379c3e7375SCliff Cai	tristate "SPI bus via Blackfin SPORT"
1389c3e7375SCliff Cai	depends on BLACKFIN
1399c3e7375SCliff Cai	help
1409c3e7375SCliff Cai	  Enable support for a SPI bus via the Blackfin SPORT peripheral.
1419c3e7375SCliff Cai
1420fc6a323SRafał Miłeckiconfig SPI_BCM53XX
1430fc6a323SRafał Miłecki	tristate "Broadcom BCM53xx SPI controller"
1440fc6a323SRafał Miłecki	depends on ARCH_BCM_5301X
145933fc7b0SAxel Lin	depends on BCMA_POSSIBLE
146933fc7b0SAxel Lin	select BCMA
1470fc6a323SRafał Miłecki	help
1480fc6a323SRafał Miłecki          Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.
1490fc6a323SRafał Miłecki
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"
158142168ebSJonas Gorski	depends on BCM63XX || 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
229e32bb870SMark Brownconfig SPI_DW_PCI
230e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
231e32bb870SMark Brown	depends on SPI_DESIGNWARE && PCI
232e32bb870SMark Brown
233e32bb870SMark Brownconfig SPI_DW_MID_DMA
234e32bb870SMark Brown	bool "DMA support for DW SPI controller on Intel MID platform"
235e32bb870SMark Brown	depends on SPI_DW_PCI && DW_DMAC_PCI
236e32bb870SMark Brown
237e32bb870SMark Brownconfig SPI_DW_MMIO
238e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
239e32bb870SMark Brown	depends on SPI_DESIGNWARE
240e32bb870SMark Brown
2413d8c0d74SLaurentiu Palcuconfig SPI_DLN2
2423d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
2433d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
2443d8c0d74SLaurentiu Palcu       help
2453d8c0d74SLaurentiu Palcu         If you say yes to this option, support will be included for Diolan
2463d8c0d74SLaurentiu Palcu         DLN2, a USB to SPI interface.
2473d8c0d74SLaurentiu Palcu
2483d8c0d74SLaurentiu Palcu         This driver can also be built as a module.  If so, the module
2493d8c0d74SLaurentiu Palcu         will be called spi-dln2.
2503d8c0d74SLaurentiu Palcu
25186f8973cSUwe Kleine-Königconfig SPI_EFM32
25286f8973cSUwe Kleine-König	tristate "EFM32 SPI controller"
25386f8973cSUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
25486f8973cSUwe Kleine-König	select SPI_BITBANG
25586f8973cSUwe Kleine-König	help
25686f8973cSUwe Kleine-König	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.
25786f8973cSUwe Kleine-König
258011f23a3SMika Westerbergconfig SPI_EP93XX
259011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
260f59838a0SGeert Uytterhoeven	depends on HAS_DMA
261dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
262011f23a3SMika Westerberg	help
263011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
264011f23a3SMika Westerberg	  mode.
265011f23a3SMika Westerberg
2666cd3c7e2SThomas Langerconfig SPI_FALCON
2679c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
2686cd3c7e2SThomas Langer	depends on SOC_FALCON
2696cd3c7e2SThomas Langer	help
2706cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
2716cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
2726cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
2736cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
2746cd3c7e2SThomas Langer
2755314987dSGao Panconfig SPI_FSL_LPSPI
2765314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
2775314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
2785314987dSGao Pan	help
2795314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
2805314987dSGao Pan
281d29389deSDavid Brownellconfig SPI_GPIO
282d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
2835c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
284d29389deSDavid Brownell	select SPI_BITBANG
285d29389deSDavid Brownell	help
286d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
287d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
288d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
289d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
290d29389deSDavid Brownell	  for the chipselect used by this controller driver.
291d29389deSDavid Brownell
292d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
293d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
294d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
295d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
296d29389deSDavid Brownell
297deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
298deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
299deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
300deba2580SAndrew Bresticker	help
301deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
302deba2580SAndrew Bresticker	  IMG SoCs.
303deba2580SAndrew Bresticker
304b5f3294fSSascha Hauerconfig SPI_IMX
305b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
306dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
307b5f3294fSSascha Hauer	select SPI_BITBANG
308b5f3294fSSascha Hauer	help
309b5f3294fSSascha Hauer	  This enables using the Freescale i.MX SPI controllers in master
310b5f3294fSSascha Hauer	  mode.
311b5f3294fSSascha Hauer
3122cb1b3b3SRich Felkerconfig SPI_JCORE
3132cb1b3b3SRich Felker	tristate "J-Core SPI Master"
3142cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
3152cb1b3b3SRich Felker	help
3162cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
3172cb1b3b3SRich Felker	  synthesizable, open source SoC.
3182cb1b3b3SRich Felker
31978961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
32078961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
3216d1f56aaSKees Cook	depends on PARPORT
32278961a57SKaiwan N Billimoria	select SPI_BITBANG
32378961a57SKaiwan N Billimoria	help
32478961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
32578961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
32678961a57SKaiwan N Billimoria	  a parallel port.
32778961a57SKaiwan N Billimoria
3287ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
3297ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
3307ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
3317ecbfff6SSergei Ianovich	help
3327ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
3337ecbfff6SSergei Ianovich	  DS-1302 real time clock.
3347ecbfff6SSergei Ianovich
3357ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
3367ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
3377ecbfff6SSergei Ianovich
33842bbb709SGrant Likelyconfig SPI_MPC52xx
33942bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
3407433f2b7SPaul Bolle	depends on PPC_MPC52xx
34142bbb709SGrant Likely	help
34242bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
34342bbb709SGrant Likely	  mode.
34442bbb709SGrant Likely
34500b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
34600b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
3476d1f56aaSKees Cook	depends on PPC_MPC52xx
34800b8fd23SDragos Carp	help
34900b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
35000b8fd23SDragos Carp	  Controller in master SPI mode.
35100b8fd23SDragos Carp
3526e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
3536e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
3545e8afa34SUwe Kleine-König	depends on PPC_MPC512x
3556e27388fSAnatolij Gustschin	help
3566e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
3576e27388fSAnatolij Gustschin	  Controller in SPI master mode.
3586e27388fSAnatolij Gustschin
359b36ece83SMingkai Huconfig SPI_FSL_LIB
360b36ece83SMingkai Hu	tristate
361e8beacbbSAndreas Larsson	depends on OF
362e8beacbbSAndreas Larsson
363e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
364e8beacbbSAndreas Larsson	tristate
365b36ece83SMingkai Hu	depends on FSL_SOC
366b36ece83SMingkai Hu
3673272029fSMingkai Huconfig SPI_FSL_SPI
36838455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
369e8beacbbSAndreas Larsson	depends on OF
370b36ece83SMingkai Hu	select SPI_FSL_LIB
371e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
372ccf06998SKumar Gala	help
3733272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
3743272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
3753272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
376447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
377447b0c7bSAndreas Larsson	  master mode.
378ccf06998SKumar Gala
379349ad66cSChao Fuconfig SPI_FSL_DSPI
380349ad66cSChao Fu	tristate "Freescale DSPI controller"
3811acbdeb9SChao Fu	select REGMAP_MMIO
382dadab2d4SGeert Uytterhoeven	depends on HAS_DMA
3835a60adafSYuan Yao	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
384349ad66cSChao Fu	help
385349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
386349ad66cSChao Fu	  mode. VF610 platform uses the controller.
387349ad66cSChao Fu
3888b60d6c2SMingkai Huconfig SPI_FSL_ESPI
38938455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
3908b60d6c2SMingkai Hu	depends on FSL_SOC
3918b60d6c2SMingkai Hu	help
3928b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
3938b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
3948b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
3958b60d6c2SMingkai Hu
396454fa271SNeil Armstrongconfig SPI_MESON_SPICC
397454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
398454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
399454fa271SNeil Armstrong	help
400454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
401454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
402454fa271SNeil Armstrong
403c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
404c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
405c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
4061327ecd4SBeniamino Galvani	select REGMAP_MMIO
407c3e4bc54SBeniamino Galvani	help
408c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
409c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
410c3e4bc54SBeniamino Galvani
411a568231fSLeilk Liuconfig SPI_MT65XX
412a568231fSLeilk Liu	tristate "MediaTek SPI controller"
413a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
414a568231fSLeilk Liu	help
415a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
416a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
417a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
418a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
419a568231fSLeilk Liu
420e32bb870SMark Brownconfig SPI_NUC900
421e32bb870SMark Brown	tristate "Nuvoton NUC900 series SPI"
422e32bb870SMark Brown	depends on ARCH_W90X900
423e32bb870SMark Brown	select SPI_BITBANG
424e32bb870SMark Brown	help
425e32bb870SMark Brown	  SPI driver for Nuvoton NUC900 series ARM SoCs
426e32bb870SMark Brown
42717f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
42817f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
429582c97f6SHauke Mehrtens	depends on LANTIQ || COMPILE_TEST
43017f84b79SHauke Mehrtens	help
43117f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
43217f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
43317f84b79SHauke Mehrtens	  the Danube, Falcon, xRX200, xRX300.
43417f84b79SHauke Mehrtens
435ce792580SThomas Chouconfig SPI_OC_TINY
436ce792580SThomas Chou	tristate "OpenCores tiny SPI"
4375c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
438ce792580SThomas Chou	select SPI_BITBANG
439ce792580SThomas Chou	help
440ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
441ce792580SThomas Chou
4426b52c00fSDavid Daneyconfig SPI_OCTEON
4436b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
4449ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
4456b52c00fSDavid Daney	help
4466b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
4476b52c00fSDavid Daney	  SOCs.
4486b52c00fSDavid Daney
449fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
450fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
4516291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
452fdb3c18dSDavid Brownell	select SPI_BITBANG
453fdb3c18dSDavid Brownell	help
454fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
455fdb3c18dSDavid Brownell
456ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
4578ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
458f59838a0SGeert Uytterhoeven	depends on HAS_DMA
459dd1053a9SMark Brown	depends on ARCH_OMAP2PLUS || COMPILE_TEST
4602b32e987SFranklin S Cooper Jr	select SG_SPLIT
461ccdc7bf9SSamuel Ortiz	help
4628ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
463ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
46469c202afSAndrea Paterniani
465505a1495SSourav Poddarconfig SPI_TI_QSPI
466505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
467967d6941SGeert Uytterhoeven	depends on HAS_DMA
468505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
469505a1495SSourav Poddar	help
470505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
471505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
472505a1495SSourav Poddar	  it only supports single write mode.
473505a1495SSourav Poddar
47435c9049bSCory Maccarroneconfig SPI_OMAP_100K
47535c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
476dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
47735c9049bSCory Maccarrone	help
47835c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
47935c9049bSCory Maccarrone
48060cadec9SShadi Ammouriconfig SPI_ORION
4816d1f56aaSKees Cook	tristate "Orion SPI master"
482710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
48360cadec9SShadi Ammouri	help
48473482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
48573482910SUwe Kleine-König	  and MVEBU chips.
48660cadec9SShadi Ammouri
4871bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
4881bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
4891bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
4901bcb9f8cSPurna Chandra Mandal	help
4911bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
4921bcb9f8cSPurna Chandra Mandal
4933270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
4943270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
4953270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
49621825ff1SPurna Chandra Mandal	depends on HAS_DMA
4973270ac23SPurna Chandra Mandal	help
4983270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
4993270ac23SPurna Chandra Mandal
500b43d65f7SLinus Walleijconfig SPI_PL022
5017f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
5027f9a4b97SLinus Walleij	depends on ARM_AMBA
503b43d65f7SLinus Walleij	default y if MACH_U300
504f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
505f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
506f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
507b43d65f7SLinus Walleij	help
508b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
509b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
510b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
511b43d65f7SLinus Walleij
51244dab88eSSteven A. Falcoconfig SPI_PPC4xx
51344dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
5145e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
51544dab88eSSteven A. Falco	select SPI_BITBANG
51644dab88eSSteven A. Falco	help
51744dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
51844dab88eSSteven A. Falco
519e0c9905eSStephen Streetconfig SPI_PXA2XX
520e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
521*128345b1SArnd Bergmann	depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
522*128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
523e0c9905eSStephen Street	help
524d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
525d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
526d6ea3df0SSebastian Andrzej Siewior	  additional documentation can be found a Documentation/spi/pxa2xx.
527d6ea3df0SSebastian Andrzej Siewior
528d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
529afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
530e0c9905eSStephen Street
53164e36824Saddy keconfig SPI_ROCKCHIP
53264e36824Saddy ke	tristate "Rockchip SPI controller driver"
53364e36824Saddy ke	help
53464e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
53564e36824Saddy ke
53664e36824Saddy ke	  If you say yes to this option, support will be included for
53764e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
53864e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
53964e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
54064e36824Saddy ke	  device.
54164e36824Saddy ke
54205aec357SBert Vermeulenconfig SPI_RB4XX
54305aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
54405aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
54505aec357SBert Vermeulen	help
54605aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
54705aec357SBert Vermeulen
5480b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
549e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
5503aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
5510b2182ddSShimoda, Yoshihiro	help
552e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
5530b2182ddSShimoda, Yoshihiro
55464ff247aSIvan T. Ivanovconfig SPI_QUP
55564ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
556058f11c8SPaul Bolle	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
55764ff247aSIvan T. Ivanov	help
55864ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
55964ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
56064ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
56164ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
56264ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
56364ff247aSIvan T. Ivanov
56464ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
56564ff247aSIvan T. Ivanov	  will be called spi_qup.
5668ae12a0dSDavid Brownell
56785abfaa7SDavid Brownellconfig SPI_S3C24XX
56885abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
5696d1f56aaSKees Cook	depends on ARCH_S3C24XX
570da0abc27SDavid Brownell	select SPI_BITBANG
57185abfaa7SDavid Brownell	help
57285abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
57385abfaa7SDavid Brownell
574bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
575bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
576bec0806cSBen Dooks	depends on SPI_S3C24XX
577bec0806cSBen Dooks	select FIQ
578bec0806cSBen Dooks	help
579bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
580bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
581bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
582bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
583bec0806cSBen Dooks	  TX and RX data paths.
584bec0806cSBen Dooks
585230d42d4SJassi Brarconfig SPI_S3C64XX
586230d42d4SJassi Brar	tristate "Samsung S3C64XX series type SPI"
587b099b131SJavier Martinez Canillas	depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
588230d42d4SJassi Brar	help
589230d42d4SJassi Brar	  SPI driver for Samsung S3C64XX and newer SoCs.
590230d42d4SJassi Brar
5913ce8859eSGuenter Roeckconfig SPI_SC18IS602
5923ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
5933ce8859eSGuenter Roeck	depends on I2C
5943ce8859eSGuenter Roeck	help
5953ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
5963ce8859eSGuenter Roeck
5978051effcSMagnus Dammconfig SPI_SH_MSIOF
5988051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
59951fd5090SGeert Uytterhoeven	depends on HAVE_CLK && HAS_DMA
6006ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
6018051effcSMagnus Damm	help
602746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
6038051effcSMagnus Damm
6045c05dd07SYoshihiro Shimodaconfig SPI_SH
6055c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
606dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
6075c05dd07SYoshihiro Shimoda	help
6085c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
6095c05dd07SYoshihiro Shimoda
61037e46640SMagnus Dammconfig SPI_SH_SCI
61137e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
6126291fe2aSRobert P. J. Day	depends on SUPERH
61337e46640SMagnus Damm	select SPI_BITBANG
61437e46640SMagnus Damm	help
61537e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
61637e46640SMagnus Damm
617d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
618d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
6193aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
620d1c8bbd7SKuninori Morimoto	help
621d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
622d1c8bbd7SKuninori Morimoto
6231cc2df9dSZhiwu Songconfig SPI_SIRF
6241cc2df9dSZhiwu Song	tristate "CSR SiRFprimaII SPI controller"
6257668c294SMark Brown	depends on SIRF_DMA
6261cc2df9dSZhiwu Song	select SPI_BITBANG
6271cc2df9dSZhiwu Song	help
6281cc2df9dSZhiwu Song	  SPI driver for CSR SiRFprimaII SoCs
6291cc2df9dSZhiwu Song
630dcbe0d84SAmelie Delaunayconfig SPI_STM32
631dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
632dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
633dcbe0d84SAmelie Delaunay	help
634dcbe0d84SAmelie Delaunay	  SPI driver for STMicroelectonics STM32 SoCs.
635dcbe0d84SAmelie Delaunay
636dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
637dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
638dcbe0d84SAmelie Delaunay	  PIO mode.
639dcbe0d84SAmelie Delaunay
6409e862375SLee Jonesconfig SPI_ST_SSC4
6419e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
64283fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
6439e862375SLee Jones	help
6449e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
6459e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
6469e862375SLee Jones
647b5f65179SMaxime Ripardconfig SPI_SUN4I
648b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
649b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
650b5f65179SMaxime Ripard	help
651b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
652b5f65179SMaxime Ripard
6533558fe90SMaxime Ripardconfig SPI_SUN6I
6543558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
6553558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
6567961656aSMark Brown	depends on RESET_CONTROLLER
6573558fe90SMaxime Ripard	help
6583558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
6593558fe90SMaxime Ripard
660646781d3SMarek Vasutconfig SPI_MXS
661646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
662646781d3SMarek Vasut	depends on ARCH_MXS
663646781d3SMarek Vasut	select STMP_DEVICE
664646781d3SMarek Vasut	help
665646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
666646781d3SMarek Vasut
667f333a331SLaxman Dewanganconfig SPI_TEGRA114
668f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
669dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
670f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
671f333a331SLaxman Dewangan	help
672f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
673f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
674f333a331SLaxman Dewangan	  get changed with this controller.
675f333a331SLaxman Dewangan
6768528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
6778528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
678dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
679ff2251e3SStephen Warren	depends on RESET_CONTROLLER
6808528547bSLaxman Dewangan	help
6818528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
6828528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
6838528547bSLaxman Dewangan	  device.
6848528547bSLaxman Dewangan
685dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
686dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
687dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
688f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
689dc4dc360SLaxman Dewangan	help
690dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
691dc4dc360SLaxman Dewangan
6927347a6c7SJan Glauberconfig SPI_THUNDERX
6937347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
6947347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
6957347a6c7SJan Glauber	help
6967347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
6977347a6c7SJan Glauber	  SOCs.
6987347a6c7SJan Glauber
699e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
70092b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
701f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
702e8b17b5bSMasayuki Ohtake	help
703cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
704cdbc8f04SGrant Likely	  used in some x86 embedded processors.
705e8b17b5bSMasayuki Ohtake
70692b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
70792b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
708f016aeb6STomoya MORINAGA
709f2cac67dSAtsushi Nemotoconfig SPI_TXX9
710f2cac67dSAtsushi Nemoto	tristate "Toshiba TXx9 SPI controller"
711dd1053a9SMark Brown	depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
712f2cac67dSAtsushi Nemoto	help
713f2cac67dSAtsushi Nemoto	  SPI driver for Toshiba TXx9 MIPS SoCs
714f2cac67dSAtsushi Nemoto
715b3165900SLars-Peter Clausenconfig SPI_XCOMM
716b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
717b3165900SLars-Peter Clausen	depends on I2C
718b3165900SLars-Peter Clausen	help
719b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
720b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
721b3165900SLars-Peter Clausen
722ae918c02SAndrei Konovalovconfig SPI_XILINX
723c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
7246d1f56aaSKees Cook	depends on HAS_IOMEM
725ae918c02SAndrei Konovalov	select SPI_BITBANG
726ae918c02SAndrei Konovalov	help
727ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
728ae918c02SAndrei Konovalov
729ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
730ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
731ae918c02SAndrei Konovalov
732c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
733c9da2e12SRichard Röjfors
734d8c80d49SKamlakant Patelconfig SPI_XLP
735d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
736251831bdSJayachandran C	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
737d8c80d49SKamlakant Patel	help
738d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
739d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
740d8c80d49SKamlakant Patel	  and XLP5XX.
741d8c80d49SKamlakant Patel
742d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
743d8c80d49SKamlakant Patel	  If unsure, say N.
744d8c80d49SKamlakant Patel
7456840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
7466840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
747be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
7486840cc29SMax Filippov	select SPI_BITBANG
7496840cc29SMax Filippov	help
7506840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
7516840cc29SMax Filippov
7526840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
7536840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
7546840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
7556840cc29SMax Filippov	  start and deasserting on end.
7566840cc29SMax Filippov
757dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
758dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
7592e1c75f4SGeert Uytterhoeven	depends on SPI_MASTER && HAS_DMA
760dfe11a11SRanjit Waghmode	help
761dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
762dfe11a11SRanjit Waghmode
7638ae12a0dSDavid Brownell#
7648ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
7658ae12a0dSDavid Brownell#
7668ae12a0dSDavid Brownell
7678ae12a0dSDavid Brownell#
7688ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
7698ae12a0dSDavid Brownell# being probably the most widely used ones.
7708ae12a0dSDavid Brownell#
7718ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
7728ae12a0dSDavid Brownell
773814a8d50SAndrea Paternianiconfig SPI_SPIDEV
774814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
775814a8d50SAndrea Paterniani	help
776814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
777814a8d50SAndrea Paterniani
778814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
779814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
780814a8d50SAndrea Paterniani
78197896195SMartin Sperlconfig SPI_LOOPBACK_TEST
78297896195SMartin Sperl	tristate "spi loopback test framework support"
78397896195SMartin Sperl	depends on m
78497896195SMartin Sperl	help
78597896195SMartin Sperl	  This enables the SPI loopback testing framework driver
78697896195SMartin Sperl
78797896195SMartin Sperl	  primarily used for development of spi_master drivers
78897896195SMartin Sperl	  and to detect regressions
78997896195SMartin Sperl
790447aef1aSBen Dooksconfig SPI_TLE62X0
791447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
7926291fe2aSRobert P. J. Day	depends on SYSFS
793447aef1aSBen Dooks	help
794447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
795447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
796447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
797447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
798447aef1aSBen Dooks
7998ae12a0dSDavid Brownell#
8008ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
8018ae12a0dSDavid Brownell#
8028ae12a0dSDavid Brownell
8036291fe2aSRobert P. J. Dayendif # SPI_MASTER
8046291fe2aSRobert P. J. Day
8056c364062SGeert Uytterhoeven#
8066c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
8076c364062SGeert Uytterhoeven#
8086c364062SGeert Uytterhoeven
8096c364062SGeert Uytterhoevenconfig SPI_SLAVE
8106c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
8116c364062SGeert Uytterhoeven	help
8126c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
8136c364062SGeert Uytterhoeven	  slave protocol handlers.
8146c364062SGeert Uytterhoeven
8156c364062SGeert Uytterhoevenif SPI_SLAVE
8166c364062SGeert Uytterhoeven
81729f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
81829f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
81929f9ffa0SGeert Uytterhoeven	help
82029f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
82129f9ffa0SGeert Uytterhoeven	  SPI message.
82229f9ffa0SGeert Uytterhoeven
823ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
824ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
825ce70e06cSGeert Uytterhoeven	help
826ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
827ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
828ce70e06cSGeert Uytterhoeven
8296c364062SGeert Uytterhoevenendif # SPI_SLAVE
8308ae12a0dSDavid Brownell
83179d8c7a8SAlessandro Guidoendif # SPI
832