xref: /linux/drivers/spi/Kconfig (revision ec7ed7708e009e046d1e16ed53ba4d6048748d07)
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	help
590b782531SThomas Chou	  This is the driver for the Altera SPI Controller.
600b782531SThomas Chou
618efaef4dSGabor Juhosconfig SPI_ATH79
628efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
6376ec9d18SAlexandre Courbot	depends on ATH79 && GPIOLIB
648efaef4dSGabor Juhos	select SPI_BITBANG
658efaef4dSGabor Juhos	help
668efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
678efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
688efaef4dSGabor Juhos
695762ab71SRomain Perierconfig SPI_ARMADA_3700
705762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
715762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
725762ab71SRomain Perier	help
735762ab71SRomain Perier	  This enables support for the SPI controller present on the
745762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
755762ab71SRomain Perier
76754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
77754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
78f59838a0SGeert Uytterhoeven	depends on HAS_DMA
79dd1053a9SMark Brown	depends on (ARCH_AT91 || AVR32 || COMPILE_TEST)
80754ce4f2SHaavard Skinnemoen	help
81754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
82754ce4f2SHaavard Skinnemoen	  many AT32 (AVR32) and AT91 (ARM) chips.
83754ce4f2SHaavard Skinnemoen
84e32bb870SMark Brownconfig SPI_AU1550
85e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
86e32bb870SMark Brown	depends on MIPS_ALCHEMY
87e32bb870SMark Brown	select SPI_BITBANG
88e32bb870SMark Brown	help
89e32bb870SMark Brown	  If you say yes to this option, support will be included for the
90e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
91e32bb870SMark Brown
92b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
93b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
94b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
95b1353d1cSLars-Peter Clausen	help
96b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
97b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
98b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
99b1353d1cSLars-Peter Clausen
100f8043872SChris Bootconfig SPI_BCM2835
101f8043872SChris Boot	tristate "BCM2835 SPI controller"
102e0d58cdcSYoshinori Sato	depends on GPIOLIB
103dd1053a9SMark Brown	depends on ARCH_BCM2835 || COMPILE_TEST
104f8043872SChris Boot	help
105f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
106f8043872SChris Boot
107f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
108f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
109f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
110f8043872SChris Boot	  not supported.
111f8043872SChris Boot
1121ea29b39SMartin Sperlconfig SPI_BCM2835AUX
1131ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
1140697ae80SGeert Uytterhoeven	depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
1151ea29b39SMartin Sperl	help
1161ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
1171ea29b39SMartin Sperl
1181ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
1191ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1201ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1211ea29b39SMartin Sperl
12222ac3e82SScott Jiangconfig SPI_BFIN5XX
123a5f6abd4SWu, Bryan	tristate "SPI controller driver for ADI Blackfin5xx"
124fa4bd4f1SScott Jiang	depends on BLACKFIN && !BF60x
125a5f6abd4SWu, Bryan	help
126a5f6abd4SWu, Bryan	  This is the SPI controller master driver for Blackfin 5xx processor.
127a5f6abd4SWu, Bryan
128766e3721SScott Jiangconfig SPI_ADI_V3
129766e3721SScott Jiang	tristate "SPI controller v3 for ADI"
130fa4bd4f1SScott Jiang	depends on BF60x
131fa4bd4f1SScott Jiang	help
132fa4bd4f1SScott Jiang	  This is the SPI controller v3 master driver
133fa4bd4f1SScott Jiang	  found on Blackfin 60x processor.
134fa4bd4f1SScott Jiang
1359c3e7375SCliff Caiconfig SPI_BFIN_SPORT
1369c3e7375SCliff Cai	tristate "SPI bus via Blackfin SPORT"
1379c3e7375SCliff Cai	depends on BLACKFIN
1389c3e7375SCliff Cai	help
1399c3e7375SCliff Cai	  Enable support for a SPI bus via the Blackfin SPORT peripheral.
1409c3e7375SCliff Cai
1410fc6a323SRafał Miłeckiconfig SPI_BCM53XX
1420fc6a323SRafał Miłecki	tristate "Broadcom BCM53xx SPI controller"
1430fc6a323SRafał Miłecki	depends on ARCH_BCM_5301X
144933fc7b0SAxel Lin	depends on BCMA_POSSIBLE
145933fc7b0SAxel Lin	select BCMA
1460fc6a323SRafał Miłecki	help
1470fc6a323SRafał Miłecki          Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.
1480fc6a323SRafał Miłecki
149b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
150b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
15144d8fb30SJonas Gorski	depends on BCM63XX || COMPILE_TEST
152b42dfed8SFlorian Fainelli	help
153b42dfed8SFlorian Fainelli          Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
154b42dfed8SFlorian Fainelli
155142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
156142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
157142168ebSJonas Gorski	depends on BCM63XX || COMPILE_TEST
158142168ebSJonas Gorski	help
159142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
160142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
161142168ebSJonas Gorski
162fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
163fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
164279e4af7SJaedon Shin	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
165279e4af7SJaedon Shin			BMIPS_GENERIC || COMPILE_TEST
166fa236a7eSKamal Dasu	default ARCH_BCM_IPROC
167fa236a7eSKamal Dasu	help
168fa236a7eSKamal Dasu	  Enables support for the Broadcom SPI flash and MSPI controller.
169fa236a7eSKamal Dasu	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
170fa236a7eSKamal Dasu	  based platforms. This driver works for both SPI master for spi-nor
171fa236a7eSKamal Dasu	  flash device as well as MSPI device.
172fa236a7eSKamal Dasu
1739904f22aSDavid Brownellconfig SPI_BITBANG
174d29389deSDavid Brownell	tristate "Utilities for Bitbanging SPI masters"
1759904f22aSDavid Brownell	help
1769904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
1779904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
1789904f22aSDavid Brownell	  port, etc).  Or, some systems' SPI master controller drivers use
1799904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
1809904f22aSDavid Brownell	  hardware shift registers.
1819904f22aSDavid Brownell
1829904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
1839904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
1849904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
1858ae12a0dSDavid Brownell
1867111763dSDavid Brownellconfig SPI_BUTTERFLY
1877111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
1886291fe2aSRobert P. J. Day	depends on PARPORT
1897111763dSDavid Brownell	select SPI_BITBANG
1907111763dSDavid Brownell	help
1917111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
1927111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
1937111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
1947111763dSDavid Brownell	  This same cable can be used to flash new firmware.
1957111763dSDavid Brownell
196c474b386SHarini Katakamconfig SPI_CADENCE
197c474b386SHarini Katakam	tristate "Cadence SPI controller"
198c474b386SHarini Katakam	help
199c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
20038b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
201c474b386SHarini Katakam
202161b96c3SAlexander Shiyanconfig SPI_CLPS711X
203161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
2045634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
205161b96c3SAlexander Shiyan	help
206161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
207161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
208161b96c3SAlexander Shiyan
20934b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
21034b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
211bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
21234b8c661SSteven King	help
21334b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
21434b8c661SSteven King	  mode.
21534b8c661SSteven King
216358934a6SSandeep Paulrajconfig SPI_DAVINCI
21723ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
21878848914SSantosh Shilimkar	depends on ARCH_DAVINCI || ARCH_KEYSTONE
219358934a6SSandeep Paulraj	select SPI_BITBANG
220358934a6SSandeep Paulraj	help
22123ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
22223ce17adSSekhar Nori
223e32bb870SMark Brownconfig SPI_DESIGNWARE
224e32bb870SMark Brown	tristate "DesignWare SPI controller core support"
225e32bb870SMark Brown	help
226e32bb870SMark Brown	  general driver for SPI controller core from DesignWare
227e32bb870SMark Brown
228e32bb870SMark Brownconfig SPI_DW_PCI
229e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
230e32bb870SMark Brown	depends on SPI_DESIGNWARE && PCI
231e32bb870SMark Brown
232e32bb870SMark Brownconfig SPI_DW_MID_DMA
233e32bb870SMark Brown	bool "DMA support for DW SPI controller on Intel MID platform"
234e32bb870SMark Brown	depends on SPI_DW_PCI && DW_DMAC_PCI
235e32bb870SMark Brown
236e32bb870SMark Brownconfig SPI_DW_MMIO
237e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
238e32bb870SMark Brown	depends on SPI_DESIGNWARE
239e32bb870SMark Brown
2403d8c0d74SLaurentiu Palcuconfig SPI_DLN2
2413d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
2423d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
2433d8c0d74SLaurentiu Palcu       help
2443d8c0d74SLaurentiu Palcu         If you say yes to this option, support will be included for Diolan
2453d8c0d74SLaurentiu Palcu         DLN2, a USB to SPI interface.
2463d8c0d74SLaurentiu Palcu
2473d8c0d74SLaurentiu Palcu         This driver can also be built as a module.  If so, the module
2483d8c0d74SLaurentiu Palcu         will be called spi-dln2.
2493d8c0d74SLaurentiu Palcu
25086f8973cSUwe Kleine-Königconfig SPI_EFM32
25186f8973cSUwe Kleine-König	tristate "EFM32 SPI controller"
25286f8973cSUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
25386f8973cSUwe Kleine-König	select SPI_BITBANG
25486f8973cSUwe Kleine-König	help
25586f8973cSUwe Kleine-König	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.
25686f8973cSUwe Kleine-König
257011f23a3SMika Westerbergconfig SPI_EP93XX
258011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
259f59838a0SGeert Uytterhoeven	depends on HAS_DMA
260dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
261011f23a3SMika Westerberg	help
262011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
263011f23a3SMika Westerberg	  mode.
264011f23a3SMika Westerberg
2656cd3c7e2SThomas Langerconfig SPI_FALCON
2669c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
2676cd3c7e2SThomas Langer	depends on SOC_FALCON
2686cd3c7e2SThomas Langer	help
2696cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
2706cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
2716cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
2726cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
2736cd3c7e2SThomas Langer
2745314987dSGao Panconfig SPI_FSL_LPSPI
2755314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
2765314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
2775314987dSGao Pan	help
2785314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
2795314987dSGao Pan
280d29389deSDavid Brownellconfig SPI_GPIO
281d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
2825c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
283d29389deSDavid Brownell	select SPI_BITBANG
284d29389deSDavid Brownell	help
285d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
286d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
287d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
288d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
289d29389deSDavid Brownell	  for the chipselect used by this controller driver.
290d29389deSDavid Brownell
291d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
292d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
293d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
294d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
295d29389deSDavid Brownell
296deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
297deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
298deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
299deba2580SAndrew Bresticker	help
300deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
301deba2580SAndrew Bresticker	  IMG SoCs.
302deba2580SAndrew Bresticker
303b5f3294fSSascha Hauerconfig SPI_IMX
304b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
305dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
306b5f3294fSSascha Hauer	select SPI_BITBANG
307b5f3294fSSascha Hauer	help
308b5f3294fSSascha Hauer	  This enables using the Freescale i.MX SPI controllers in master
309b5f3294fSSascha Hauer	  mode.
310b5f3294fSSascha Hauer
3112cb1b3b3SRich Felkerconfig SPI_JCORE
3122cb1b3b3SRich Felker	tristate "J-Core SPI Master"
3132cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
3142cb1b3b3SRich Felker	help
3152cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
3162cb1b3b3SRich Felker	  synthesizable, open source SoC.
3172cb1b3b3SRich Felker
31878961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
31978961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
3206d1f56aaSKees Cook	depends on PARPORT
32178961a57SKaiwan N Billimoria	select SPI_BITBANG
32278961a57SKaiwan N Billimoria	help
32378961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
32478961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
32578961a57SKaiwan N Billimoria	  a parallel port.
32678961a57SKaiwan N Billimoria
3277ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
3287ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
3297ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
3307ecbfff6SSergei Ianovich	help
3317ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
3327ecbfff6SSergei Ianovich	  DS-1302 real time clock.
3337ecbfff6SSergei Ianovich
3347ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
3357ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
3367ecbfff6SSergei Ianovich
33742bbb709SGrant Likelyconfig SPI_MPC52xx
33842bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
3397433f2b7SPaul Bolle	depends on PPC_MPC52xx
34042bbb709SGrant Likely	help
34142bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
34242bbb709SGrant Likely	  mode.
34342bbb709SGrant Likely
34400b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
34500b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
3466d1f56aaSKees Cook	depends on PPC_MPC52xx
34700b8fd23SDragos Carp	help
34800b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
34900b8fd23SDragos Carp	  Controller in master SPI mode.
35000b8fd23SDragos Carp
3516e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
3526e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
3535e8afa34SUwe Kleine-König	depends on PPC_MPC512x
3546e27388fSAnatolij Gustschin	help
3556e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
3566e27388fSAnatolij Gustschin	  Controller in SPI master mode.
3576e27388fSAnatolij Gustschin
358b36ece83SMingkai Huconfig SPI_FSL_LIB
359b36ece83SMingkai Hu	tristate
360e8beacbbSAndreas Larsson	depends on OF
361e8beacbbSAndreas Larsson
362e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
363e8beacbbSAndreas Larsson	tristate
364b36ece83SMingkai Hu	depends on FSL_SOC
365b36ece83SMingkai Hu
3663272029fSMingkai Huconfig SPI_FSL_SPI
36738455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
368e8beacbbSAndreas Larsson	depends on OF
369b36ece83SMingkai Hu	select SPI_FSL_LIB
370e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
371ccf06998SKumar Gala	help
3723272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
3733272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
3743272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
375447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
376447b0c7bSAndreas Larsson	  master mode.
377ccf06998SKumar Gala
378349ad66cSChao Fuconfig SPI_FSL_DSPI
379349ad66cSChao Fu	tristate "Freescale DSPI controller"
3801acbdeb9SChao Fu	select REGMAP_MMIO
381dadab2d4SGeert Uytterhoeven	depends on HAS_DMA
382*ec7ed770SAngelo Dureghello	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
383349ad66cSChao Fu	help
384349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
385349ad66cSChao Fu	  mode. VF610 platform uses the controller.
386349ad66cSChao Fu
3878b60d6c2SMingkai Huconfig SPI_FSL_ESPI
38838455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
3898b60d6c2SMingkai Hu	depends on FSL_SOC
3908b60d6c2SMingkai Hu	help
3918b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
3928b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
3938b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
3948b60d6c2SMingkai Hu
395454fa271SNeil Armstrongconfig SPI_MESON_SPICC
396454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
397454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
398454fa271SNeil Armstrong	help
399454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
400454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
401454fa271SNeil Armstrong
402c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
403c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
404c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
4051327ecd4SBeniamino Galvani	select REGMAP_MMIO
406c3e4bc54SBeniamino Galvani	help
407c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
408c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
409c3e4bc54SBeniamino Galvani
410a568231fSLeilk Liuconfig SPI_MT65XX
411a568231fSLeilk Liu	tristate "MediaTek SPI controller"
412a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
413a568231fSLeilk Liu	help
414a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
415a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
416a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
417a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
418a568231fSLeilk Liu
419e32bb870SMark Brownconfig SPI_NUC900
420e32bb870SMark Brown	tristate "Nuvoton NUC900 series SPI"
421e32bb870SMark Brown	depends on ARCH_W90X900
422e32bb870SMark Brown	select SPI_BITBANG
423e32bb870SMark Brown	help
424e32bb870SMark Brown	  SPI driver for Nuvoton NUC900 series ARM SoCs
425e32bb870SMark Brown
42617f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
42717f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
428582c97f6SHauke Mehrtens	depends on LANTIQ || COMPILE_TEST
42917f84b79SHauke Mehrtens	help
43017f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
43117f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
43217f84b79SHauke Mehrtens	  the Danube, Falcon, xRX200, xRX300.
43317f84b79SHauke Mehrtens
434ce792580SThomas Chouconfig SPI_OC_TINY
435ce792580SThomas Chou	tristate "OpenCores tiny SPI"
4365c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
437ce792580SThomas Chou	select SPI_BITBANG
438ce792580SThomas Chou	help
439ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
440ce792580SThomas Chou
4416b52c00fSDavid Daneyconfig SPI_OCTEON
4426b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
4439ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
4446b52c00fSDavid Daney	help
4456b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
4466b52c00fSDavid Daney	  SOCs.
4476b52c00fSDavid Daney
448fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
449fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
4506291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
451fdb3c18dSDavid Brownell	select SPI_BITBANG
452fdb3c18dSDavid Brownell	help
453fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
454fdb3c18dSDavid Brownell
455ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
4568ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
457f59838a0SGeert Uytterhoeven	depends on HAS_DMA
458dd1053a9SMark Brown	depends on ARCH_OMAP2PLUS || COMPILE_TEST
4592b32e987SFranklin S Cooper Jr	select SG_SPLIT
460ccdc7bf9SSamuel Ortiz	help
4618ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
462ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
46369c202afSAndrea Paterniani
464505a1495SSourav Poddarconfig SPI_TI_QSPI
465505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
466967d6941SGeert Uytterhoeven	depends on HAS_DMA
467505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
468505a1495SSourav Poddar	help
469505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
470505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
471505a1495SSourav Poddar	  it only supports single write mode.
472505a1495SSourav Poddar
47335c9049bSCory Maccarroneconfig SPI_OMAP_100K
47435c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
475dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
47635c9049bSCory Maccarrone	help
47735c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
47835c9049bSCory Maccarrone
47960cadec9SShadi Ammouriconfig SPI_ORION
4806d1f56aaSKees Cook	tristate "Orion SPI master"
481710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
48260cadec9SShadi Ammouri	help
48373482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
48473482910SUwe Kleine-König	  and MVEBU chips.
48560cadec9SShadi Ammouri
4861bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
4871bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
4881bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
4891bcb9f8cSPurna Chandra Mandal	help
4901bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
4911bcb9f8cSPurna Chandra Mandal
4923270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
4933270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
4943270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
49521825ff1SPurna Chandra Mandal	depends on HAS_DMA
4963270ac23SPurna Chandra Mandal	help
4973270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
4983270ac23SPurna Chandra Mandal
499b43d65f7SLinus Walleijconfig SPI_PL022
5007f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
5017f9a4b97SLinus Walleij	depends on ARM_AMBA
502b43d65f7SLinus Walleij	default y if MACH_U300
503f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
504f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
505f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
506b43d65f7SLinus Walleij	help
507b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
508b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
509b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
510b43d65f7SLinus Walleij
51144dab88eSSteven A. Falcoconfig SPI_PPC4xx
51244dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
5135e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
51444dab88eSSteven A. Falco	select SPI_BITBANG
51544dab88eSSteven A. Falco	help
51644dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
51744dab88eSSteven A. Falco
518e0c9905eSStephen Streetconfig SPI_PXA2XX
519e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
520128345b1SArnd Bergmann	depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
521128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
522e0c9905eSStephen Street	help
523d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
524d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
525d6ea3df0SSebastian Andrzej Siewior	  additional documentation can be found a Documentation/spi/pxa2xx.
526d6ea3df0SSebastian Andrzej Siewior
527d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
528afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
529e0c9905eSStephen Street
53064e36824Saddy keconfig SPI_ROCKCHIP
53164e36824Saddy ke	tristate "Rockchip SPI controller driver"
53264e36824Saddy ke	help
53364e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
53464e36824Saddy ke
53564e36824Saddy ke	  If you say yes to this option, support will be included for
53664e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
53764e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
53864e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
53964e36824Saddy ke	  device.
54064e36824Saddy ke
54105aec357SBert Vermeulenconfig SPI_RB4XX
54205aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
54305aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
54405aec357SBert Vermeulen	help
54505aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
54605aec357SBert Vermeulen
5470b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
548e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
5493aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
5500b2182ddSShimoda, Yoshihiro	help
551e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
5520b2182ddSShimoda, Yoshihiro
55364ff247aSIvan T. Ivanovconfig SPI_QUP
55464ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
555058f11c8SPaul Bolle	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
55664ff247aSIvan T. Ivanov	help
55764ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
55864ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
55964ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
56064ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
56164ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
56264ff247aSIvan T. Ivanov
56364ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
56464ff247aSIvan T. Ivanov	  will be called spi_qup.
5658ae12a0dSDavid Brownell
56685abfaa7SDavid Brownellconfig SPI_S3C24XX
56785abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
5686d1f56aaSKees Cook	depends on ARCH_S3C24XX
569da0abc27SDavid Brownell	select SPI_BITBANG
57085abfaa7SDavid Brownell	help
57185abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
57285abfaa7SDavid Brownell
573bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
574bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
575bec0806cSBen Dooks	depends on SPI_S3C24XX
576bec0806cSBen Dooks	select FIQ
577bec0806cSBen Dooks	help
578bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
579bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
580bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
581bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
582bec0806cSBen Dooks	  TX and RX data paths.
583bec0806cSBen Dooks
584230d42d4SJassi Brarconfig SPI_S3C64XX
585230d42d4SJassi Brar	tristate "Samsung S3C64XX series type SPI"
586b099b131SJavier Martinez Canillas	depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
587230d42d4SJassi Brar	help
588230d42d4SJassi Brar	  SPI driver for Samsung S3C64XX and newer SoCs.
589230d42d4SJassi Brar
5903ce8859eSGuenter Roeckconfig SPI_SC18IS602
5913ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
5923ce8859eSGuenter Roeck	depends on I2C
5933ce8859eSGuenter Roeck	help
5943ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
5953ce8859eSGuenter Roeck
5968051effcSMagnus Dammconfig SPI_SH_MSIOF
5978051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
59851fd5090SGeert Uytterhoeven	depends on HAVE_CLK && HAS_DMA
5996ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
6008051effcSMagnus Damm	help
601746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
6028051effcSMagnus Damm
6035c05dd07SYoshihiro Shimodaconfig SPI_SH
6045c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
605dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
6065c05dd07SYoshihiro Shimoda	help
6075c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
6085c05dd07SYoshihiro Shimoda
60937e46640SMagnus Dammconfig SPI_SH_SCI
61037e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
6116291fe2aSRobert P. J. Day	depends on SUPERH
61237e46640SMagnus Damm	select SPI_BITBANG
61337e46640SMagnus Damm	help
61437e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
61537e46640SMagnus Damm
616d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
617d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
6183aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
619d1c8bbd7SKuninori Morimoto	help
620d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
621d1c8bbd7SKuninori Morimoto
6221cc2df9dSZhiwu Songconfig SPI_SIRF
6231cc2df9dSZhiwu Song	tristate "CSR SiRFprimaII SPI controller"
6247668c294SMark Brown	depends on SIRF_DMA
6251cc2df9dSZhiwu Song	select SPI_BITBANG
6261cc2df9dSZhiwu Song	help
6271cc2df9dSZhiwu Song	  SPI driver for CSR SiRFprimaII SoCs
6281cc2df9dSZhiwu Song
629dcbe0d84SAmelie Delaunayconfig SPI_STM32
630dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
631dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
632dcbe0d84SAmelie Delaunay	help
633dcbe0d84SAmelie Delaunay	  SPI driver for STMicroelectonics STM32 SoCs.
634dcbe0d84SAmelie Delaunay
635dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
636dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
637dcbe0d84SAmelie Delaunay	  PIO mode.
638dcbe0d84SAmelie Delaunay
6399e862375SLee Jonesconfig SPI_ST_SSC4
6409e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
64183fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
6429e862375SLee Jones	help
6439e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
6449e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
6459e862375SLee Jones
646b5f65179SMaxime Ripardconfig SPI_SUN4I
647b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
648b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
649b5f65179SMaxime Ripard	help
650b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
651b5f65179SMaxime Ripard
6523558fe90SMaxime Ripardconfig SPI_SUN6I
6533558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
6543558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
6557961656aSMark Brown	depends on RESET_CONTROLLER
6563558fe90SMaxime Ripard	help
6573558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
6583558fe90SMaxime Ripard
659646781d3SMarek Vasutconfig SPI_MXS
660646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
661646781d3SMarek Vasut	depends on ARCH_MXS
662646781d3SMarek Vasut	select STMP_DEVICE
663646781d3SMarek Vasut	help
664646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
665646781d3SMarek Vasut
666f333a331SLaxman Dewanganconfig SPI_TEGRA114
667f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
668dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
669f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
670f333a331SLaxman Dewangan	help
671f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
672f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
673f333a331SLaxman Dewangan	  get changed with this controller.
674f333a331SLaxman Dewangan
6758528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
6768528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
677dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
678ff2251e3SStephen Warren	depends on RESET_CONTROLLER
6798528547bSLaxman Dewangan	help
6808528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
6818528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
6828528547bSLaxman Dewangan	  device.
6838528547bSLaxman Dewangan
684dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
685dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
686dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
687f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
688dc4dc360SLaxman Dewangan	help
689dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
690dc4dc360SLaxman Dewangan
6917347a6c7SJan Glauberconfig SPI_THUNDERX
6927347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
6937347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
6947347a6c7SJan Glauber	help
6957347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
6967347a6c7SJan Glauber	  SOCs.
6977347a6c7SJan Glauber
698e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
69992b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
700f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
701e8b17b5bSMasayuki Ohtake	help
702cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
703cdbc8f04SGrant Likely	  used in some x86 embedded processors.
704e8b17b5bSMasayuki Ohtake
70592b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
70692b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
707f016aeb6STomoya MORINAGA
708f2cac67dSAtsushi Nemotoconfig SPI_TXX9
709f2cac67dSAtsushi Nemoto	tristate "Toshiba TXx9 SPI controller"
710dd1053a9SMark Brown	depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
711f2cac67dSAtsushi Nemoto	help
712f2cac67dSAtsushi Nemoto	  SPI driver for Toshiba TXx9 MIPS SoCs
713f2cac67dSAtsushi Nemoto
714b3165900SLars-Peter Clausenconfig SPI_XCOMM
715b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
716b3165900SLars-Peter Clausen	depends on I2C
717b3165900SLars-Peter Clausen	help
718b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
719b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
720b3165900SLars-Peter Clausen
721ae918c02SAndrei Konovalovconfig SPI_XILINX
722c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
7236d1f56aaSKees Cook	depends on HAS_IOMEM
724ae918c02SAndrei Konovalov	select SPI_BITBANG
725ae918c02SAndrei Konovalov	help
726ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
727ae918c02SAndrei Konovalov
728ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
729ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
730ae918c02SAndrei Konovalov
731c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
732c9da2e12SRichard Röjfors
733d8c80d49SKamlakant Patelconfig SPI_XLP
734d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
735251831bdSJayachandran C	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
736d8c80d49SKamlakant Patel	help
737d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
738d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
739d8c80d49SKamlakant Patel	  and XLP5XX.
740d8c80d49SKamlakant Patel
741d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
742d8c80d49SKamlakant Patel	  If unsure, say N.
743d8c80d49SKamlakant Patel
7446840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
7456840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
746be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
7476840cc29SMax Filippov	select SPI_BITBANG
7486840cc29SMax Filippov	help
7496840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
7506840cc29SMax Filippov
7516840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
7526840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
7536840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
7546840cc29SMax Filippov	  start and deasserting on end.
7556840cc29SMax Filippov
756dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
757dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
7582e1c75f4SGeert Uytterhoeven	depends on SPI_MASTER && HAS_DMA
759dfe11a11SRanjit Waghmode	help
760dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
761dfe11a11SRanjit Waghmode
7628ae12a0dSDavid Brownell#
7638ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
7648ae12a0dSDavid Brownell#
7658ae12a0dSDavid Brownell
7668ae12a0dSDavid Brownell#
7678ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
7688ae12a0dSDavid Brownell# being probably the most widely used ones.
7698ae12a0dSDavid Brownell#
7708ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
7718ae12a0dSDavid Brownell
772814a8d50SAndrea Paternianiconfig SPI_SPIDEV
773814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
774814a8d50SAndrea Paterniani	help
775814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
776814a8d50SAndrea Paterniani
777814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
778814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
779814a8d50SAndrea Paterniani
78097896195SMartin Sperlconfig SPI_LOOPBACK_TEST
78197896195SMartin Sperl	tristate "spi loopback test framework support"
78297896195SMartin Sperl	depends on m
78397896195SMartin Sperl	help
78497896195SMartin Sperl	  This enables the SPI loopback testing framework driver
78597896195SMartin Sperl
78697896195SMartin Sperl	  primarily used for development of spi_master drivers
78797896195SMartin Sperl	  and to detect regressions
78897896195SMartin Sperl
789447aef1aSBen Dooksconfig SPI_TLE62X0
790447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
7916291fe2aSRobert P. J. Day	depends on SYSFS
792447aef1aSBen Dooks	help
793447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
794447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
795447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
796447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
797447aef1aSBen Dooks
7988ae12a0dSDavid Brownell#
7998ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
8008ae12a0dSDavid Brownell#
8018ae12a0dSDavid Brownell
8026291fe2aSRobert P. J. Dayendif # SPI_MASTER
8036291fe2aSRobert P. J. Day
8046c364062SGeert Uytterhoeven#
8056c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
8066c364062SGeert Uytterhoeven#
8076c364062SGeert Uytterhoeven
8086c364062SGeert Uytterhoevenconfig SPI_SLAVE
8096c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
8106c364062SGeert Uytterhoeven	help
8116c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
8126c364062SGeert Uytterhoeven	  slave protocol handlers.
8136c364062SGeert Uytterhoeven
8146c364062SGeert Uytterhoevenif SPI_SLAVE
8156c364062SGeert Uytterhoeven
81629f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
81729f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
81829f9ffa0SGeert Uytterhoeven	help
81929f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
82029f9ffa0SGeert Uytterhoeven	  SPI message.
82129f9ffa0SGeert Uytterhoeven
822ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
823ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
824ce70e06cSGeert Uytterhoeven	help
825ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
826ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
827ce70e06cSGeert Uytterhoeven
8286c364062SGeert Uytterhoevenendif # SPI_SLAVE
8298ae12a0dSDavid Brownell
83079d8c7a8SAlessandro Guidoendif # SPI
831