xref: /linux/drivers/spi/Kconfig (revision 0262163136de813894cb172aa8ccf762b92e5fd7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
28ae12a0dSDavid Brownell#
38ae12a0dSDavid Brownell# SPI driver configuration
48ae12a0dSDavid Brownell#
579d8c7a8SAlessandro Guidomenuconfig SPI
68ae12a0dSDavid Brownell	bool "SPI support"
779d8c7a8SAlessandro Guido	depends on HAS_IOMEM
88ae12a0dSDavid Brownell	help
98ae12a0dSDavid Brownell	  The "Serial Peripheral Interface" is a low level synchronous
108ae12a0dSDavid Brownell	  protocol.  Chips that support SPI can have data transfer rates
118ae12a0dSDavid Brownell	  up to several tens of Mbit/sec.  Chips are addressed with a
128ae12a0dSDavid Brownell	  controller and a chipselect.  Most SPI slaves don't support
138ae12a0dSDavid Brownell	  dynamic device discovery; some are even write-only or read-only.
148ae12a0dSDavid Brownell
153cb2fcccSMatt LaPlante	  SPI is widely used by microcontrollers to talk with sensors,
168ae12a0dSDavid Brownell	  eeprom and flash memory, codecs and various other controller
178ae12a0dSDavid Brownell	  chips, analog to digital (and d-to-a) converters, and more.
188ae12a0dSDavid Brownell	  MMC and SD cards can be accessed using SPI protocol; and for
198ae12a0dSDavid Brownell	  DataFlash cards used in MMC sockets, SPI must always be used.
208ae12a0dSDavid Brownell
218ae12a0dSDavid Brownell	  SPI is one of a family of similar protocols using a four wire
228ae12a0dSDavid Brownell	  interface (select, clock, data in, data out) including Microwire
238ae12a0dSDavid Brownell	  (half duplex), SSP, SSI, and PSP.  This driver framework should
248ae12a0dSDavid Brownell	  work with most such devices and controllers.
258ae12a0dSDavid Brownell
2679d8c7a8SAlessandro Guidoif SPI
2779d8c7a8SAlessandro Guido
288ae12a0dSDavid Brownellconfig SPI_DEBUG
296341e62bSChristoph Jaeger	bool "Debug support for SPI drivers"
3079d8c7a8SAlessandro Guido	depends on DEBUG_KERNEL
318ae12a0dSDavid Brownell	help
328ae12a0dSDavid Brownell	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
338ae12a0dSDavid Brownell	  sysfs, and debugfs support in SPI controller and protocol drivers.
348ae12a0dSDavid Brownell
358ae12a0dSDavid Brownell#
368ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers
378ae12a0dSDavid Brownell#
388ae12a0dSDavid Brownell
398ae12a0dSDavid Brownellconfig SPI_MASTER
406341e62bSChristoph Jaeger#	bool "SPI Master Support"
416341e62bSChristoph Jaeger	bool
428ae12a0dSDavid Brownell	default SPI
438ae12a0dSDavid Brownell	help
448ae12a0dSDavid Brownell	  If your system has an master-capable SPI controller (which
458ae12a0dSDavid Brownell	  provides the clock and chipselect), you can enable that
468ae12a0dSDavid Brownell	  controller and the protocol drivers for the SPI slave chips
478ae12a0dSDavid Brownell	  that are connected.
488ae12a0dSDavid Brownell
496291fe2aSRobert P. J. Dayif SPI_MASTER
506291fe2aSRobert P. J. Day
51c36ff266SBoris Brezillonconfig SPI_MEM
52c36ff266SBoris Brezillon	bool "SPI memory extension"
53c36ff266SBoris Brezillon	help
54c36ff266SBoris Brezillon	  Enable this option if you want to enable the SPI memory extension.
55c36ff266SBoris Brezillon	  This extension is meant to simplify interaction with SPI memories
5629e795caSFabio Estevam	  by providing a high-level interface to send memory-like commands.
57c36ff266SBoris Brezillon
588e02d188SDavid Lechnerconfig SPI_OFFLOAD
598e02d188SDavid Lechner	bool
608e02d188SDavid Lechner
618ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers"
628ae12a0dSDavid Brownell
63a403997cSLorenzo Bianconiconfig SPI_AIROHA_SNFI
64a403997cSLorenzo Bianconi	tristate "Airoha SPI NAND Flash Interface"
65a403997cSLorenzo Bianconi	depends on ARCH_AIROHA || COMPILE_TEST
66a403997cSLorenzo Bianconi	depends on SPI_MASTER
67a403997cSLorenzo Bianconi	select REGMAP_MMIO
68a403997cSLorenzo Bianconi	help
69a403997cSLorenzo Bianconi	  This enables support for SPI-NAND mode on the Airoha NAND
70a403997cSLorenzo Bianconi	  Flash Interface found on Airoha ARM SoCs. This controller
71a403997cSLorenzo Bianconi	  is implemented as a SPI-MEM controller.
72a403997cSLorenzo Bianconi
730b782531SThomas Chouconfig SPI_ALTERA
74b0c3d935SMatthew Gerlach	tristate "Altera SPI Controller platform driver"
75b0c3d935SMatthew Gerlach	select SPI_ALTERA_CORE
763c651973SXu Yilun	select REGMAP_MMIO
770b782531SThomas Chou	help
780b782531SThomas Chou	  This is the driver for the Altera SPI Controller.
790b782531SThomas Chou
80b0c3d935SMatthew Gerlachconfig SPI_ALTERA_CORE
8141f48a29SGeert Uytterhoeven	tristate "Altera SPI Controller core code" if COMPILE_TEST
82b0c3d935SMatthew Gerlach	select REGMAP
83b0c3d935SMatthew Gerlach	help
84b0c3d935SMatthew Gerlach	  "The core code for the Altera SPI Controller"
85b0c3d935SMatthew Gerlach
86ba2fc167SMatthew Gerlachconfig SPI_ALTERA_DFL
87ba2fc167SMatthew Gerlach	tristate "DFL bus driver for Altera SPI Controller"
88ba2fc167SMatthew Gerlach	depends on FPGA_DFL
89ba2fc167SMatthew Gerlach	select SPI_ALTERA_CORE
90ba2fc167SMatthew Gerlach	help
91ba2fc167SMatthew Gerlach	  This is a Device Feature List (DFL) bus driver for the
92ba2fc167SMatthew Gerlach	  Altera SPI master controller.  The SPI master is connected
93ba2fc167SMatthew Gerlach	  to a SPI slave to Avalon bridge in a Intel MAX BMC.
94ba2fc167SMatthew Gerlach
95909fac05SMartin Kurbanovconfig SPI_AMLOGIC_SPIFC_A1
96909fac05SMartin Kurbanov	tristate "Amlogic A1 SPIFC controller"
97909fac05SMartin Kurbanov	depends on ARCH_MESON || COMPILE_TEST
98909fac05SMartin Kurbanov	help
99909fac05SMartin Kurbanov	  This enables master mode support for the SPIFC (SPI flash
100909fac05SMartin Kurbanov	  controller) available in Amlogic A1 (A113L SoC).
101909fac05SMartin Kurbanov
102cef9991eSSunny Luoconfig SPI_AMLOGIC_SPISG
103cef9991eSSunny Luo	tristate "Amlogic SPISG controller"
104cef9991eSSunny Luo	depends on COMMON_CLK
105cef9991eSSunny Luo	depends on ARCH_MESON || COMPILE_TEST
106cef9991eSSunny Luo	help
107cef9991eSSunny Luo	  This enables master mode support for the SPISG (SPI scatter-gather
108cef9991eSSunny Luo	  communication controller), which is available on platforms such as
109cef9991eSSunny Luo	  Amlogic A4 SoCs.
110cef9991eSSunny Luo
111c36212b2SHector Martinconfig SPI_APPLE
112c36212b2SHector Martin	tristate "Apple SoC SPI Controller platform driver"
113c36212b2SHector Martin	depends on ARCH_APPLE || COMPILE_TEST
114c36212b2SHector Martin	help
115c36212b2SHector Martin	  This enables support for the SPI controller present on
116c36212b2SHector Martin	  many Apple SoCs, including the t8103 (M1), t8112 (M2)
117c36212b2SHector Martin	  and t600x (M1 Pro/Max/Ultra). Multiple SPI controller
118c36212b2SHector Martin	  instances are present on the SoC and each connects usually
119c36212b2SHector Martin	  to a single device like spi-nor (nvram), input device controller
120c36212b2SHector Martin	  or fingerprint sensor.
121c36212b2SHector Martin
122047980c5SChuanhong Guoconfig SPI_AR934X
123047980c5SChuanhong Guo	tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver"
124047980c5SChuanhong Guo	depends on ATH79 || COMPILE_TEST
125047980c5SChuanhong Guo	help
126047980c5SChuanhong Guo	  This enables support for the SPI controller present on the
127047980c5SChuanhong Guo	  Qualcomm Atheros AR934X/QCA95XX SoCs.
128047980c5SChuanhong Guo
1298efaef4dSGabor Juhosconfig SPI_ATH79
1308efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
131b172fd0cSAlban Bedel	depends on ATH79 || COMPILE_TEST
1328efaef4dSGabor Juhos	select SPI_BITBANG
1338efaef4dSGabor Juhos	help
1348efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
1358efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
1368efaef4dSGabor Juhos
1375762ab71SRomain Perierconfig SPI_ARMADA_3700
1385762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
1395762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
1405762ab71SRomain Perier	help
1415762ab71SRomain Perier	  This enables support for the SPI controller present on the
1425762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
1435762ab71SRomain Perier
144e3228ed9SCédric Le Goaterconfig SPI_ASPEED_SMC
145e3228ed9SCédric Le Goater	tristate "Aspeed flash controllers in SPI mode"
146e3228ed9SCédric Le Goater	depends on ARCH_ASPEED || COMPILE_TEST
147e3228ed9SCédric Le Goater	depends on OF
148e3228ed9SCédric Le Goater	help
149e3228ed9SCédric Le Goater	  This enables support for the Firmware Memory controller (FMC)
150e3228ed9SCédric Le Goater	  in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached
151e3228ed9SCédric Le Goater	  to SPI NOR chips, and support for the SPI flash memory
152e3228ed9SCédric Le Goater	  controller (SPI) for the host firmware. The implementation
153e3228ed9SCédric Le Goater	  only supports SPI NOR.
154e3228ed9SCédric Le Goater
155754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
156754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
157a687a533SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
1581cb84b02SGregory CLEMENT	depends on OF
159754ce4f2SHaavard Skinnemoen	help
160754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
161a687a533SArnd Bergmann	  many AT91 ARM chips.
162754ce4f2SHaavard Skinnemoen
163e1892546SRadu Pireaconfig SPI_AT91_USART
164e1892546SRadu Pirea	tristate "Atmel USART Controller SPI driver"
165e1892546SRadu Pirea	depends on (ARCH_AT91 || COMPILE_TEST)
166e1892546SRadu Pirea	depends on MFD_AT91_USART
167e1892546SRadu Pirea	help
168e1892546SRadu Pirea	  This selects a driver for the AT91 USART Controller as SPI Master,
169e1892546SRadu Pirea	  present on AT91 and SAMA5 SoC series.
170e1892546SRadu Pirea
1710e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI
1720e6aae08SPiotr Bugalski	tristate "Atmel Quad SPI Controller"
173b780c3f3STudor Ambarus	depends on ARCH_AT91 || COMPILE_TEST
1740e6aae08SPiotr Bugalski	depends on OF && HAS_IOMEM
1750e6aae08SPiotr Bugalski	help
1760e6aae08SPiotr Bugalski	  This enables support for the Quad SPI controller in master mode.
1770e6aae08SPiotr Bugalski	  This driver does not support generic SPI. The implementation only
1780e6aae08SPiotr Bugalski	  supports spi-mem interface.
1790e6aae08SPiotr Bugalski
180e32bb870SMark Brownconfig SPI_AU1550
181e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
182e32bb870SMark Brown	depends on MIPS_ALCHEMY
183e32bb870SMark Brown	select SPI_BITBANG
184e32bb870SMark Brown	help
185e32bb870SMark Brown	  If you say yes to this option, support will be included for the
186e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
187e32bb870SMark Brown
188b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
189b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
190b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
1915a19e198SDavid Lechner	select SPI_OFFLOAD
192b1353d1cSLars-Peter Clausen	help
193b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
194b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
195b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
196b1353d1cSLars-Peter Clausen
197f8043872SChris Bootconfig SPI_BCM2835
198f8043872SChris Boot	tristate "BCM2835 SPI controller"
199e0d58cdcSYoshinori Sato	depends on GPIOLIB
20035ceb675SFlorian Fainelli	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
201f8043872SChris Boot	help
202f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
203f8043872SChris Boot
204f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
205f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
206f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
207f8043872SChris Boot	  not supported.
208f8043872SChris Boot
2091ea29b39SMartin Sperlconfig SPI_BCM2835AUX
2101ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
21135ceb675SFlorian Fainelli	depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
2121ea29b39SMartin Sperl	help
2131ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
2141ea29b39SMartin Sperl
2151ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
2161ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
2171ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
2181ea29b39SMartin Sperl
219b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
220b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
2213a521450SÁlvaro Fernández Rojas	depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
222b42dfed8SFlorian Fainelli	help
223b42dfed8SFlorian Fainelli	  Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
224b42dfed8SFlorian Fainelli
225142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
226142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
22716f3c221SWilliam Zhang	depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST
228142168ebSJonas Gorski	help
229142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
230142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
231142168ebSJonas Gorski
232fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
233fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
234279e4af7SJaedon Shin	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
235279e4af7SJaedon Shin			BMIPS_GENERIC || COMPILE_TEST
236fa236a7eSKamal Dasu	default ARCH_BCM_IPROC
237fa236a7eSKamal Dasu	help
238fa236a7eSKamal Dasu	  Enables support for the Broadcom SPI flash and MSPI controller.
239fa236a7eSKamal Dasu	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
2403e84cdd4STudor Ambarus	  based platforms. This driver works for both SPI master for SPI NOR
241fa236a7eSKamal Dasu	  flash device as well as MSPI device.
242fa236a7eSKamal Dasu
243a38a2233SWilliam Zhangconfig SPI_BCMBCA_HSSPI
244a38a2233SWilliam Zhang	tristate "Broadcom BCMBCA HS SPI controller driver"
245a38a2233SWilliam Zhang	depends on ARCH_BCMBCA || COMPILE_TEST
246a38a2233SWilliam Zhang	help
247a38a2233SWilliam Zhang	  This enables support for the High Speed SPI controller present on
248a38a2233SWilliam Zhang	  newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller
249a38a2233SWilliam Zhang	  that adds the capability to allow the driver to control chip select
250a38a2233SWilliam Zhang	  explicitly.
251a38a2233SWilliam Zhang
2529904f22aSDavid Brownellconfig SPI_BITBANG
2538ee46db1SAndy Shevchenko	tristate "Utilities for Bitbanging SPI host controllers"
2549904f22aSDavid Brownell	help
2559904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
2569904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
2578ee46db1SAndy Shevchenko	  port, etc).  Or, some systems' SPI host controller drivers use
2589904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
2599904f22aSDavid Brownell	  hardware shift registers.
2609904f22aSDavid Brownell
2619904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
2629904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
2639904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
2648ae12a0dSDavid Brownell
2657111763dSDavid Brownellconfig SPI_BUTTERFLY
2667111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
2676291fe2aSRobert P. J. Day	depends on PARPORT
2687111763dSDavid Brownell	select SPI_BITBANG
2697111763dSDavid Brownell	help
2707111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
2717111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
2727111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
2737111763dSDavid Brownell	  This same cable can be used to flash new firmware.
2747111763dSDavid Brownell
275c474b386SHarini Katakamconfig SPI_CADENCE
276c474b386SHarini Katakam	tristate "Cadence SPI controller"
277c474b386SHarini Katakam	help
278c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
27938b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
280c474b386SHarini Katakam
28131fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE_QUADSPI
28231fb632bSRamuthevar Vadivel Murugan	tristate "Cadence Quad SPI controller"
283708eafebSThéo Lebrun	depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST)
28431fb632bSRamuthevar Vadivel Murugan	help
28531fb632bSRamuthevar Vadivel Murugan	  Enable support for the Cadence Quad SPI Flash controller.
28631fb632bSRamuthevar Vadivel Murugan
28731fb632bSRamuthevar Vadivel Murugan	  Cadence QSPI is a specialized controller for connecting an SPI
28831fb632bSRamuthevar Vadivel Murugan	  Flash over 1/2/4-bit wide bus. Enable this option if you have a
28931fb632bSRamuthevar Vadivel Murugan	  device with a Cadence QSPI controller and want to access the
29031fb632bSRamuthevar Vadivel Murugan	  Flash as an MTD device.
29131fb632bSRamuthevar Vadivel Murugan
292a16cc807SParshuram Thombareconfig SPI_CADENCE_XSPI
293a16cc807SParshuram Thombare	tristate "Cadence XSPI controller"
294d58ecc54SWitold Sadowski	depends on OF && HAS_IOMEM && 64BIT
295a16cc807SParshuram Thombare	depends on SPI_MEM
296a16cc807SParshuram Thombare	help
297a16cc807SParshuram Thombare	  Enable support for the Cadence XSPI Flash controller.
298a16cc807SParshuram Thombare
299a16cc807SParshuram Thombare	  Cadence XSPI is a specialized controller for connecting an SPI
30022913a63SRandy Dunlap	  Flash over up to 8-bit wide bus. Enable this option if you have a
301a16cc807SParshuram Thombare	  device with a Cadence XSPI controller and want to access the
302a16cc807SParshuram Thombare	  Flash as an MTD device.
303a16cc807SParshuram Thombare
3048846739fSJohannes Thumshirnconfig SPI_CH341
3058846739fSJohannes Thumshirn	tristate "CH341 USB2SPI adapter"
3068846739fSJohannes Thumshirn	depends on SPI_MASTER && USB
3078846739fSJohannes Thumshirn	help
3088846739fSJohannes Thumshirn	  Enables the SPI controller on the CH341a USB to serial chip
3098846739fSJohannes Thumshirn
310161b96c3SAlexander Shiyanconfig SPI_CLPS711X
311161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
3125634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
313161b96c3SAlexander Shiyan	help
314161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
315161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
316161b96c3SAlexander Shiyan
31734b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
31834b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
319bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
32034b8c661SSteven King	help
32134b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
32234b8c661SSteven King	  mode.
32334b8c661SSteven King
324ef75e767SLucas Tanureconfig SPI_CS42L43
325ef75e767SLucas Tanure	tristate "Cirrus Logic CS42L43 SPI controller"
326ef75e767SLucas Tanure	depends on MFD_CS42L43 && PINCTRL_CS42L43
327439fbc97SMaciej Strozek	select GPIO_SWNODE_UNDEFINED
328ef75e767SLucas Tanure	help
329ef75e767SLucas Tanure	  This enables support for the SPI controller inside the Cirrus Logic
330ef75e767SLucas Tanure	  CS42L43 audio codec.
331ef75e767SLucas Tanure
332358934a6SSandeep Paulrajconfig SPI_DAVINCI
33323ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
334e48d57d7SMark Brown	depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
335358934a6SSandeep Paulraj	select SPI_BITBANG
336358934a6SSandeep Paulraj	help
33723ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
33823ce17adSSekhar Nori
339e32bb870SMark Brownconfig SPI_DESIGNWARE
340e32bb870SMark Brown	tristate "DesignWare SPI controller core support"
3416423207eSSerge Semin	imply SPI_MEM
342e32bb870SMark Brown	help
343e32bb870SMark Brown	  general driver for SPI controller core from DesignWare
344e32bb870SMark Brown
345ecb3a67eSSerge Seminif SPI_DESIGNWARE
346ecb3a67eSSerge Semin
3476c710c0cSSerge Seminconfig SPI_DW_DMA
3486c710c0cSSerge Semin	bool "DMA support for DW SPI controller"
3496c710c0cSSerge Semin
350e32bb870SMark Brownconfig SPI_DW_PCI
351e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
352ecb3a67eSSerge Semin	depends on PCI
353e32bb870SMark Brown
354e32bb870SMark Brownconfig SPI_DW_MMIO
355e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
356ecb3a67eSSerge Semin	depends on HAS_IOMEM
357ecb3a67eSSerge Semin
358abf00907SSerge Seminconfig SPI_DW_BT1
359abf00907SSerge Semin	tristate "Baikal-T1 SPI driver for DW SPI core"
360abf00907SSerge Semin	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
36172188381SSerge Semin	select MULTIPLEXER
362abf00907SSerge Semin	help
363abf00907SSerge Semin	  Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI
364abf00907SSerge Semin	  controllers. Two of them are pretty much normal: with IRQ, DMA,
365abf00907SSerge Semin	  FIFOs of 64 words depth, 4x CSs, but the third one as being a
366abf00907SSerge Semin	  part of the Baikal-T1 System Boot Controller has got a very
367abf00907SSerge Semin	  limited resources: no IRQ, no DMA, only a single native
368abf00907SSerge Semin	  chip-select and Tx/Rx FIFO with just 8 words depth available.
369abf00907SSerge Semin	  The later one is normally connected to an external SPI-nor flash
370abf00907SSerge Semin	  of 128Mb (in general can be of bigger size).
371abf00907SSerge Semin
372abf00907SSerge Seminconfig SPI_DW_BT1_DIRMAP
373abf00907SSerge Semin	bool "Directly mapped Baikal-T1 Boot SPI flash support"
374abf00907SSerge Semin	depends on SPI_DW_BT1
375abf00907SSerge Semin	help
376abf00907SSerge Semin	  Directly mapped SPI flash memory is an interface specific to the
377abf00907SSerge Semin	  Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which
378abf00907SSerge Semin	  can be used to access a peripheral memory device just by
379abf00907SSerge Semin	  reading/writing data from/to it. Note that the system APB bus
380abf00907SSerge Semin	  will stall during each IO from/to the dirmap region until the
381abf00907SSerge Semin	  operation is finished. So try not to use it concurrently with
382abf00907SSerge Semin	  time-critical tasks (like the SPI memory operations implemented
383abf00907SSerge Semin	  in this driver).
384abf00907SSerge Semin
385ecb3a67eSSerge Seminendif
386e32bb870SMark Brown
3873d8c0d74SLaurentiu Palcuconfig SPI_DLN2
3883d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
3893d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
3903d8c0d74SLaurentiu Palcu       help
3913d8c0d74SLaurentiu Palcu	 If you say yes to this option, support will be included for Diolan
3923d8c0d74SLaurentiu Palcu	 DLN2, a USB to SPI interface.
3933d8c0d74SLaurentiu Palcu
3943d8c0d74SLaurentiu Palcu	 This driver can also be built as a module.  If so, the module
3953d8c0d74SLaurentiu Palcu	 will be called spi-dln2.
3963d8c0d74SLaurentiu Palcu
397011f23a3SMika Westerbergconfig SPI_EP93XX
398011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
399dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
400011f23a3SMika Westerberg	help
401011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
402011f23a3SMika Westerberg	  mode.
403011f23a3SMika Westerberg
4046cd3c7e2SThomas Langerconfig SPI_FALCON
4059c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
4066cd3c7e2SThomas Langer	depends on SOC_FALCON
4076cd3c7e2SThomas Langer	help
4086cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
4096cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
4106cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
4116cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
4126cd3c7e2SThomas Langer
413bbb6b2f9SEddie Jamesconfig SPI_FSI
414bbb6b2f9SEddie James	tristate "FSI SPI driver"
415bae4ae83SArnd Bergmann	depends on FSI
416bbb6b2f9SEddie James	help
417bbb6b2f9SEddie James	  This enables support for the driver for FSI bus attached SPI
418bbb6b2f9SEddie James	  controllers.
419bbb6b2f9SEddie James
4205314987dSGao Panconfig SPI_FSL_LPSPI
4215314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
4225314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
4235314987dSGao Pan	help
4245314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
4255314987dSGao Pan
42684d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI
42784d04318SFrieder Schrempf	tristate "Freescale QSPI controller"
42884d04318SFrieder Schrempf	depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
42984d04318SFrieder Schrempf	depends on HAS_IOMEM
43084d04318SFrieder Schrempf	help
43184d04318SFrieder Schrempf	  This enables support for the Quad SPI controller in master mode.
43284d04318SFrieder Schrempf	  Up to four flash chips can be connected on two buses with two
43384d04318SFrieder Schrempf	  chipselects each.
43484d04318SFrieder Schrempf	  This controller does not support generic SPI messages. It only
43584d04318SFrieder Schrempf	  supports the high-level SPI memory interface.
43684d04318SFrieder Schrempf
437730bc8baSNick Hawkinsconfig SPI_GXP
438730bc8baSNick Hawkins	tristate "GXP SPI driver"
439730bc8baSNick Hawkins	depends on ARCH_HPE || COMPILE_TEST
440730bc8baSNick Hawkins	help
441730bc8baSNick Hawkins	  This enables support for the driver for GXP bus attached SPI
442730bc8baSNick Hawkins	  controllers.
443730bc8baSNick Hawkins
444c770d863SJay Fangconfig SPI_HISI_KUNPENG
445c770d863SJay Fang	tristate "HiSilicon SPI Controller for Kunpeng SoCs"
446c770d863SJay Fang	depends on (ARM64 && ACPI) || COMPILE_TEST
447c770d863SJay Fang	help
448c770d863SJay Fang	  This enables support for HiSilicon SPI controller found on
449c770d863SJay Fang	  Kunpeng SoCs.
450c770d863SJay Fang
451c770d863SJay Fang	  This driver can also be built as a module. If so, the module
452c770d863SJay Fang	  will be called hisi-kunpeng-spi.
453c770d863SJay Fang
454a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX
4553e84cdd4STudor Ambarus	tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets"
456a2ca53b5SJohn Garry	depends on (ARM64 && ACPI) || COMPILE_TEST
457a2ca53b5SJohn Garry	depends on HAS_IOMEM
458a2ca53b5SJohn Garry	help
4593e84cdd4STudor Ambarus	  This enables support for HiSilicon v3xx SPI NOR flash controller
460a2ca53b5SJohn Garry	  found in hi16xx chipsets.
461a2ca53b5SJohn Garry
462a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI
463a5356aefSYogesh Narayan Gaur	tristate "NXP Flex SPI controller"
46407628756SAlexander Stein	depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST
465c6b15b24SMark Brown	depends on HAS_IOMEM
466a5356aefSYogesh Narayan Gaur	help
467a5356aefSYogesh Narayan Gaur	  This enables support for the Flex SPI controller in master mode.
468a5356aefSYogesh Narayan Gaur	  Up to four slave devices can be connected on two buses with two
469a5356aefSYogesh Narayan Gaur	  chipselects each.
470a5356aefSYogesh Narayan Gaur	  This controller does not support generic SPI messages and only
471a5356aefSYogesh Narayan Gaur	  supports the high-level SPI memory interface.
472a5356aefSYogesh Narayan Gaur
473d29389deSDavid Brownellconfig SPI_GPIO
474d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
4755c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
476d29389deSDavid Brownell	select SPI_BITBANG
477d29389deSDavid Brownell	help
478d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
479d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
480d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
481d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
482d29389deSDavid Brownell	  for the chipselect used by this controller driver.
483d29389deSDavid Brownell
484d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
485d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
486d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
487d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
488d29389deSDavid Brownell
489deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
490deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
491deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
492deba2580SAndrew Bresticker	help
493deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
494deba2580SAndrew Bresticker	  IMG SoCs.
495deba2580SAndrew Bresticker
496b5f3294fSSascha Hauerconfig SPI_IMX
497b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
498dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
499b5f3294fSSascha Hauer	help
5002e236bafSFabio Estevam	  This enables support for the Freescale i.MX SPI controllers.
501b5f3294fSSascha Hauer
502ae5f94ccSArtur Rojekconfig SPI_INGENIC
5036d72b114S周琰杰 (Zhou Yanjie)	tristate "Ingenic SoCs SPI controller"
504ae5f94ccSArtur Rojek	depends on MACH_INGENIC || COMPILE_TEST
505ae5f94ccSArtur Rojek	help
5066d72b114S周琰杰 (Zhou Yanjie)	  This enables support for the Ingenic SoCs SPI controller.
507ae5f94ccSArtur Rojek
508ae5f94ccSArtur Rojek	  To compile this driver as a module, choose M here: the module
509ae5f94ccSArtur Rojek	  will be called spi-ingenic.
510ae5f94ccSArtur Rojek
511e23e5a05SMika Westerbergconfig SPI_INTEL
512e23e5a05SMika Westerberg	tristate
513e23e5a05SMika Westerberg
514e23e5a05SMika Westerbergconfig SPI_INTEL_PCI
5157db738b5SMauro Lima	tristate "Intel PCH/PCU SPI flash PCI driver"
516e23e5a05SMika Westerberg	depends on PCI
517e23e5a05SMika Westerberg	depends on X86 || COMPILE_TEST
518e23e5a05SMika Westerberg	depends on SPI_MEM
519e23e5a05SMika Westerberg	select SPI_INTEL
520e23e5a05SMika Westerberg	help
521e23e5a05SMika Westerberg	  This enables PCI support for the Intel PCH/PCU SPI controller in
5222ea9b08aSMauro Lima	  master mode. This controller is used to hold BIOS and other
5232ea9b08aSMauro Lima	  persistent settings. Controllers present in modern Intel hardware
5242ea9b08aSMauro Lima	  only work in hardware sequencing mode, this means that the
5252ea9b08aSMauro Lima	  controller exposes a subset of operations that makes it safer to
5262ea9b08aSMauro Lima	  use. Using this driver it is possible to upgrade BIOS directly
5272ea9b08aSMauro Lima	  from Linux.
528e23e5a05SMika Westerberg
529e23e5a05SMika Westerberg	  To compile this driver as a module, choose M here: the module
530e23e5a05SMika Westerberg	  will be called spi-intel-pci.
531e23e5a05SMika Westerberg
532e23e5a05SMika Westerbergconfig SPI_INTEL_PLATFORM
533e23e5a05SMika Westerberg	tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
534e23e5a05SMika Westerberg	depends on X86 || COMPILE_TEST
535e23e5a05SMika Westerberg	depends on SPI_MEM
536e23e5a05SMika Westerberg	select SPI_INTEL
537e23e5a05SMika Westerberg	help
538e23e5a05SMika Westerberg	  This enables platform support for the Intel PCH/PCU SPI
5397db738b5SMauro Lima	  controller in master mode that is used to hold BIOS and other
5402ea9b08aSMauro Lima	  persistent settings. Most of these controllers work in
5412ea9b08aSMauro Lima	  software sequencing mode, which means that the controller
5422ea9b08aSMauro Lima	  exposes the low level SPI-NOR opcodes to the software. Using
5432ea9b08aSMauro Lima	  this driver it is possible to upgrade BIOS directly from Linux.
544e23e5a05SMika Westerberg
545e23e5a05SMika Westerberg	  Say N here unless you know what you are doing. Overwriting the
546e23e5a05SMika Westerberg	  SPI flash may render the system unbootable.
547e23e5a05SMika Westerberg
548e23e5a05SMika Westerberg	  To compile this driver as a module, choose M here: the module
549e23e5a05SMika Westerberg	  will be called spi-intel-platform.
550e23e5a05SMika Westerberg
5512cb1b3b3SRich Felkerconfig SPI_JCORE
5522cb1b3b3SRich Felker	tristate "J-Core SPI Master"
5532cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
5542cb1b3b3SRich Felker	help
5552cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
5562cb1b3b3SRich Felker	  synthesizable, open source SoC.
5572cb1b3b3SRich Felker
5581a90aae3SGerhard Englederconfig SPI_KSPI2
5591a90aae3SGerhard Engleder	tristate "Support for KEBA SPI master type 2 hardware"
5601a90aae3SGerhard Engleder	depends on HAS_IOMEM
5611a90aae3SGerhard Engleder	depends on KEBA_CP500 || COMPILE_TEST
5621a90aae3SGerhard Engleder	select AUXILIARY_BUS
5631a90aae3SGerhard Engleder	help
5641a90aae3SGerhard Engleder	  This driver supports KEBA SPI master type 2 FPGA implementation,
5651a90aae3SGerhard Engleder	  as found on CP500 devices for example.
5661a90aae3SGerhard Engleder
5671a90aae3SGerhard Engleder	  This driver can also be built as a module. If so, the module
5681a90aae3SGerhard Engleder	  will be called spi-kspi2.
5691a90aae3SGerhard Engleder
57078961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
57178961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
5726d1f56aaSKees Cook	depends on PARPORT
57378961a57SKaiwan N Billimoria	select SPI_BITBANG
57478961a57SKaiwan N Billimoria	help
57578961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
57678961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
57778961a57SKaiwan N Billimoria	  a parallel port.
57878961a57SKaiwan N Billimoria
5796c7a8640SYinbo Zhuconfig SPI_LOONGSON_CORE
5806c7a8640SYinbo Zhu	tristate
5816c7a8640SYinbo Zhu	depends on LOONGARCH || COMPILE_TEST
5826c7a8640SYinbo Zhu
5836c7a8640SYinbo Zhuconfig SPI_LOONGSON_PCI
5846c7a8640SYinbo Zhu	tristate "Loongson SPI Controller PCI Driver Support"
5856c7a8640SYinbo Zhu	select SPI_LOONGSON_CORE
5866c7a8640SYinbo Zhu	depends on PCI && (LOONGARCH || COMPILE_TEST)
5876c7a8640SYinbo Zhu	help
5886c7a8640SYinbo Zhu	  This bus driver supports the Loongson SPI hardware controller in
5896c7a8640SYinbo Zhu	  the Loongson platforms and supports to use PCI framework to
5906c7a8640SYinbo Zhu	  register SPI device resources.
5916c7a8640SYinbo Zhu	  Say Y or M here if you want to use the SPI controller on
5926c7a8640SYinbo Zhu	  Loongson platform.
5936c7a8640SYinbo Zhu
5946c7a8640SYinbo Zhuconfig SPI_LOONGSON_PLATFORM
5956c7a8640SYinbo Zhu	tristate "Loongson SPI Controller Platform Driver Support"
5966c7a8640SYinbo Zhu	select SPI_LOONGSON_CORE
5976c7a8640SYinbo Zhu	depends on OF && (LOONGARCH || COMPILE_TEST)
5986c7a8640SYinbo Zhu	help
5996c7a8640SYinbo Zhu	  This bus driver supports the Loongson SPI hardware controller in
6006c7a8640SYinbo Zhu	  the Loongson platforms and supports to use DTS framework to
6016c7a8640SYinbo Zhu	  register SPI device resources.
6026c7a8640SYinbo Zhu	  Say Y or M here if you want to use the SPI controller on
6036c7a8640SYinbo Zhu	  Loongson platform.
6046c7a8640SYinbo Zhu
6057ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
6067ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
6077ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
6087ecbfff6SSergei Ianovich	help
6097ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
6107ecbfff6SSergei Ianovich	  DS-1302 real time clock.
6117ecbfff6SSergei Ianovich
6127ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
6137ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
6147ecbfff6SSergei Ianovich
61542bbb709SGrant Likelyconfig SPI_MPC52xx
61642bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
6177433f2b7SPaul Bolle	depends on PPC_MPC52xx
61842bbb709SGrant Likely	help
61942bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
62042bbb709SGrant Likely	  mode.
62142bbb709SGrant Likely
62200b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
62300b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
6246d1f56aaSKees Cook	depends on PPC_MPC52xx
62500b8fd23SDragos Carp	help
62600b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
62700b8fd23SDragos Carp	  Controller in master SPI mode.
62800b8fd23SDragos Carp
6296e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
6306e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
6315e8afa34SUwe Kleine-König	depends on PPC_MPC512x
6326e27388fSAnatolij Gustschin	help
6336e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
6346e27388fSAnatolij Gustschin	  Controller in SPI master mode.
6356e27388fSAnatolij Gustschin
636b36ece83SMingkai Huconfig SPI_FSL_LIB
637b36ece83SMingkai Hu	tristate
638e8beacbbSAndreas Larsson	depends on OF
639e8beacbbSAndreas Larsson
640e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
641e8beacbbSAndreas Larsson	tristate
642b36ece83SMingkai Hu	depends on FSL_SOC
643b36ece83SMingkai Hu
6443272029fSMingkai Huconfig SPI_FSL_SPI
64538455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
646e8beacbbSAndreas Larsson	depends on OF
647b36ece83SMingkai Hu	select SPI_FSL_LIB
648e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
649ccf06998SKumar Gala	help
6503272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
6513272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
6523272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
653447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
654447b0c7bSAndreas Larsson	  master mode.
655ccf06998SKumar Gala
656349ad66cSChao Fuconfig SPI_FSL_DSPI
657349ad66cSChao Fu	tristate "Freescale DSPI controller"
6581acbdeb9SChao Fu	select REGMAP_MMIO
659dce4bc30SLukas Bulwahn	depends on ARCH_MXC || ARCH_NXP || M5441x || COMPILE_TEST
660349ad66cSChao Fu	help
661349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
6629a30e332SCiprian Marian Costea	  mode. S32, VF610, LS1021A and ColdFire platforms uses the controller.
663349ad66cSChao Fu
6648b60d6c2SMingkai Huconfig SPI_FSL_ESPI
66538455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
6668b60d6c2SMingkai Hu	depends on FSL_SOC
6678b60d6c2SMingkai Hu	help
6688b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
6698b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
6708b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
6718b60d6c2SMingkai Hu
672caee8e38SWentong Wuconfig SPI_LJCA
673caee8e38SWentong Wu	tristate "Intel La Jolla Cove Adapter SPI support"
674caee8e38SWentong Wu	depends on USB_LJCA
675caee8e38SWentong Wu	default USB_LJCA
676caee8e38SWentong Wu	help
677caee8e38SWentong Wu	  Select this option to enable SPI driver for the Intel
678caee8e38SWentong Wu	  La Jolla Cove Adapter (LJCA) board.
679caee8e38SWentong Wu
680caee8e38SWentong Wu	  This driver can also be built as a module. If so, the module
681caee8e38SWentong Wu	  will be called spi-ljca.
682caee8e38SWentong Wu
683454fa271SNeil Armstrongconfig SPI_MESON_SPICC
684454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
6853e0cf4d3SSunny Luo	depends on COMMON_CLK
686454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
687454fa271SNeil Armstrong	help
688454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
689454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
690454fa271SNeil Armstrong
691c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
692c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
693c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
6941327ecd4SBeniamino Galvani	select REGMAP_MMIO
695c3e4bc54SBeniamino Galvani	help
696c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
697c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
698c3e4bc54SBeniamino Galvani
6999ac8d176SConor Dooleyconfig SPI_MICROCHIP_CORE
7009ac8d176SConor Dooley	tristate "Microchip FPGA SPI controllers"
7019ac8d176SConor Dooley	depends on SPI_MASTER
7029ac8d176SConor Dooley	help
7039ac8d176SConor Dooley	  This enables the SPI driver for Microchip FPGA SPI controllers.
7049ac8d176SConor Dooley	  Say Y or M here if you want to use the "hard" controllers on
7059ac8d176SConor Dooley	  PolarFire SoC.
7069ac8d176SConor Dooley	  If built as a module, it will be called spi-microchip-core.
7079ac8d176SConor Dooley
7088596124cSNaga Sureshkumar Relliconfig SPI_MICROCHIP_CORE_QSPI
7098596124cSNaga Sureshkumar Relli	tristate "Microchip FPGA QSPI controllers"
7108596124cSNaga Sureshkumar Relli	depends on SPI_MASTER
7118596124cSNaga Sureshkumar Relli	help
7128596124cSNaga Sureshkumar Relli	  This enables the QSPI driver for Microchip FPGA QSPI controllers.
7138596124cSNaga Sureshkumar Relli	  Say Y or M here if you want to use the QSPI controllers on
7148596124cSNaga Sureshkumar Relli	  PolarFire SoC.
7158596124cSNaga Sureshkumar Relli	  If built as a module, it will be called spi-microchip-core-qspi.
7168596124cSNaga Sureshkumar Relli
717a568231fSLeilk Liuconfig SPI_MT65XX
718a568231fSLeilk Liu	tristate "MediaTek SPI controller"
719a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
720a568231fSLeilk Liu	help
721a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
722a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
723a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
724a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
725a568231fSLeilk Liu
726cbd66c62SStefan Roeseconfig SPI_MT7621
727cbd66c62SStefan Roese	tristate "MediaTek MT7621 SPI Controller"
728cbd66c62SStefan Roese	depends on RALINK || COMPILE_TEST
729cbd66c62SStefan Roese	help
730cbd66c62SStefan Roese	  This selects a driver for the MediaTek MT7621 SPI Controller.
731cbd66c62SStefan Roese
732881d1ee9SChuanhong Guoconfig SPI_MTK_NOR
733881d1ee9SChuanhong Guo	tristate "MediaTek SPI NOR controller"
734881d1ee9SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
735881d1ee9SChuanhong Guo	help
736881d1ee9SChuanhong Guo	  This enables support for SPI NOR controller found on MediaTek
7373e84cdd4STudor Ambarus	  ARM SoCs. This is a controller specifically for SPI NOR flash.
738881d1ee9SChuanhong Guo	  It can perform generic SPI transfers up to 6 bytes via generic
7393e84cdd4STudor Ambarus	  SPI interface as well as several SPI NOR specific instructions
740881d1ee9SChuanhong Guo	  via SPI MEM interface.
741881d1ee9SChuanhong Guo
742764f1b74SChuanhong Guoconfig SPI_MTK_SNFI
743764f1b74SChuanhong Guo	tristate "MediaTek SPI NAND Flash Interface"
744764f1b74SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
745764f1b74SChuanhong Guo	depends on MTD_NAND_ECC_MEDIATEK
746764f1b74SChuanhong Guo	help
747764f1b74SChuanhong Guo	  This enables support for SPI-NAND mode on the MediaTek NAND
748764f1b74SChuanhong Guo	  Flash Interface found on MediaTek ARM SoCs. This controller
749764f1b74SChuanhong Guo	  is implemented as a SPI-MEM controller with pipelined ECC
7508613dda6SAhelenia Ziemiańska	  capability.
751764f1b74SChuanhong Guo
7521f8811a2SJonathan Neuschäferconfig SPI_WPCM_FIU
7531f8811a2SJonathan Neuschäfer	tristate "Nuvoton WPCM450 Flash Interface Unit"
7541f8811a2SJonathan Neuschäfer	depends on ARCH_NPCM || COMPILE_TEST
7551f8811a2SJonathan Neuschäfer	select REGMAP
7561f8811a2SJonathan Neuschäfer	help
7571f8811a2SJonathan Neuschäfer	  This enables support got the Flash Interface Unit SPI controller
7581f8811a2SJonathan Neuschäfer	  present in the Nuvoton WPCM450 SoC.
7591f8811a2SJonathan Neuschäfer
7601f8811a2SJonathan Neuschäfer	  This driver does not support generic SPI. The implementation only
7611f8811a2SJonathan Neuschäfer	  supports the spi-mem interface.
7621f8811a2SJonathan Neuschäfer
763ace55c41STomer Maimonconfig SPI_NPCM_FIU
764ace55c41STomer Maimon	tristate "Nuvoton NPCM FLASH Interface Unit"
765ace55c41STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
766ace55c41STomer Maimon	depends on OF && HAS_IOMEM
767ace55c41STomer Maimon	help
768ace55c41STomer Maimon	  This enables support for the Flash Interface Unit SPI controller
769ace55c41STomer Maimon	  in master mode.
770ace55c41STomer Maimon	  This driver does not support generic SPI. The implementation only
771ace55c41STomer Maimon	  supports spi-mem interface.
772ace55c41STomer Maimon
7732a22f1b3STomer Maimonconfig SPI_NPCM_PSPI
7742a22f1b3STomer Maimon	tristate "Nuvoton NPCM PSPI Controller"
7752a22f1b3STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
7762a22f1b3STomer Maimon	help
7772a22f1b3STomer Maimon	  This driver provides support for Nuvoton NPCM BMC
7782a22f1b3STomer Maimon	  Peripheral SPI controller in master mode.
7792a22f1b3STomer Maimon
78017f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
78117f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
782040f7f97SDilip Kota	depends on LANTIQ || X86 || COMPILE_TEST
78317f84b79SHauke Mehrtens	help
78417f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
78517f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
786040f7f97SDilip Kota	  the Danube, Falcon, xRX200, xRX300, Lightning Mountain.
78717f84b79SHauke Mehrtens
788ce792580SThomas Chouconfig SPI_OC_TINY
789ce792580SThomas Chou	tristate "OpenCores tiny SPI"
7905c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
791ce792580SThomas Chou	select SPI_BITBANG
792ce792580SThomas Chou	help
793ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
794ce792580SThomas Chou
7956b52c00fSDavid Daneyconfig SPI_OCTEON
7966b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
7979ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
7986b52c00fSDavid Daney	help
7996b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
8006b52c00fSDavid Daney	  SOCs.
8016b52c00fSDavid Daney
802fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
803fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
80458d37dc1SArnd Bergmann	depends on ARCH_OMAP1 || (ARM && COMPILE_TEST)
805fdb3c18dSDavid Brownell	select SPI_BITBANG
806fdb3c18dSDavid Brownell	help
807fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
808fdb3c18dSDavid Brownell
809ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
8108ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
81181df42d1SVignesh R	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
8122b32e987SFranklin S Cooper Jr	select SG_SPLIT
813ccdc7bf9SSamuel Ortiz	help
8148ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
815ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
81669c202afSAndrea Paterniani
817505a1495SSourav Poddarconfig SPI_TI_QSPI
818505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
819505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
820505a1495SSourav Poddar	help
821505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
822505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
823505a1495SSourav Poddar	  it only supports single write mode.
824505a1495SSourav Poddar
82560cadec9SShadi Ammouriconfig SPI_ORION
8266d1f56aaSKees Cook	tristate "Orion SPI master"
827710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
82860cadec9SShadi Ammouri	help
82973482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
83073482910SUwe Kleine-König	  and MVEBU chips.
83160cadec9SShadi Ammouri
8321cc0cbeaSTharun Kumar Pconfig SPI_PCI1XXXX
8331cc0cbeaSTharun Kumar P	tristate "PCI1XXXX SPI Bus support"
8341cc0cbeaSTharun Kumar P	depends on PCI
8351cc0cbeaSTharun Kumar P	help
8361cc0cbeaSTharun Kumar P	  Say "yes" to Enable the SPI Bus support for the PCI1xxxx card
8371cc0cbeaSTharun Kumar P	  This is a PCI to SPI Bus driver
8381cc0cbeaSTharun Kumar P	  This driver can be built as module. If so, the module will be
8391cc0cbeaSTharun Kumar P	  called as spi-pci1xxxx.
8401cc0cbeaSTharun Kumar P
8411bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
8421bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
8431bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
8441bcb9f8cSPurna Chandra Mandal	help
8451bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
8461bcb9f8cSPurna Chandra Mandal
8473270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
8483270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
8493270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
8503270ac23SPurna Chandra Mandal	help
8513270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
8523270ac23SPurna Chandra Mandal
853b43d65f7SLinus Walleijconfig SPI_PL022
8547f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
8557f9a4b97SLinus Walleij	depends on ARM_AMBA
856f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
857f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
858f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
859b43d65f7SLinus Walleij	help
860b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
861b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
862b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
863b43d65f7SLinus Walleij
86444dab88eSSteven A. Falcoconfig SPI_PPC4xx
86544dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
8665e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
86744dab88eSSteven A. Falco	select SPI_BITBANG
86844dab88eSSteven A. Falco	help
86944dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
87044dab88eSSteven A. Falco
871e0c9905eSStephen Streetconfig SPI_PXA2XX
872e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
8733af201a4SAndy Shevchenko	depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST
874128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
875e0c9905eSStephen Street	help
876d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
8772d069c11SAndy Shevchenko	  controller. The driver can be configured to use any SSP port.
878d6ea3df0SSebastian Andrzej Siewior
879d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
880afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
881e0c9905eSStephen Street
88242d20a6aSChris Packhamconfig SPI_REALTEK_SNAND
88342d20a6aSChris Packham	tristate "Realtek SPI-NAND Flash Controller"
88442d20a6aSChris Packham	depends on MACH_REALTEK_RTL || COMPILE_TEST
88542d20a6aSChris Packham	select REGMAP
88642d20a6aSChris Packham	help
88742d20a6aSChris Packham	  This enables support for the SPI-NAND Flash controller on
88842d20a6aSChris Packham	  Realtek SoCs.
88942d20a6aSChris Packham
89042d20a6aSChris Packham	  This driver does not support generic SPI. The implementation
89142d20a6aSChris Packham	  only supports the spi-mem interface.
89242d20a6aSChris Packham
89364e36824Saddy keconfig SPI_ROCKCHIP
89464e36824Saddy ke	tristate "Rockchip SPI controller driver"
895330a200dSMark Brown	depends on ARCH_ROCKCHIP || COMPILE_TEST
89664e36824Saddy ke	help
89764e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
89864e36824Saddy ke
89964e36824Saddy ke	  If you say yes to this option, support will be included for
90064e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
90164e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
90264e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
90364e36824Saddy ke	  device.
90464e36824Saddy ke
9050b89fc0aSChris Morganconfig SPI_ROCKCHIP_SFC
9060b89fc0aSChris Morgan	tristate "Rockchip Serial Flash Controller (SFC)"
9070b89fc0aSChris Morgan	depends on ARCH_ROCKCHIP || COMPILE_TEST
9080b89fc0aSChris Morgan	depends on HAS_IOMEM && HAS_DMA
9090b89fc0aSChris Morgan	help
9100b89fc0aSChris Morgan	  This enables support for Rockchip serial flash controller. This
9110b89fc0aSChris Morgan	  is a specialized controller used to access SPI flash on some
9120b89fc0aSChris Morgan	  Rockchip SOCs.
9130b89fc0aSChris Morgan
9140b89fc0aSChris Morgan	  ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
9150b89fc0aSChris Morgan	  the driver automatically falls back to PIO mode.
9160b89fc0aSChris Morgan
91705aec357SBert Vermeulenconfig SPI_RB4XX
91805aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
91905aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
92005aec357SBert Vermeulen	help
92105aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
92205aec357SBert Vermeulen
923eb8d6d46SSergei Shtylyovconfig SPI_RPCIF
924eb8d6d46SSergei Shtylyov	tristate "Renesas RPC-IF SPI driver"
925eb8d6d46SSergei Shtylyov	depends on RENESAS_RPCIF
926eb8d6d46SSergei Shtylyov	help
927f4a10fc4SAdam Ford	  SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF.
928eb8d6d46SSergei Shtylyov
9290b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
930e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
9313aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
9320b2182ddSShimoda, Yoshihiro	help
933e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
9340b2182ddSShimoda, Yoshihiro
935*8b61c891SFabrizio Castroconfig SPI_RZV2H_RSPI
936*8b61c891SFabrizio Castro	tristate "Renesas RZ/V2H RSPI controller"
937*8b61c891SFabrizio Castro	depends on ARCH_RENESAS || COMPILE_TEST
938*8b61c891SFabrizio Castro	help
939*8b61c891SFabrizio Castro	  RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI).
940*8b61c891SFabrizio Castro	  RSPI supports both SPI host and SPI target roles. This option only
941*8b61c891SFabrizio Castro	  enables the SPI host role.
942*8b61c891SFabrizio Castro
94383c624d8SFabrizio Castroconfig SPI_RZV2M_CSI
944e1ef683cSGeert Uytterhoeven	tristate "Renesas RZ/V2M CSI controller"
94583c624d8SFabrizio Castro	depends on ARCH_RENESAS || COMPILE_TEST
94683c624d8SFabrizio Castro	help
947a4f7ef6dSFabrizio Castro	  SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI).
948a4f7ef6dSFabrizio Castro	  CSI supports both SPI host and SPI target roles.
94983c624d8SFabrizio Castro
95004000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI
95104000dc6SGirish Mahadevan	tristate "QTI QSPI controller"
952ada85054SMark Brown	depends on ARCH_QCOM || COMPILE_TEST
95304000dc6SGirish Mahadevan	help
95404000dc6SGirish Mahadevan	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.
95504000dc6SGirish Mahadevan
9567304d190SMd Sadre Alamconfig SPI_QPIC_SNAND
957d32c4e58SGeert Uytterhoeven	tristate "QPIC SNAND controller"
9587304d190SMd Sadre Alam	depends on ARCH_QCOM || COMPILE_TEST
959d32c4e58SGeert Uytterhoeven	depends on MTD
9607304d190SMd Sadre Alam	help
9617304d190SMd Sadre Alam	  QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller.
9627304d190SMd Sadre Alam	  QPIC controller supports both parallel nand and serial nand.
9637304d190SMd Sadre Alam	  This config will enable serial nand driver for QPIC controller.
9647304d190SMd Sadre Alam
96564ff247aSIvan T. Ivanovconfig SPI_QUP
96664ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
9672abaad67SAlex Dewar	depends on ARCH_QCOM || COMPILE_TEST
96864ff247aSIvan T. Ivanov	help
96964ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
97064ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
97164ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
97264ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
97364ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
97464ff247aSIvan T. Ivanov
97564ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
97664ff247aSIvan T. Ivanov	  will be called spi_qup.
9778ae12a0dSDavid Brownell
978561de45fSGirish Mahadevanconfig SPI_QCOM_GENI
979561de45fSGirish Mahadevan	tristate "Qualcomm GENI based SPI controller"
980561de45fSGirish Mahadevan	depends on QCOM_GENI_SE
981561de45fSGirish Mahadevan	help
982561de45fSGirish Mahadevan	  This driver supports GENI serial engine based SPI controller in
983561de45fSGirish Mahadevan	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
984561de45fSGirish Mahadevan	  yes to this option, support will be included for the built-in SPI
985561de45fSGirish Mahadevan	  interface on the Qualcomm Technologies Inc.'s SoCs.
986561de45fSGirish Mahadevan
987561de45fSGirish Mahadevan	  This driver can also be built as a module.  If so, the module
988561de45fSGirish Mahadevan	  will be called spi-geni-qcom.
989561de45fSGirish Mahadevan
990230d42d4SJassi Brarconfig SPI_S3C64XX
9915b71cbf0SKrzysztof Kozlowski	tristate "Samsung S3C64XX/Exynos SoC series type SPI"
992db8230d2SArnd Bergmann	depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
993230d42d4SJassi Brar	help
9945b71cbf0SKrzysztof Kozlowski	  SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs.
9955b71cbf0SKrzysztof Kozlowski	  Choose Y/M here only if you build for such Samsung SoC.
996230d42d4SJassi Brar
9973ce8859eSGuenter Roeckconfig SPI_SC18IS602
9983ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
9993ce8859eSGuenter Roeck	depends on I2C
10003ce8859eSGuenter Roeck	help
10013ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
10023ce8859eSGuenter Roeck
10038051effcSMagnus Dammconfig SPI_SH_MSIOF
10048051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
1005e5b43ed2SGeert Uytterhoeven	depends on HAVE_CLK
10066ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
10078051effcSMagnus Damm	help
1008746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
10098051effcSMagnus Damm
10105c05dd07SYoshihiro Shimodaconfig SPI_SH
10115c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
1012dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
10135c05dd07SYoshihiro Shimoda	help
10145c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
10155c05dd07SYoshihiro Shimoda
101637e46640SMagnus Dammconfig SPI_SH_SCI
101737e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
10186291fe2aSRobert P. J. Day	depends on SUPERH
101937e46640SMagnus Damm	select SPI_BITBANG
102037e46640SMagnus Damm	help
102137e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
102237e46640SMagnus Damm
1023d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
1024d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
10253aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
1026d1c8bbd7SKuninori Morimoto	help
1027d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
1028d1c8bbd7SKuninori Morimoto
1029484a9a68SYash Shahconfig SPI_SIFIVE
1030484a9a68SYash Shah	tristate "SiFive SPI controller"
1031484a9a68SYash Shah	depends on HAS_IOMEM
1032484a9a68SYash Shah	help
1033484a9a68SYash Shah	  This exposes the SPI controller IP from SiFive.
1034484a9a68SYash Shah
1035805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX
1036805be7ddSLeilk Liu	tristate "MediaTek SPI slave device"
1037805be7ddSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
1038805be7ddSLeilk Liu	depends on SPI_SLAVE
1039805be7ddSLeilk Liu	help
1040805be7ddSLeilk Liu	  This selects the MediaTek(R) SPI slave device driver.
1041805be7ddSLeilk Liu	  If you want to use MediaTek(R) SPI slave interface,
1042805be7ddSLeilk Liu	  say Y or M here.If you are not sure, say N.
1043805be7ddSLeilk Liu	  SPI slave drivers for Mediatek MT27XX series ARM SoCs.
1044805be7ddSLeilk Liu
10451b74dd64SKunihiko Hayashiconfig SPI_SN_F_OSPI
10461b74dd64SKunihiko Hayashi	tristate "Socionext F_OSPI SPI flash controller"
10471b74dd64SKunihiko Hayashi	depends on OF && HAS_IOMEM
10481b74dd64SKunihiko Hayashi	depends on SPI_MEM
10491b74dd64SKunihiko Hayashi	help
10501b74dd64SKunihiko Hayashi	  This enables support for the Socionext F_OSPI controller
10511b74dd64SKunihiko Hayashi	  for connecting an SPI Flash memory over up to 8-bit wide bus.
10521b74dd64SKunihiko Hayashi	  It supports indirect access mode only.
10531b74dd64SKunihiko Hayashi
1054de16c322SLongbin Liconfig SPI_SG2044_NOR
1055de16c322SLongbin Li	tristate "SG2044 SPI NOR Controller"
1056de16c322SLongbin Li	depends on ARCH_SOPHGO || COMPILE_TEST
1057de16c322SLongbin Li	help
1058de16c322SLongbin Li	  This enables support for the SG2044 SPI NOR controller,
1059de16c322SLongbin Li	  which supports Dual/Quad read and write operations while
1060de16c322SLongbin Li	  also supporting 3Byte address devices and 4Byte address
1061de16c322SLongbin Li	  devices.
1062de16c322SLongbin Li
1063e7d973a3SLanqing Liuconfig SPI_SPRD
1064e7d973a3SLanqing Liu	tristate "Spreadtrum SPI controller"
1065e7d973a3SLanqing Liu	depends on ARCH_SPRD || COMPILE_TEST
1066e7d973a3SLanqing Liu	help
1067e7d973a3SLanqing Liu	  SPI driver for Spreadtrum SoCs.
1068e7d973a3SLanqing Liu
10697e2903cbSBaolin Wangconfig SPI_SPRD_ADI
10707e2903cbSBaolin Wang	tristate "Spreadtrum ADI controller"
10717e2903cbSBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
1072e83f3742SArnd Bergmann	depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
10737e2903cbSBaolin Wang	help
10747e2903cbSBaolin Wang	  ADI driver based on SPI for Spreadtrum SoCs.
10757e2903cbSBaolin Wang
1076dcbe0d84SAmelie Delaunayconfig SPI_STM32
1077dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
1078dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
1079e40335fcSValentin Caron	select SPI_SLAVE
1080dcbe0d84SAmelie Delaunay	help
1081bb35c9f9SCezary Gapinski	  SPI driver for STMicroelectronics STM32 SoCs.
1082dcbe0d84SAmelie Delaunay
1083dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
1084dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
1085dcbe0d84SAmelie Delaunay	  PIO mode.
1086dcbe0d84SAmelie Delaunay
108779b8a705SPatrice Chotardconfig SPI_STM32_OSPI
108879b8a705SPatrice Chotard	tristate "STMicroelectronics STM32 OCTO SPI controller"
108979b8a705SPatrice Chotard	depends on ARCH_STM32 || COMPILE_TEST
109079b8a705SPatrice Chotard	depends on OF
109179b8a705SPatrice Chotard	depends on SPI_MEM
109279b8a705SPatrice Chotard	help
109379b8a705SPatrice Chotard	  This enables support for the Octo SPI controller in master mode.
109479b8a705SPatrice Chotard	  This driver does not support generic SPI. The implementation only
109579b8a705SPatrice Chotard	  supports spi-mem interface.
109679b8a705SPatrice Chotard
1097c530cd1dSLudovic Barreconfig SPI_STM32_QSPI
1098c530cd1dSLudovic Barre	tristate "STMicroelectronics STM32 QUAD SPI controller"
1099c530cd1dSLudovic Barre	depends on ARCH_STM32 || COMPILE_TEST
1100c530cd1dSLudovic Barre	depends on OF
11016829222bSPatrice Chotard	depends on SPI_MEM
1102c530cd1dSLudovic Barre	help
1103c530cd1dSLudovic Barre	  This enables support for the Quad SPI controller in master mode.
1104c530cd1dSLudovic Barre	  This driver does not support generic SPI. The implementation only
1105c530cd1dSLudovic Barre	  supports spi-mem interface.
1106c530cd1dSLudovic Barre
11079e862375SLee Jonesconfig SPI_ST_SSC4
11089e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
110983fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
11109e862375SLee Jones	help
11119e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
11129e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
11139e862375SLee Jones
1114b5f65179SMaxime Ripardconfig SPI_SUN4I
1115b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
1116b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
1117b5f65179SMaxime Ripard	help
1118b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
1119b5f65179SMaxime Ripard
11203558fe90SMaxime Ripardconfig SPI_SUN6I
11213558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
11223558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
11237961656aSMark Brown	depends on RESET_CONTROLLER
11243558fe90SMaxime Ripard	help
11253558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
11263558fe90SMaxime Ripard
1127f62ca4e2SLi-hao Kuoconfig SPI_SUNPLUS_SP7021
1128f62ca4e2SLi-hao Kuo	tristate "Sunplus SP7021 SPI controller"
1129f62ca4e2SLi-hao Kuo	depends on SOC_SP7021 || COMPILE_TEST
1130f62ca4e2SLi-hao Kuo	help
1131f62ca4e2SLi-hao Kuo	  This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs.
1132f62ca4e2SLi-hao Kuo	  This driver can also be built as a module. If so, the module will be
1133f62ca4e2SLi-hao Kuo	  called as spi-sunplus-sp7021.
1134f62ca4e2SLi-hao Kuo
1135f62ca4e2SLi-hao Kuo	  If you have a  Sunplus SP7021 platform say Y here.
1136f62ca4e2SLi-hao Kuo	  If unsure, say N.
1137f62ca4e2SLi-hao Kuo
1138b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER
1139b0823ee3SMasahisa Kojima	tristate "Socionext's SynQuacer HighSpeed SPI controller"
1140b0823ee3SMasahisa Kojima	depends on ARCH_SYNQUACER || COMPILE_TEST
1141b0823ee3SMasahisa Kojima	help
1142b0823ee3SMasahisa Kojima	  SPI driver for Socionext's High speed SPI controller which provides
1143b0823ee3SMasahisa Kojima	  various operating modes for interfacing to serial peripheral devices
1144b0823ee3SMasahisa Kojima	  that use the de-facto standard SPI protocol.
1145b0823ee3SMasahisa Kojima
1146b0823ee3SMasahisa Kojima	  It also supports the new dual-bit and quad-bit SPI protocol.
1147b0823ee3SMasahisa Kojima
1148b942d80bSMason Yangconfig SPI_MXIC
1149b942d80bSMason Yang	tristate "Macronix MX25F0A SPI controller"
1150b942d80bSMason Yang	depends on SPI_MASTER
115100360ebaSMiquel Raynal	imply MTD_NAND_ECC_MXIC
1152b942d80bSMason Yang	help
1153b942d80bSMason Yang	  This selects the Macronix MX25F0A SPI controller driver.
1154b942d80bSMason Yang
1155646781d3SMarek Vasutconfig SPI_MXS
1156646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
1157646781d3SMarek Vasut	depends on ARCH_MXS
1158646781d3SMarek Vasut	select STMP_DEVICE
1159646781d3SMarek Vasut	help
1160646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
1161646781d3SMarek Vasut
1162921fc183SSowjanya Komatineniconfig SPI_TEGRA210_QUAD
1163921fc183SSowjanya Komatineni	tristate "NVIDIA Tegra QSPI Controller"
1164921fc183SSowjanya Komatineni	depends on ARCH_TEGRA || COMPILE_TEST
1165921fc183SSowjanya Komatineni	depends on RESET_CONTROLLER
1166921fc183SSowjanya Komatineni	help
1167921fc183SSowjanya Komatineni	  QSPI driver for NVIDIA Tegra QSPI Controller interface. This
1168921fc183SSowjanya Komatineni	  controller is different from the SPI controller and is available
1169921fc183SSowjanya Komatineni	  on Tegra SoCs starting from Tegra210.
1170921fc183SSowjanya Komatineni
1171f333a331SLaxman Dewanganconfig SPI_TEGRA114
1172f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
1173dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
1174e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
1175f333a331SLaxman Dewangan	help
1176f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
1177f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
1178f333a331SLaxman Dewangan	  get changed with this controller.
1179f333a331SLaxman Dewangan
11808528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
11818528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
1182dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
1183ff2251e3SStephen Warren	depends on RESET_CONTROLLER
11848528547bSLaxman Dewangan	help
11858528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
11868528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
11878528547bSLaxman Dewangan	  device.
11888528547bSLaxman Dewangan
1189dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
1190dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
1191dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
1192e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
1193dc4dc360SLaxman Dewangan	help
1194dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
1195dc4dc360SLaxman Dewangan
11967347a6c7SJan Glauberconfig SPI_THUNDERX
11977347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
11987347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
11997347a6c7SJan Glauber	help
12007347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
12017347a6c7SJan Glauber	  SOCs.
12027347a6c7SJan Glauber
1203e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
120492b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
1205f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
1206e8b17b5bSMasayuki Ohtake	help
1207cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
1208cdbc8f04SGrant Likely	  used in some x86 embedded processors.
1209e8b17b5bSMasayuki Ohtake
121092b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
121192b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
1212f016aeb6STomoya MORINAGA
12135ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER
12145ba155a4SKeiji Hayashibara	tristate "Socionext UniPhier SPI Controller"
12155ba155a4SKeiji Hayashibara	depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
12166a091404SKunihiko Hayashi	depends on HAS_IOMEM
12175ba155a4SKeiji Hayashibara	help
12185ba155a4SKeiji Hayashibara	  This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
12195ba155a4SKeiji Hayashibara
12205ba155a4SKeiji Hayashibara	  UniPhier SoCs have SCSSI and MCSSI SPI controllers.
12215ba155a4SKeiji Hayashibara	  Every UniPhier SoC has SCSSI which supports single channel.
12225ba155a4SKeiji Hayashibara	  Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
12235ba155a4SKeiji Hayashibara	  This driver supports SCSSI only.
12245ba155a4SKeiji Hayashibara
12255ba155a4SKeiji Hayashibara	  If your SoC supports SCSSI, say Y here.
12265ba155a4SKeiji Hayashibara
1227b3165900SLars-Peter Clausenconfig SPI_XCOMM
1228b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
1229b3165900SLars-Peter Clausen	depends on I2C
1230b3165900SLars-Peter Clausen	help
1231b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
1232b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
1233b3165900SLars-Peter Clausen
1234ae918c02SAndrei Konovalovconfig SPI_XILINX
1235c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
12366d1f56aaSKees Cook	depends on HAS_IOMEM
1237ae918c02SAndrei Konovalov	select SPI_BITBANG
1238ae918c02SAndrei Konovalov	help
1239ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
1240ae918c02SAndrei Konovalov
1241ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
1242ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
1243ae918c02SAndrei Konovalov
1244c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
1245c9da2e12SRichard Röjfors
1246d8c80d49SKamlakant Patelconfig SPI_XLP
1247f7d344f2SRob Herring	tristate "Cavium ThunderX2 SPI controller driver"
1248f7d344f2SRob Herring	depends on ARCH_THUNDER2 || COMPILE_TEST
1249d8c80d49SKamlakant Patel	help
1250f7d344f2SRob Herring	  Enable support for the SPI controller on the Cavium ThunderX2.
1251f7d344f2SRob Herring	  (Originally on Netlogic XLP SoCs.)
1252d8c80d49SKamlakant Patel
1253f7d344f2SRob Herring	  If you have a Cavium ThunderX2 platform say Y here.
1254d8c80d49SKamlakant Patel	  If unsure, say N.
1255d8c80d49SKamlakant Patel
12566840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
12576840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
1258be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
12596840cc29SMax Filippov	select SPI_BITBANG
12606840cc29SMax Filippov	help
12616840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
12626840cc29SMax Filippov
12636840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
12646840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
12656840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
12666840cc29SMax Filippov	  start and deasserting on end.
12676840cc29SMax Filippov
126867dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI
126967dca5e5SNaga Sureshkumar Relli	tristate "Xilinx Zynq QSPI controller"
127067dca5e5SNaga Sureshkumar Relli	depends on ARCH_ZYNQ || COMPILE_TEST
1271c2ded280SAmit Kumar Mahapatra	depends on SPI_MEM
127267dca5e5SNaga Sureshkumar Relli	help
127367dca5e5SNaga Sureshkumar Relli	  This enables support for the Zynq Quad SPI controller
127467dca5e5SNaga Sureshkumar Relli	  in master mode.
127567dca5e5SNaga Sureshkumar Relli	  This controller only supports SPI memory interface.
127667dca5e5SNaga Sureshkumar Relli
1277dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
1278dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
1279424a8166SAmit Kumar Mahapatra	depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST
1280dfe11a11SRanjit Waghmode	help
1281dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
1282424a8166SAmit Kumar Mahapatra	  This controller only supports SPI memory interface.
1283dfe11a11SRanjit Waghmode
1284bbb336f3SSanjay R Mehtaconfig SPI_AMD
1285bbb336f3SSanjay R Mehta	tristate "AMD SPI controller"
12867a978d8fSArnd Bergmann	depends on PCI
1287dbb79974SRaju Rangoju	depends on SPI_MASTER || X86 || COMPILE_TEST
1288dbb79974SRaju Rangoju	depends on SPI_MEM
1289bbb336f3SSanjay R Mehta	help
1290bbb336f3SSanjay R Mehta	  Enables SPI controller driver for AMD SoC.
1291bbb336f3SSanjay R Mehta
12928ae12a0dSDavid Brownell#
12938ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
12948ae12a0dSDavid Brownell#
12958ae12a0dSDavid Brownell
1296e9e40543SChris Packhamcomment "SPI Multiplexer support"
1297e9e40543SChris Packham
1298e9e40543SChris Packhamconfig SPI_MUX
1299e9e40543SChris Packham	tristate "SPI multiplexer support"
1300e9e40543SChris Packham	select MULTIPLEXER
1301e9e40543SChris Packham	help
1302e9e40543SChris Packham	  This adds support for SPI multiplexers. Each SPI mux will be
1303e9e40543SChris Packham	  accessible as a SPI controller, the devices behind the mux will appear
1304e9e40543SChris Packham	  to be chip selects on this controller. It is still necessary to
1305e9e40543SChris Packham	  select one or more specific mux-controller drivers.
1306e9e40543SChris Packham
13078ae12a0dSDavid Brownell#
13088ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
13098ae12a0dSDavid Brownell# being probably the most widely used ones.
13108ae12a0dSDavid Brownell#
13118ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
13128ae12a0dSDavid Brownell
1313814a8d50SAndrea Paternianiconfig SPI_SPIDEV
1314814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
1315814a8d50SAndrea Paterniani	help
1316814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
1317814a8d50SAndrea Paterniani
131897896195SMartin Sperlconfig SPI_LOOPBACK_TEST
131997896195SMartin Sperl	tristate "spi loopback test framework support"
132097896195SMartin Sperl	depends on m
132197896195SMartin Sperl	help
132297896195SMartin Sperl	  This enables the SPI loopback testing framework driver
132397896195SMartin Sperl
132497896195SMartin Sperl	  primarily used for development of spi_master drivers
132597896195SMartin Sperl	  and to detect regressions
132697896195SMartin Sperl
1327447aef1aSBen Dooksconfig SPI_TLE62X0
1328447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
13296291fe2aSRobert P. J. Day	depends on SYSFS
1330447aef1aSBen Dooks	help
1331447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
1332447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
1333447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
1334447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
1335447aef1aSBen Dooks
13368ae12a0dSDavid Brownell#
13378ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
13388ae12a0dSDavid Brownell#
13398ae12a0dSDavid Brownell
13406291fe2aSRobert P. J. Dayendif # SPI_MASTER
13416291fe2aSRobert P. J. Day
13426c364062SGeert Uytterhoeven#
13436c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
13446c364062SGeert Uytterhoeven#
13456c364062SGeert Uytterhoeven
13466c364062SGeert Uytterhoevenconfig SPI_SLAVE
13476c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
13486c364062SGeert Uytterhoeven	help
13496c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
13506c364062SGeert Uytterhoeven	  slave protocol handlers.
13516c364062SGeert Uytterhoeven
13526c364062SGeert Uytterhoevenif SPI_SLAVE
13536c364062SGeert Uytterhoeven
135429f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
135529f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
135629f9ffa0SGeert Uytterhoeven	help
135729f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
135829f9ffa0SGeert Uytterhoeven	  SPI message.
135929f9ffa0SGeert Uytterhoeven
1360ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
1361ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
1362ce70e06cSGeert Uytterhoeven	help
1363ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
1364ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
1365ce70e06cSGeert Uytterhoeven
13666c364062SGeert Uytterhoevenendif # SPI_SLAVE
13678ae12a0dSDavid Brownell
1368ddf75be4SLukas Wunnerconfig SPI_DYNAMIC
1369ddf75be4SLukas Wunner	def_bool ACPI || OF_DYNAMIC || SPI_SLAVE
1370ddf75be4SLukas Wunner
1371ebb398aeSDavid Lechnerif SPI_OFFLOAD
1372ebb398aeSDavid Lechner
1373ebb398aeSDavid Lechnercomment "SPI Offload triggers"
1374ebb398aeSDavid Lechner
13753fcd3d2fSDavid Lechnerconfig SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD
13763fcd3d2fSDavid Lechner	tristate "SPI offload trigger using ADI sigma-delta utility"
13773fcd3d2fSDavid Lechner	help
13783fcd3d2fSDavid Lechner	  SPI offload trigger from ADI sigma-delta utility FPGA IP block.
13793fcd3d2fSDavid Lechner
1380ebb398aeSDavid Lechnerconfig SPI_OFFLOAD_TRIGGER_PWM
1381ebb398aeSDavid Lechner	tristate "SPI offload trigger using PWM"
1382ebb398aeSDavid Lechner	depends on PWM
1383ebb398aeSDavid Lechner	help
1384ebb398aeSDavid Lechner	  Generic SPI offload trigger implemented using PWM output.
1385ebb398aeSDavid Lechner
1386ebb398aeSDavid Lechnerendif # SPI_OFFLOAD
1387ebb398aeSDavid Lechner
138879d8c7a8SAlessandro Guidoendif # SPI
1389