xref: /linux/drivers/spi/Kconfig (revision 7ecbfff6711fb331591003ac32c002ce55a0758f)
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
70754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
71754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
72f59838a0SGeert Uytterhoeven	depends on HAS_DMA
73dd1053a9SMark Brown	depends on (ARCH_AT91 || AVR32 || COMPILE_TEST)
74754ce4f2SHaavard Skinnemoen	help
75754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
76754ce4f2SHaavard Skinnemoen	  many AT32 (AVR32) and AT91 (ARM) chips.
77754ce4f2SHaavard Skinnemoen
78f8043872SChris Bootconfig SPI_BCM2835
79f8043872SChris Boot	tristate "BCM2835 SPI controller"
80e0d58cdcSYoshinori Sato	depends on GPIOLIB
81dd1053a9SMark Brown	depends on ARCH_BCM2835 || COMPILE_TEST
828844d0f1SGuenter Roeck	depends on GPIOLIB
83f8043872SChris Boot	help
84f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
85f8043872SChris Boot
86f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
87f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
88f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
89f8043872SChris Boot	  not supported.
90f8043872SChris Boot
911ea29b39SMartin Sperlconfig SPI_BCM2835AUX
921ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
931ea29b39SMartin Sperl	depends on ARCH_BCM2835 || COMPILE_TEST
941ea29b39SMartin Sperl	depends on GPIOLIB
951ea29b39SMartin Sperl	help
961ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
971ea29b39SMartin Sperl
981ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
991ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1001ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1011ea29b39SMartin Sperl
10222ac3e82SScott Jiangconfig SPI_BFIN5XX
103a5f6abd4SWu, Bryan	tristate "SPI controller driver for ADI Blackfin5xx"
104fa4bd4f1SScott Jiang	depends on BLACKFIN && !BF60x
105a5f6abd4SWu, Bryan	help
106a5f6abd4SWu, Bryan	  This is the SPI controller master driver for Blackfin 5xx processor.
107a5f6abd4SWu, Bryan
108766e3721SScott Jiangconfig SPI_ADI_V3
109766e3721SScott Jiang	tristate "SPI controller v3 for ADI"
110fa4bd4f1SScott Jiang	depends on BF60x
111fa4bd4f1SScott Jiang	help
112fa4bd4f1SScott Jiang	  This is the SPI controller v3 master driver
113fa4bd4f1SScott Jiang	  found on Blackfin 60x processor.
114fa4bd4f1SScott Jiang
1159c3e7375SCliff Caiconfig SPI_BFIN_SPORT
1169c3e7375SCliff Cai	tristate "SPI bus via Blackfin SPORT"
1179c3e7375SCliff Cai	depends on BLACKFIN
1189c3e7375SCliff Cai	help
1199c3e7375SCliff Cai	  Enable support for a SPI bus via the Blackfin SPORT peripheral.
1209c3e7375SCliff Cai
12163bd2359SJan Nikitenkoconfig SPI_AU1550
122809f36c6SManuel Lauss	tristate "Au1550/Au1200/Au1300 SPI Controller"
1236d1f56aaSKees Cook	depends on MIPS_ALCHEMY
12463bd2359SJan Nikitenko	select SPI_BITBANG
12563bd2359SJan Nikitenko	help
12663bd2359SJan Nikitenko	  If you say yes to this option, support will be included for the
127809f36c6SManuel Lauss	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
12863bd2359SJan Nikitenko
1290fc6a323SRafał Miłeckiconfig SPI_BCM53XX
1300fc6a323SRafał Miłecki	tristate "Broadcom BCM53xx SPI controller"
1310fc6a323SRafał Miłecki	depends on ARCH_BCM_5301X
132933fc7b0SAxel Lin	depends on BCMA_POSSIBLE
133933fc7b0SAxel Lin	select BCMA
1340fc6a323SRafał Miłecki	help
1350fc6a323SRafał Miłecki          Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.
1360fc6a323SRafał Miłecki
137b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
138b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
13944d8fb30SJonas Gorski	depends on BCM63XX || COMPILE_TEST
140b42dfed8SFlorian Fainelli	help
141b42dfed8SFlorian Fainelli          Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
142b42dfed8SFlorian Fainelli
143142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
144142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
145142168ebSJonas Gorski	depends on BCM63XX || COMPILE_TEST
146142168ebSJonas Gorski	help
147142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
148142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
149142168ebSJonas Gorski
1509904f22aSDavid Brownellconfig SPI_BITBANG
151d29389deSDavid Brownell	tristate "Utilities for Bitbanging SPI masters"
1529904f22aSDavid Brownell	help
1539904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
1549904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
1559904f22aSDavid Brownell	  port, etc).  Or, some systems' SPI master controller drivers use
1569904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
1579904f22aSDavid Brownell	  hardware shift registers.
1589904f22aSDavid Brownell
1599904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
1609904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
1619904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
1628ae12a0dSDavid Brownell
1637111763dSDavid Brownellconfig SPI_BUTTERFLY
1647111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
1656291fe2aSRobert P. J. Day	depends on PARPORT
1667111763dSDavid Brownell	select SPI_BITBANG
1677111763dSDavid Brownell	help
1687111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
1697111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
1707111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
1717111763dSDavid Brownell	  This same cable can be used to flash new firmware.
1727111763dSDavid Brownell
173c474b386SHarini Katakamconfig SPI_CADENCE
174c474b386SHarini Katakam	tristate "Cadence SPI controller"
175c474b386SHarini Katakam	help
176c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
17738b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
178c474b386SHarini Katakam
179161b96c3SAlexander Shiyanconfig SPI_CLPS711X
180161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
1815634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
182161b96c3SAlexander Shiyan	help
183161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
184161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
185161b96c3SAlexander Shiyan
18634b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
18734b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
188bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
18934b8c661SSteven King	help
19034b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
19134b8c661SSteven King	  mode.
19234b8c661SSteven King
193358934a6SSandeep Paulrajconfig SPI_DAVINCI
19423ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
19578848914SSantosh Shilimkar	depends on ARCH_DAVINCI || ARCH_KEYSTONE
196358934a6SSandeep Paulraj	select SPI_BITBANG
197358934a6SSandeep Paulraj	help
19823ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
19923ce17adSSekhar Nori
2003d8c0d74SLaurentiu Palcuconfig SPI_DLN2
2013d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
2023d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
2033d8c0d74SLaurentiu Palcu       help
2043d8c0d74SLaurentiu Palcu         If you say yes to this option, support will be included for Diolan
2053d8c0d74SLaurentiu Palcu         DLN2, a USB to SPI interface.
2063d8c0d74SLaurentiu Palcu
2073d8c0d74SLaurentiu Palcu         This driver can also be built as a module.  If so, the module
2083d8c0d74SLaurentiu Palcu         will be called spi-dln2.
2093d8c0d74SLaurentiu Palcu
21086f8973cSUwe Kleine-Königconfig SPI_EFM32
21186f8973cSUwe Kleine-König	tristate "EFM32 SPI controller"
21286f8973cSUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
21386f8973cSUwe Kleine-König	select SPI_BITBANG
21486f8973cSUwe Kleine-König	help
21586f8973cSUwe Kleine-König	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.
21686f8973cSUwe Kleine-König
217011f23a3SMika Westerbergconfig SPI_EP93XX
218011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
219f59838a0SGeert Uytterhoeven	depends on HAS_DMA
220dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
221011f23a3SMika Westerberg	help
222011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
223011f23a3SMika Westerberg	  mode.
224011f23a3SMika Westerberg
2256cd3c7e2SThomas Langerconfig SPI_FALCON
2266cd3c7e2SThomas Langer	tristate "Falcon SPI controller support"
2276cd3c7e2SThomas Langer	depends on SOC_FALCON
2286cd3c7e2SThomas Langer	help
2296cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
2306cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
2316cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
2326cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
2336cd3c7e2SThomas Langer
234d29389deSDavid Brownellconfig SPI_GPIO
235d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
2365c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
237d29389deSDavid Brownell	select SPI_BITBANG
238d29389deSDavid Brownell	help
239d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
240d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
241d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
242d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
243d29389deSDavid Brownell	  for the chipselect used by this controller driver.
244d29389deSDavid Brownell
245d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
246d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
247d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
248d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
249d29389deSDavid Brownell
250deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
251deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
252deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
253deba2580SAndrew Bresticker	help
254deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
255deba2580SAndrew Bresticker	  IMG SoCs.
256deba2580SAndrew Bresticker
257b5f3294fSSascha Hauerconfig SPI_IMX
258b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
259dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
260b5f3294fSSascha Hauer	select SPI_BITBANG
261b5f3294fSSascha Hauer	help
262b5f3294fSSascha Hauer	  This enables using the Freescale i.MX SPI controllers in master
263b5f3294fSSascha Hauer	  mode.
264b5f3294fSSascha Hauer
26578961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
26678961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
2676d1f56aaSKees Cook	depends on PARPORT
26878961a57SKaiwan N Billimoria	select SPI_BITBANG
26978961a57SKaiwan N Billimoria	help
27078961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
27178961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
27278961a57SKaiwan N Billimoria	  a parallel port.
27378961a57SKaiwan N Billimoria
274*7ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
275*7ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
276*7ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
277*7ecbfff6SSergei Ianovich	help
278*7ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
279*7ecbfff6SSergei Ianovich	  DS-1302 real time clock.
280*7ecbfff6SSergei Ianovich
281*7ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
282*7ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
283*7ecbfff6SSergei Ianovich
28442bbb709SGrant Likelyconfig SPI_MPC52xx
28542bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
2867433f2b7SPaul Bolle	depends on PPC_MPC52xx
28742bbb709SGrant Likely	help
28842bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
28942bbb709SGrant Likely	  mode.
29042bbb709SGrant Likely
29100b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
29200b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
2936d1f56aaSKees Cook	depends on PPC_MPC52xx
29400b8fd23SDragos Carp	help
29500b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
29600b8fd23SDragos Carp	  Controller in master SPI mode.
29700b8fd23SDragos Carp
2986e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
2996e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
3005e8afa34SUwe Kleine-König	depends on PPC_MPC512x
3016e27388fSAnatolij Gustschin	help
3026e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
3036e27388fSAnatolij Gustschin	  Controller in SPI master mode.
3046e27388fSAnatolij Gustschin
305b36ece83SMingkai Huconfig SPI_FSL_LIB
306b36ece83SMingkai Hu	tristate
307e8beacbbSAndreas Larsson	depends on OF
308e8beacbbSAndreas Larsson
309e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
310e8beacbbSAndreas Larsson	tristate
311b36ece83SMingkai Hu	depends on FSL_SOC
312b36ece83SMingkai Hu
3133272029fSMingkai Huconfig SPI_FSL_SPI
31438455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
315e8beacbbSAndreas Larsson	depends on OF
316b36ece83SMingkai Hu	select SPI_FSL_LIB
317e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
318ccf06998SKumar Gala	help
3193272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
3203272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
3213272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
322447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
323447b0c7bSAndreas Larsson	  master mode.
324ccf06998SKumar Gala
325349ad66cSChao Fuconfig SPI_FSL_DSPI
326349ad66cSChao Fu	tristate "Freescale DSPI controller"
3271acbdeb9SChao Fu	select REGMAP_MMIO
3285a60adafSYuan Yao	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
329349ad66cSChao Fu	help
330349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
331349ad66cSChao Fu	  mode. VF610 platform uses the controller.
332349ad66cSChao Fu
3338b60d6c2SMingkai Huconfig SPI_FSL_ESPI
33438455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
3358b60d6c2SMingkai Hu	depends on FSL_SOC
3368b60d6c2SMingkai Hu	select SPI_FSL_LIB
3378b60d6c2SMingkai Hu	help
3388b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
3398b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
3408b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
3418b60d6c2SMingkai Hu
342c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
343c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
344c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
3451327ecd4SBeniamino Galvani	select REGMAP_MMIO
346c3e4bc54SBeniamino Galvani	help
347c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
348c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
349c3e4bc54SBeniamino Galvani
350a568231fSLeilk Liuconfig SPI_MT65XX
351a568231fSLeilk Liu	tristate "MediaTek SPI controller"
352a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
353a568231fSLeilk Liu	help
354a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
355a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
356a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
357a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
358a568231fSLeilk Liu
359ce792580SThomas Chouconfig SPI_OC_TINY
360ce792580SThomas Chou	tristate "OpenCores tiny SPI"
3615c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
362ce792580SThomas Chou	select SPI_BITBANG
363ce792580SThomas Chou	help
364ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
365ce792580SThomas Chou
3666b52c00fSDavid Daneyconfig SPI_OCTEON
3676b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
3689ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
3696b52c00fSDavid Daney	help
3706b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
3716b52c00fSDavid Daney	  SOCs.
3726b52c00fSDavid Daney
373fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
374fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
3756291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
376fdb3c18dSDavid Brownell	select SPI_BITBANG
377fdb3c18dSDavid Brownell	help
378fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
379fdb3c18dSDavid Brownell
380ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
3818ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
382f59838a0SGeert Uytterhoeven	depends on HAS_DMA
383f6ab395bSPaul Bolle	depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH
384dd1053a9SMark Brown	depends on ARCH_OMAP2PLUS || COMPILE_TEST
385ccdc7bf9SSamuel Ortiz	help
3868ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
387ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
38869c202afSAndrea Paterniani
389505a1495SSourav Poddarconfig SPI_TI_QSPI
390505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
391505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
392505a1495SSourav Poddar	help
393505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
394505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
395505a1495SSourav Poddar	  it only supports single write mode.
396505a1495SSourav Poddar
39735c9049bSCory Maccarroneconfig SPI_OMAP_100K
39835c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
399dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
40035c9049bSCory Maccarrone	help
40135c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
40235c9049bSCory Maccarrone
40360cadec9SShadi Ammouriconfig SPI_ORION
4046d1f56aaSKees Cook	tristate "Orion SPI master"
405dd1053a9SMark Brown	depends on PLAT_ORION || COMPILE_TEST
40660cadec9SShadi Ammouri	help
40760cadec9SShadi Ammouri	  This enables using the SPI master controller on the Orion chips.
40860cadec9SShadi Ammouri
409b43d65f7SLinus Walleijconfig SPI_PL022
4107f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
4117f9a4b97SLinus Walleij	depends on ARM_AMBA
412b43d65f7SLinus Walleij	default y if MACH_U300
413f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
414f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
415f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
416b43d65f7SLinus Walleij	help
417b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
418b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
419b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
420b43d65f7SLinus Walleij
42144dab88eSSteven A. Falcoconfig SPI_PPC4xx
42244dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
4235e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
42444dab88eSSteven A. Falco	select SPI_BITBANG
42544dab88eSSteven A. Falco	help
42644dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
42744dab88eSSteven A. Falco
4285928808eSMika Westerbergconfig SPI_PXA2XX_DMA
4295928808eSMika Westerberg	def_bool y
4306356437eSDaniel Mack	depends on SPI_PXA2XX
431cd7bed00SMika Westerberg
432e0c9905eSStephen Streetconfig SPI_PXA2XX
433e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
4340244ad00SMartin Schwidefsky	depends on (ARCH_PXA || PCI || ACPI)
435d6ea3df0SSebastian Andrzej Siewior	select PXA_SSP if ARCH_PXA
436e0c9905eSStephen Street	help
437d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
438d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
439d6ea3df0SSebastian Andrzej Siewior	  additional documentation can be found a Documentation/spi/pxa2xx.
440d6ea3df0SSebastian Andrzej Siewior
441d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
442afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
443e0c9905eSStephen Street
44464e36824Saddy keconfig SPI_ROCKCHIP
44564e36824Saddy ke	tristate "Rockchip SPI controller driver"
446c1536908SMark Brown	depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH
44764e36824Saddy ke	help
44864e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
44964e36824Saddy ke
45064e36824Saddy ke	  If you say yes to this option, support will be included for
45164e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
45264e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
45364e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
45464e36824Saddy ke	  device.
45564e36824Saddy ke
45605aec357SBert Vermeulenconfig SPI_RB4XX
45705aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
45805aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
45905aec357SBert Vermeulen	help
46005aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
46105aec357SBert Vermeulen
4620b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
463e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
464533465a8SGeert Uytterhoeven	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
4650b2182ddSShimoda, Yoshihiro	help
466e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
4670b2182ddSShimoda, Yoshihiro
46864ff247aSIvan T. Ivanovconfig SPI_QUP
46964ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
470058f11c8SPaul Bolle	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
47164ff247aSIvan T. Ivanov	help
47264ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
47364ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
47464ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
47564ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
47664ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
47764ff247aSIvan T. Ivanov
47864ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
47964ff247aSIvan T. Ivanov	  will be called spi_qup.
4808ae12a0dSDavid Brownell
48185abfaa7SDavid Brownellconfig SPI_S3C24XX
48285abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
4836d1f56aaSKees Cook	depends on ARCH_S3C24XX
484da0abc27SDavid Brownell	select SPI_BITBANG
48585abfaa7SDavid Brownell	help
48685abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
48785abfaa7SDavid Brownell
488bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
489bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
490bec0806cSBen Dooks	depends on SPI_S3C24XX
491bec0806cSBen Dooks	select FIQ
492bec0806cSBen Dooks	help
493bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
494bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
495bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
496bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
497bec0806cSBen Dooks	  TX and RX data paths.
498bec0806cSBen Dooks
499230d42d4SJassi Brarconfig SPI_S3C64XX
500230d42d4SJassi Brar	tristate "Samsung S3C64XX series type SPI"
501bf77cba9SPadmavathi Venna	depends on (PLAT_SAMSUNG || ARCH_EXYNOS)
502230d42d4SJassi Brar	help
503230d42d4SJassi Brar	  SPI driver for Samsung S3C64XX and newer SoCs.
504230d42d4SJassi Brar
5053ce8859eSGuenter Roeckconfig SPI_SC18IS602
5063ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
5073ce8859eSGuenter Roeck	depends on I2C
5083ce8859eSGuenter Roeck	help
5093ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
5103ce8859eSGuenter Roeck
5118051effcSMagnus Dammconfig SPI_SH_MSIOF
5128051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
51351fd5090SGeert Uytterhoeven	depends on HAVE_CLK && HAS_DMA
5147ad35442SLaurent Pinchart	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
5158051effcSMagnus Damm	help
516746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
5178051effcSMagnus Damm
5185c05dd07SYoshihiro Shimodaconfig SPI_SH
5195c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
520dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
5215c05dd07SYoshihiro Shimoda	help
5225c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
5235c05dd07SYoshihiro Shimoda
52437e46640SMagnus Dammconfig SPI_SH_SCI
52537e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
5266291fe2aSRobert P. J. Day	depends on SUPERH
52737e46640SMagnus Damm	select SPI_BITBANG
52837e46640SMagnus Damm	help
52937e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
53037e46640SMagnus Damm
531d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
532d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
533dd1053a9SMark Brown	depends on ARCH_SHMOBILE || COMPILE_TEST
534d1c8bbd7SKuninori Morimoto	help
535d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
536d1c8bbd7SKuninori Morimoto
5371cc2df9dSZhiwu Songconfig SPI_SIRF
5381cc2df9dSZhiwu Song	tristate "CSR SiRFprimaII SPI controller"
5397668c294SMark Brown	depends on SIRF_DMA
5401cc2df9dSZhiwu Song	select SPI_BITBANG
5411cc2df9dSZhiwu Song	help
5421cc2df9dSZhiwu Song	  SPI driver for CSR SiRFprimaII SoCs
5431cc2df9dSZhiwu Song
5449e862375SLee Jonesconfig SPI_ST_SSC4
5459e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
5469e862375SLee Jones	depends on ARCH_STI
5479e862375SLee Jones	help
5489e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
5499e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
5509e862375SLee Jones
551b5f65179SMaxime Ripardconfig SPI_SUN4I
552b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
553b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
554b5f65179SMaxime Ripard	help
555b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
556b5f65179SMaxime Ripard
5573558fe90SMaxime Ripardconfig SPI_SUN6I
5583558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
5593558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
5607961656aSMark Brown	depends on RESET_CONTROLLER
5613558fe90SMaxime Ripard	help
5623558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
5633558fe90SMaxime Ripard
564646781d3SMarek Vasutconfig SPI_MXS
565646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
566646781d3SMarek Vasut	depends on ARCH_MXS
567646781d3SMarek Vasut	select STMP_DEVICE
568646781d3SMarek Vasut	help
569646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
570646781d3SMarek Vasut
571f333a331SLaxman Dewanganconfig SPI_TEGRA114
572f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
573dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
574f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
575f333a331SLaxman Dewangan	help
576f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
577f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
578f333a331SLaxman Dewangan	  get changed with this controller.
579f333a331SLaxman Dewangan
5808528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
5818528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
582dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
583ff2251e3SStephen Warren	depends on RESET_CONTROLLER
5848528547bSLaxman Dewangan	help
5858528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
5868528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
5878528547bSLaxman Dewangan	  device.
5888528547bSLaxman Dewangan
589dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
590dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
591dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
592f59838a0SGeert Uytterhoeven	depends on RESET_CONTROLLER && HAS_DMA
593dc4dc360SLaxman Dewangan	help
594dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
595dc4dc360SLaxman Dewangan
596e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
59792b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
598f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
599e8b17b5bSMasayuki Ohtake	help
600cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
601cdbc8f04SGrant Likely	  used in some x86 embedded processors.
602e8b17b5bSMasayuki Ohtake
60392b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
60492b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
605f016aeb6STomoya MORINAGA
606f2cac67dSAtsushi Nemotoconfig SPI_TXX9
607f2cac67dSAtsushi Nemoto	tristate "Toshiba TXx9 SPI controller"
608dd1053a9SMark Brown	depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
609f2cac67dSAtsushi Nemoto	help
610f2cac67dSAtsushi Nemoto	  SPI driver for Toshiba TXx9 MIPS SoCs
611f2cac67dSAtsushi Nemoto
612b3165900SLars-Peter Clausenconfig SPI_XCOMM
613b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
614b3165900SLars-Peter Clausen	depends on I2C
615b3165900SLars-Peter Clausen	help
616b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
617b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
618b3165900SLars-Peter Clausen
619ae918c02SAndrei Konovalovconfig SPI_XILINX
620c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
6216d1f56aaSKees Cook	depends on HAS_IOMEM
622ae918c02SAndrei Konovalov	select SPI_BITBANG
623ae918c02SAndrei Konovalov	help
624ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
625ae918c02SAndrei Konovalov
626ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
627ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
628ae918c02SAndrei Konovalov
629c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
630c9da2e12SRichard Röjfors
631d8c80d49SKamlakant Patelconfig SPI_XLP
632d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
633d8c80d49SKamlakant Patel	depends on CPU_XLP || COMPILE_TEST
634d8c80d49SKamlakant Patel	help
635d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
636d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
637d8c80d49SKamlakant Patel	  and XLP5XX.
638d8c80d49SKamlakant Patel
639d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
640d8c80d49SKamlakant Patel	  If unsure, say N.
641d8c80d49SKamlakant Patel
6426840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
6436840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
644be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
6456840cc29SMax Filippov	select SPI_BITBANG
6466840cc29SMax Filippov	help
6476840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
6486840cc29SMax Filippov
6496840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
6506840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
6516840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
6526840cc29SMax Filippov	  start and deasserting on end.
6536840cc29SMax Filippov
654dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
655dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
6562e1c75f4SGeert Uytterhoeven	depends on SPI_MASTER && HAS_DMA
657dfe11a11SRanjit Waghmode	help
658dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
659dfe11a11SRanjit Waghmode
66030eaed05SWan ZongShunconfig SPI_NUC900
66130eaed05SWan ZongShun	tristate "Nuvoton NUC900 series SPI"
6626d1f56aaSKees Cook	depends on ARCH_W90X900
66330eaed05SWan ZongShun	select SPI_BITBANG
66430eaed05SWan ZongShun	help
66530eaed05SWan ZongShun	  SPI driver for Nuvoton NUC900 series ARM SoCs
66630eaed05SWan ZongShun
6678ae12a0dSDavid Brownell#
6688ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
6698ae12a0dSDavid Brownell#
6708ae12a0dSDavid Brownell
671e24c7452SFeng Tangconfig SPI_DESIGNWARE
6728ca8d15aSJean-Hugues Deschenes	tristate "DesignWare SPI controller core support"
673e24c7452SFeng Tang	help
674e24c7452SFeng Tang	  general driver for SPI controller core from DesignWare
675e24c7452SFeng Tang
676e24c7452SFeng Tangconfig SPI_DW_PCI
677e24c7452SFeng Tang	tristate "PCI interface driver for DW SPI core"
678e24c7452SFeng Tang	depends on SPI_DESIGNWARE && PCI
679e24c7452SFeng Tang
6807063c0d9SFeng Tangconfig SPI_DW_MID_DMA
681ea092455SAndy Shevchenko	bool "DMA support for DW SPI controller on Intel MID platform"
682d744f826SAndy Shevchenko	depends on SPI_DW_PCI && DW_DMAC_PCI
6837063c0d9SFeng Tang
684f7b6fd6dSJean-Hugues Deschenesconfig SPI_DW_MMIO
685f7b6fd6dSJean-Hugues Deschenes	tristate "Memory-mapped io interface driver for DW SPI core"
686794f61a3SBaruch Siach	depends on SPI_DESIGNWARE
687f7b6fd6dSJean-Hugues Deschenes
6888ae12a0dSDavid Brownell#
6898ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
6908ae12a0dSDavid Brownell# being probably the most widely used ones.
6918ae12a0dSDavid Brownell#
6928ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
6938ae12a0dSDavid Brownell
694814a8d50SAndrea Paternianiconfig SPI_SPIDEV
695814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
696814a8d50SAndrea Paterniani	help
697814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
698814a8d50SAndrea Paterniani
699814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
700814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
701814a8d50SAndrea Paterniani
70297896195SMartin Sperlconfig SPI_LOOPBACK_TEST
70397896195SMartin Sperl	tristate "spi loopback test framework support"
70497896195SMartin Sperl	depends on m
70597896195SMartin Sperl	help
70697896195SMartin Sperl	  This enables the SPI loopback testing framework driver
70797896195SMartin Sperl
70897896195SMartin Sperl	  primarily used for development of spi_master drivers
70997896195SMartin Sperl	  and to detect regressions
71097896195SMartin Sperl
711447aef1aSBen Dooksconfig SPI_TLE62X0
712447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
7136291fe2aSRobert P. J. Day	depends on SYSFS
714447aef1aSBen Dooks	help
715447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
716447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
717447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
718447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
719447aef1aSBen Dooks
7208ae12a0dSDavid Brownell#
7218ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
7228ae12a0dSDavid Brownell#
7238ae12a0dSDavid Brownell
7246291fe2aSRobert P. J. Dayendif # SPI_MASTER
7256291fe2aSRobert P. J. Day
7268ae12a0dSDavid Brownell# (slave support would go here)
7278ae12a0dSDavid Brownell
72879d8c7a8SAlessandro Guidoendif # SPI
729