xref: /linux/drivers/spi/Kconfig (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
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
102c36212b2SHector Martinconfig SPI_AMLOGIC_SPISG
103c36212b2SHector Martin	tristate "Amlogic SPISG controller"
104c36212b2SHector Martin	depends on COMMON_CLK
105c36212b2SHector Martin	depends on ARCH_MESON || COMPILE_TEST
106c36212b2SHector Martin	help
107c36212b2SHector Martin	  This enables master mode support for the SPISG (SPI scatter-gather
108c36212b2SHector Martin	  communication controller), which is available on platforms such as
109c36212b2SHector Martin	  Amlogic A4 SoCs.
110c36212b2SHector Martin
111c36212b2SHector Martinconfig SPI_APPLE
112c36212b2SHector Martin	tristate "Apple SoC SPI Controller platform driver"
113047980c5SChuanhong Guo	depends on ARCH_APPLE || COMPILE_TEST
114047980c5SChuanhong Guo	help
115047980c5SChuanhong Guo	  This enables support for the SPI controller present on
116047980c5SChuanhong Guo	  many Apple SoCs, including the t8103 (M1), t8112 (M2)
117047980c5SChuanhong Guo	  and t600x (M1 Pro/Max/Ultra). Multiple SPI controller
118047980c5SChuanhong Guo	  instances are present on the SoC and each connects usually
119047980c5SChuanhong Guo	  to a single device like spi-nor (nvram), input device controller
1208efaef4dSGabor Juhos	  or fingerprint sensor.
1218efaef4dSGabor Juhos
122b172fd0cSAlban Bedelconfig SPI_AR934X
1238efaef4dSGabor Juhos	tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver"
1248efaef4dSGabor Juhos	depends on ATH79 || COMPILE_TEST
1258efaef4dSGabor Juhos	help
1268efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
1278efaef4dSGabor Juhos	  Qualcomm Atheros AR934X/QCA95XX SoCs.
1285762ab71SRomain Perier
1295762ab71SRomain Perierconfig SPI_ATH79
1305762ab71SRomain Perier	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
1315762ab71SRomain Perier	depends on ATH79 || COMPILE_TEST
1325762ab71SRomain Perier	select SPI_BITBANG
1335762ab71SRomain Perier	help
1345762ab71SRomain Perier	  This enables support for the SPI controller present on the
135e3228ed9SCédric Le Goater	  Atheros AR71XX/AR724X/AR913X SoCs.
136e3228ed9SCédric Le Goater
137e3228ed9SCédric Le Goaterconfig SPI_ARMADA_3700
138e3228ed9SCédric Le Goater	tristate "Marvell Armada 3700 SPI Controller"
139e3228ed9SCédric Le Goater	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
140e3228ed9SCédric Le Goater	help
141e3228ed9SCédric Le Goater	  This enables support for the SPI controller present on the
142e3228ed9SCédric Le Goater	  Marvell Armada 3700 SoCs.
143e3228ed9SCédric Le Goater
144e3228ed9SCédric Le Goaterconfig SPI_ASPEED_SMC
145e3228ed9SCédric Le Goater	tristate "Aspeed flash controllers in SPI mode"
146754ce4f2SHaavard Skinnemoen	depends on ARCH_ASPEED || COMPILE_TEST
147754ce4f2SHaavard Skinnemoen	depends on OF
148a687a533SArnd Bergmann	help
1491cb84b02SGregory CLEMENT	  This enables support for the Firmware Memory controller (FMC)
150754ce4f2SHaavard Skinnemoen	  in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached
151754ce4f2SHaavard Skinnemoen	  to SPI NOR chips, and support for the SPI flash memory
152a687a533SArnd Bergmann	  controller (SPI) for the host firmware. The implementation
153754ce4f2SHaavard Skinnemoen	  only supports SPI NOR.
154e1892546SRadu Pirea
155e1892546SRadu Pireaconfig SPI_ATMEL
156e1892546SRadu Pirea	tristate "Atmel SPI Controller"
157e1892546SRadu Pirea	depends on ARCH_AT91 || COMPILE_TEST
158e1892546SRadu Pirea	depends on OF
159e1892546SRadu Pirea	help
160e1892546SRadu Pirea	  This selects a driver for the Atmel SPI Controller, present on
161e1892546SRadu Pirea	  many AT91 ARM chips.
1620e6aae08SPiotr Bugalski
1630e6aae08SPiotr Bugalskiconfig SPI_AT91_USART
164b780c3f3STudor Ambarus	tristate "Atmel USART Controller SPI driver"
1650e6aae08SPiotr Bugalski	depends on (ARCH_AT91 || COMPILE_TEST)
1660e6aae08SPiotr Bugalski	depends on MFD_AT91_USART
1670e6aae08SPiotr Bugalski	help
1680e6aae08SPiotr Bugalski	  This selects a driver for the AT91 USART Controller as SPI Master,
1690e6aae08SPiotr Bugalski	  present on AT91 and SAMA5 SoC series.
1700e6aae08SPiotr Bugalski
171e32bb870SMark Brownconfig SPI_ATMEL_QUADSPI
172e32bb870SMark Brown	tristate "Atmel Quad SPI Controller"
173e32bb870SMark Brown	depends on ARCH_AT91 || COMPILE_TEST
174e32bb870SMark Brown	depends on OF && HAS_IOMEM
175e32bb870SMark Brown	help
176e32bb870SMark Brown	  This enables support for the Quad SPI controller in master mode.
177e32bb870SMark Brown	  This driver does not support generic SPI. The implementation only
178e32bb870SMark Brown	  supports spi-mem interface.
179b1353d1cSLars-Peter Clausen
180b1353d1cSLars-Peter Clausenconfig SPI_AU1550
181b1353d1cSLars-Peter Clausen	tristate "Au1550/Au1200/Au1300 SPI Controller"
1825a19e198SDavid Lechner	depends on MIPS_ALCHEMY
183b1353d1cSLars-Peter Clausen	select SPI_BITBANG
184b1353d1cSLars-Peter Clausen	help
185b1353d1cSLars-Peter Clausen	  If you say yes to this option, support will be included for the
186b1353d1cSLars-Peter Clausen	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
187b1353d1cSLars-Peter Clausen
188f8043872SChris Bootconfig SPI_AXI_SPI_ENGINE
189f8043872SChris Boot	tristate "Analog Devices AXI SPI Engine controller"
190e0d58cdcSYoshinori Sato	depends on HAS_IOMEM
19135ceb675SFlorian Fainelli	select SPI_OFFLOAD
192f8043872SChris Boot	help
193f8043872SChris Boot	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
194f8043872SChris Boot	  It is part of the SPI Engine framework that is used in some Analog Devices
195f8043872SChris Boot	  reference designs for FPGAs.
196f8043872SChris Boot
197f8043872SChris Bootconfig SPI_BCM2835
198f8043872SChris Boot	tristate "BCM2835 SPI controller"
199f8043872SChris Boot	depends on GPIOLIB
2001ea29b39SMartin Sperl	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
2011ea29b39SMartin Sperl	help
20235ceb675SFlorian Fainelli	  This selects a driver for the Broadcom BCM2835 SPI master.
2031ea29b39SMartin Sperl
2041ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
2051ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller. This driver
2061ea29b39SMartin Sperl	  is for the regular SPI controller. Slave mode operation is not also
2071ea29b39SMartin Sperl	  not supported.
2081ea29b39SMartin Sperl
2091ea29b39SMartin Sperlconfig SPI_BCM2835AUX
210b42dfed8SFlorian Fainelli	tristate "BCM2835 SPI auxiliary controller"
211b42dfed8SFlorian Fainelli	depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
2123a521450SÁlvaro Fernández Rojas	help
213b42dfed8SFlorian Fainelli	  This selects a driver for the Broadcom BCM2835 SPI aux master.
214b42dfed8SFlorian Fainelli
215b42dfed8SFlorian Fainelli	  The BCM2835 contains two types of SPI master controller; the
216142168ebSJonas Gorski	  "universal SPI master", and the regular SPI controller.
217142168ebSJonas Gorski	  This driver is for the universal/auxiliary SPI controller.
21816f3c221SWilliam Zhang
219142168ebSJonas Gorskiconfig SPI_BCM63XX
220142168ebSJonas Gorski	tristate "Broadcom BCM63xx SPI controller"
221142168ebSJonas Gorski	depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
222142168ebSJonas Gorski	help
223fa236a7eSKamal Dasu	  Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
224fa236a7eSKamal Dasu
225279e4af7SJaedon Shinconfig SPI_BCM63XX_HSSPI
226279e4af7SJaedon Shin	tristate "Broadcom BCM63XX HS SPI controller driver"
227fa236a7eSKamal Dasu	depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST
228fa236a7eSKamal Dasu	help
229fa236a7eSKamal Dasu	  This enables support for the High Speed SPI controller present on
230fa236a7eSKamal Dasu	  newer Broadcom BCM63XX SoCs.
2313e84cdd4STudor Ambarus
232fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
233fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
234a38a2233SWilliam Zhang	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
235a38a2233SWilliam Zhang			BMIPS_GENERIC || COMPILE_TEST
236a38a2233SWilliam Zhang	default ARCH_BCM_IPROC
237a38a2233SWilliam Zhang	help
238a38a2233SWilliam Zhang	  Enables support for the Broadcom SPI flash and MSPI controller.
239a38a2233SWilliam Zhang	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
240a38a2233SWilliam Zhang	  based platforms. This driver works for both SPI master for SPI NOR
241a38a2233SWilliam Zhang	  flash device as well as MSPI device.
242a38a2233SWilliam Zhang
2439904f22aSDavid Brownellconfig SPI_BCMBCA_HSSPI
2448ee46db1SAndy Shevchenko	tristate "Broadcom BCMBCA HS SPI controller driver"
2459904f22aSDavid Brownell	depends on ARCH_BCMBCA || COMPILE_TEST
2469904f22aSDavid Brownell	help
2479904f22aSDavid Brownell	  This enables support for the High Speed SPI controller present on
2488ee46db1SAndy Shevchenko	  newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller
2499904f22aSDavid Brownell	  that adds the capability to allow the driver to control chip select
2509904f22aSDavid Brownell	  explicitly.
2519904f22aSDavid Brownell
2529904f22aSDavid Brownellconfig SPI_BITBANG
2539904f22aSDavid Brownell	tristate "Utilities for Bitbanging SPI host controllers"
2549904f22aSDavid Brownell	help
2558ae12a0dSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
2567111763dSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
2577111763dSDavid Brownell	  port, etc).  Or, some systems' SPI host controller drivers use
2586291fe2aSRobert P. J. Day	  this code to manage the per-word or per-transfer accesses to the
2597111763dSDavid Brownell	  hardware shift registers.
2607111763dSDavid Brownell
2617111763dSDavid Brownell	  This is library code, and is automatically selected by drivers that
2627111763dSDavid Brownell	  need it.  You only need to select this explicitly to support driver
2637111763dSDavid Brownell	  modules that aren't part of this kernel tree.
2647111763dSDavid Brownell
2657111763dSDavid Brownellconfig SPI_BUTTERFLY
266c474b386SHarini Katakam	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
267c474b386SHarini Katakam	depends on PARPORT
268c474b386SHarini Katakam	select SPI_BITBANG
269c474b386SHarini Katakam	help
27038b6484eSMichal Simek	  This uses a custom parallel port cable to connect to an AVR
271c474b386SHarini Katakam	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
27231fb632bSRamuthevar Vadivel Murugan	  inexpensive battery powered microcontroller evaluation board.
27331fb632bSRamuthevar Vadivel Murugan	  This same cable can be used to flash new firmware.
274708eafebSThéo Lebrun
27531fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE
27631fb632bSRamuthevar Vadivel Murugan	tristate "Cadence SPI controller"
27731fb632bSRamuthevar Vadivel Murugan	help
27831fb632bSRamuthevar Vadivel Murugan	  This selects the Cadence SPI controller master driver
27931fb632bSRamuthevar Vadivel Murugan	  used by Xilinx Zynq and ZynqMP.
28031fb632bSRamuthevar Vadivel Murugan
28131fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE_QUADSPI
28231fb632bSRamuthevar Vadivel Murugan	tristate "Cadence Quad SPI controller"
283a16cc807SParshuram Thombare	depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST)
284a16cc807SParshuram Thombare	help
285d58ecc54SWitold Sadowski	  Enable support for the Cadence Quad SPI Flash controller.
286a16cc807SParshuram Thombare
287a16cc807SParshuram Thombare	  Cadence QSPI is a specialized controller for connecting an SPI
288a16cc807SParshuram Thombare	  Flash over 1/2/4-bit wide bus. Enable this option if you have a
289a16cc807SParshuram Thombare	  device with a Cadence QSPI controller and want to access the
290a16cc807SParshuram Thombare	  Flash as an MTD device.
29122913a63SRandy Dunlap
292a16cc807SParshuram Thombareconfig SPI_CADENCE_XSPI
293a16cc807SParshuram Thombare	tristate "Cadence XSPI controller"
294a16cc807SParshuram Thombare	depends on OF && HAS_IOMEM && 64BIT
2958846739fSJohannes Thumshirn	depends on SPI_MEM
2968846739fSJohannes Thumshirn	help
2978846739fSJohannes Thumshirn	  Enable support for the Cadence XSPI Flash controller.
2988846739fSJohannes Thumshirn
2998846739fSJohannes Thumshirn	  Cadence XSPI is a specialized controller for connecting an SPI
3008846739fSJohannes Thumshirn	  Flash over up to 8-bit wide bus. Enable this option if you have a
301161b96c3SAlexander Shiyan	  device with a Cadence XSPI controller and want to access the
302161b96c3SAlexander Shiyan	  Flash as an MTD device.
3035634dd8bSAxel Lin
304161b96c3SAlexander Shiyanconfig SPI_CH341
305161b96c3SAlexander Shiyan	tristate "CH341 USB2SPI adapter"
306161b96c3SAlexander Shiyan	depends on SPI_MASTER && USB
307161b96c3SAlexander Shiyan	help
30834b8c661SSteven King	  Enables the SPI controller on the CH341a USB to serial chip
30934b8c661SSteven King
310bce4d12bSSteven Kingconfig SPI_CLPS711X
31134b8c661SSteven King	tristate "CLPS711X host SPI controller"
31234b8c661SSteven King	depends on ARCH_CLPS711X || COMPILE_TEST
31334b8c661SSteven King	help
31434b8c661SSteven King	  This enables dedicated general purpose SPI/Microwire1-compatible
315ef75e767SLucas Tanure	  master mode interface (SSI1) for CLPS711X-based CPUs.
316ef75e767SLucas Tanure
317ef75e767SLucas Tanureconfig SPI_COLDFIRE_QSPI
318439fbc97SMaciej Strozek	tristate "Freescale Coldfire QSPI controller"
319ef75e767SLucas Tanure	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
320ef75e767SLucas Tanure	help
321ef75e767SLucas Tanure	  This enables support for the Coldfire QSPI controller in master
322ef75e767SLucas Tanure	  mode.
323358934a6SSandeep Paulraj
32423ce17adSSekhar Noriconfig SPI_CS42L43
325e48d57d7SMark Brown	tristate "Cirrus Logic CS42L43 SPI controller"
326358934a6SSandeep Paulraj	depends on MFD_CS42L43 && PINCTRL_CS42L43
327358934a6SSandeep Paulraj	select GPIO_SWNODE_UNDEFINED
32823ce17adSSekhar Nori	help
32923ce17adSSekhar Nori	  This enables support for the SPI controller inside the Cirrus Logic
330e32bb870SMark Brown	  CS42L43 audio codec.
331e32bb870SMark Brown
3326423207eSSerge Seminconfig SPI_DAVINCI
333e32bb870SMark Brown	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
334e32bb870SMark Brown	depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
335e32bb870SMark Brown	select SPI_BITBANG
336ecb3a67eSSerge Semin	help
337ecb3a67eSSerge Semin	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
3386c710c0cSSerge Semin
3396c710c0cSSerge Seminconfig SPI_DESIGNWARE
3406c710c0cSSerge Semin	tristate "DesignWare SPI controller core support"
341e32bb870SMark Brown	imply SPI_MEM
342e32bb870SMark Brown	help
343ecb3a67eSSerge Semin	  general driver for SPI controller core from DesignWare
344e32bb870SMark Brown
345e32bb870SMark Brownif SPI_DESIGNWARE
346e32bb870SMark Brown
347ecb3a67eSSerge Seminconfig SPI_DW_DMA
348ecb3a67eSSerge Semin	bool "DMA support for DW SPI controller"
349abf00907SSerge Semin
350abf00907SSerge Seminconfig SPI_DW_PCI
351abf00907SSerge Semin	tristate "PCI interface driver for DW SPI core"
35272188381SSerge Semin	depends on PCI
353abf00907SSerge Semin
354abf00907SSerge Seminconfig SPI_DW_MMIO
355abf00907SSerge Semin	tristate "Memory-mapped io interface driver for DW SPI core"
356abf00907SSerge Semin	depends on HAS_IOMEM
357abf00907SSerge 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
361abf00907SSerge 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
376ecb3a67eSSerge Semin	  Directly mapped SPI flash memory is an interface specific to the
377e32bb870SMark Brown	  Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which
3783d8c0d74SLaurentiu Palcu	  can be used to access a peripheral memory device just by
3793d8c0d74SLaurentiu Palcu	  reading/writing data from/to it. Note that the system APB bus
3803d8c0d74SLaurentiu Palcu	  will stall during each IO from/to the dirmap region until the
3813d8c0d74SLaurentiu Palcu	  operation is finished. So try not to use it concurrently with
3823d8c0d74SLaurentiu Palcu	  time-critical tasks (like the SPI memory operations implemented
3833d8c0d74SLaurentiu Palcu	  in this driver).
3843d8c0d74SLaurentiu Palcu
3853d8c0d74SLaurentiu Palcuendif
3863d8c0d74SLaurentiu Palcu
3873d8c0d74SLaurentiu Palcuconfig SPI_DLN2
388011f23a3SMika Westerberg       tristate "Diolan DLN-2 USB SPI adapter"
389011f23a3SMika Westerberg       depends on MFD_DLN2
390dd1053a9SMark Brown       help
391011f23a3SMika Westerberg	 If you say yes to this option, support will be included for Diolan
392011f23a3SMika Westerberg	 DLN2, a USB to SPI interface.
393011f23a3SMika Westerberg
394011f23a3SMika Westerberg	 This driver can also be built as a module.  If so, the module
3956cd3c7e2SThomas Langer	 will be called spi-dln2.
3969c6a3af0SHauke Mehrtens
3976cd3c7e2SThomas Langerconfig SPI_EP93XX
3986cd3c7e2SThomas Langer	tristate "Cirrus Logic EP93xx SPI controller"
3996cd3c7e2SThomas Langer	depends on ARCH_EP93XX || COMPILE_TEST
4006cd3c7e2SThomas Langer	help
4016cd3c7e2SThomas Langer	  This enables using the Cirrus EP93xx SPI controller in master
4026cd3c7e2SThomas Langer	  mode.
4036cd3c7e2SThomas Langer
404bbb6b2f9SEddie Jamesconfig SPI_FALCON
405bbb6b2f9SEddie James	bool "Falcon SPI controller support"
406bae4ae83SArnd Bergmann	depends on SOC_FALCON
407bbb6b2f9SEddie James	help
408bbb6b2f9SEddie James	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
409bbb6b2f9SEddie James	  emulation that is designed for serial flash access. This driver
410bbb6b2f9SEddie James	  has only been tested with m25p80 type chips. The hardware has no
4115314987dSGao Pan	  support for other types of SPI peripherals.
4125314987dSGao Pan
4135314987dSGao Panconfig SPI_FSI
4145314987dSGao Pan	tristate "FSI SPI driver"
4155314987dSGao Pan	depends on FSI
4165314987dSGao Pan	help
41784d04318SFrieder Schrempf	  This enables support for the driver for FSI bus attached SPI
41884d04318SFrieder Schrempf	  controllers.
41984d04318SFrieder Schrempf
42084d04318SFrieder Schrempfconfig SPI_FSL_LPSPI
42184d04318SFrieder Schrempf	tristate "Freescale i.MX LPSPI controller"
42284d04318SFrieder Schrempf	depends on ARCH_MXC || COMPILE_TEST
42384d04318SFrieder Schrempf	help
42484d04318SFrieder Schrempf	  This enables Freescale i.MX LPSPI controllers in master mode.
42584d04318SFrieder Schrempf
42684d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI
42784d04318SFrieder Schrempf	tristate "Freescale QSPI controller"
428730bc8baSNick Hawkins	depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
429730bc8baSNick Hawkins	depends on HAS_IOMEM
430730bc8baSNick Hawkins	help
431730bc8baSNick Hawkins	  This enables support for the Quad SPI controller in master mode.
432730bc8baSNick Hawkins	  Up to four flash chips can be connected on two buses with two
433730bc8baSNick Hawkins	  chipselects each.
434730bc8baSNick Hawkins	  This controller does not support generic SPI messages. It only
435c770d863SJay Fang	  supports the high-level SPI memory interface.
436c770d863SJay Fang
437c770d863SJay Fangconfig SPI_GXP
438c770d863SJay Fang	tristate "GXP SPI driver"
439c770d863SJay Fang	depends on ARCH_HPE || COMPILE_TEST
440c770d863SJay Fang	help
441c770d863SJay Fang	  This enables support for the driver for GXP bus attached SPI
442c770d863SJay Fang	  controllers.
443c770d863SJay Fang
444c770d863SJay Fangconfig SPI_HISI_KUNPENG
445a2ca53b5SJohn Garry	tristate "HiSilicon SPI Controller for Kunpeng SoCs"
4463e84cdd4STudor Ambarus	depends on (ARM64 && ACPI) || COMPILE_TEST
447a2ca53b5SJohn Garry	help
448a2ca53b5SJohn Garry	  This enables support for HiSilicon SPI controller found on
449a2ca53b5SJohn Garry	  Kunpeng SoCs.
4503e84cdd4STudor Ambarus
451a2ca53b5SJohn Garry	  This driver can also be built as a module. If so, the module
452a2ca53b5SJohn Garry	  will be called hisi-kunpeng-spi.
453a5356aefSYogesh Narayan Gaur
454a5356aefSYogesh Narayan Gaurconfig SPI_HISI_SFC_V3XX
45507628756SAlexander Stein	tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets"
456c6b15b24SMark Brown	depends on (ARM64 && ACPI) || COMPILE_TEST
457a5356aefSYogesh Narayan Gaur	depends on HAS_IOMEM
458a5356aefSYogesh Narayan Gaur	help
459a5356aefSYogesh Narayan Gaur	  This enables support for HiSilicon v3xx SPI NOR flash controller
460a5356aefSYogesh Narayan Gaur	  found in hi16xx chipsets.
461a5356aefSYogesh Narayan Gaur
462a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI
463a5356aefSYogesh Narayan Gaur	tristate "NXP Flex SPI controller"
464d29389deSDavid Brownell	depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST
465d29389deSDavid Brownell	depends on HAS_IOMEM
4665c2301a9SGeert Uytterhoeven	help
467d29389deSDavid Brownell	  This enables support for the Flex SPI controller in master mode.
468d29389deSDavid Brownell	  Up to four slave devices can be connected on two buses with two
469d29389deSDavid Brownell	  chipselects each.
470d29389deSDavid Brownell	  This controller does not support generic SPI messages and only
471d29389deSDavid Brownell	  supports the high-level SPI memory interface.
472d29389deSDavid Brownell
473d29389deSDavid Brownellconfig SPI_GPIO
474d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
475d29389deSDavid Brownell	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
480deba2580SAndrew Bresticker	  slaves connected to a bus using this driver are configured as usual,
481deba2580SAndrew Bresticker	  except that the spi_board_info.controller_data holds the GPIO number
482deba2580SAndrew Bresticker	  for the chipselect used by this controller driver.
483deba2580SAndrew Bresticker
484deba2580SAndrew Bresticker	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
485deba2580SAndrew Bresticker	  making it unusually slow for SPI.  If your platform can inline
486deba2580SAndrew Bresticker	  GPIO operations, you should be able to leverage that for better
487b5f3294fSSascha Hauer	  speed with a custom version of this driver; see the source code.
488b5f3294fSSascha Hauer
489dd1053a9SMark Brownconfig SPI_IMG_SPFI
490b5f3294fSSascha Hauer	tristate "IMG SPFI controller"
4912e236bafSFabio Estevam	depends on MIPS || COMPILE_TEST
492b5f3294fSSascha Hauer	help
493ae5f94ccSArtur Rojek	  This enables support for the SPFI master controller found on
4946d72b114S周琰杰 (Zhou Yanjie)	  IMG SoCs.
495ae5f94ccSArtur Rojek
496ae5f94ccSArtur Rojekconfig SPI_IMX
4976d72b114S周琰杰 (Zhou Yanjie)	tristate "Freescale i.MX SPI controllers"
498ae5f94ccSArtur Rojek	depends on ARCH_MXC || COMPILE_TEST
499ae5f94ccSArtur Rojek	help
500ae5f94ccSArtur Rojek	  This enables support for the Freescale i.MX SPI controllers.
501ae5f94ccSArtur Rojek
502e23e5a05SMika Westerbergconfig SPI_INGENIC
503e23e5a05SMika Westerberg	tristate "Ingenic SoCs SPI controller"
504e23e5a05SMika Westerberg	depends on MACH_INGENIC || COMPILE_TEST
505e23e5a05SMika Westerberg	help
5067db738b5SMauro Lima	  This enables support for the Ingenic SoCs SPI controller.
507e23e5a05SMika Westerberg
508e23e5a05SMika Westerberg	  To compile this driver as a module, choose M here: the module
509e23e5a05SMika Westerberg	  will be called spi-ingenic.
510e23e5a05SMika Westerberg
511e23e5a05SMika Westerbergconfig SPI_INTEL
512e23e5a05SMika Westerberg	tristate
5132ea9b08aSMauro Lima
5142ea9b08aSMauro Limaconfig SPI_INTEL_PCI
5152ea9b08aSMauro Lima	tristate "Intel PCH/PCU SPI flash PCI driver"
5162ea9b08aSMauro Lima	depends on PCI
5172ea9b08aSMauro Lima	depends on X86 || COMPILE_TEST
5182ea9b08aSMauro Lima	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
522e23e5a05SMika Westerberg	  master mode. This controller is used to hold BIOS and other
523e23e5a05SMika Westerberg	  persistent settings. Controllers present in modern Intel hardware
524e23e5a05SMika Westerberg	  only work in hardware sequencing mode, this means that the
525e23e5a05SMika Westerberg	  controller exposes a subset of operations that makes it safer to
526e23e5a05SMika Westerberg	  use. Using this driver it is possible to upgrade BIOS directly
527e23e5a05SMika Westerberg	  from Linux.
528e23e5a05SMika Westerberg
529e23e5a05SMika Westerberg	  To compile this driver as a module, choose M here: the module
5307db738b5SMauro Lima	  will be called spi-intel-pci.
5312ea9b08aSMauro Lima
5322ea9b08aSMauro Limaconfig SPI_INTEL_PLATFORM
5332ea9b08aSMauro Lima	tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
5342ea9b08aSMauro Lima	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
539e23e5a05SMika Westerberg	  controller in master mode that is used to hold BIOS and other
540e23e5a05SMika Westerberg	  persistent settings. Most of these controllers work in
541e23e5a05SMika Westerberg	  software sequencing mode, which means that the controller
5422cb1b3b3SRich Felker	  exposes the low level SPI-NOR opcodes to the software. Using
5432cb1b3b3SRich Felker	  this driver it is possible to upgrade BIOS directly from Linux.
5442cb1b3b3SRich Felker
5452cb1b3b3SRich Felker	  Say N here unless you know what you are doing. Overwriting the
5462cb1b3b3SRich Felker	  SPI flash may render the system unbootable.
5472cb1b3b3SRich Felker
5482cb1b3b3SRich Felker	  To compile this driver as a module, choose M here: the module
5491a90aae3SGerhard Engleder	  will be called spi-intel-platform.
5501a90aae3SGerhard Engleder
5511a90aae3SGerhard Englederconfig SPI_JCORE
5521a90aae3SGerhard Engleder	tristate "J-Core SPI Master"
5531a90aae3SGerhard Engleder	depends on OF && (SUPERH || COMPILE_TEST)
5541a90aae3SGerhard Engleder	help
5551a90aae3SGerhard Engleder	  This enables support for the SPI master controller in the J-Core
5561a90aae3SGerhard Engleder	  synthesizable, open source SoC.
5571a90aae3SGerhard Engleder
5581a90aae3SGerhard Englederconfig SPI_KSPI2
5591a90aae3SGerhard Engleder	tristate "Support for KEBA SPI master type 2 hardware"
5601a90aae3SGerhard Engleder	depends on HAS_IOMEM
56178961a57SKaiwan N Billimoria	depends on KEBA_CP500 || COMPILE_TEST
56278961a57SKaiwan N Billimoria	select AUXILIARY_BUS
5636d1f56aaSKees Cook	help
56478961a57SKaiwan N Billimoria	  This driver supports KEBA SPI master type 2 FPGA implementation,
56578961a57SKaiwan N Billimoria	  as found on CP500 devices for example.
56678961a57SKaiwan N Billimoria
56778961a57SKaiwan N Billimoria	  This driver can also be built as a module. If so, the module
56878961a57SKaiwan N Billimoria	  will be called spi-kspi2.
56978961a57SKaiwan N Billimoria
5706c7a8640SYinbo Zhuconfig SPI_LM70_LLP
5716c7a8640SYinbo Zhu	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
5726c7a8640SYinbo Zhu	depends on PARPORT
5736c7a8640SYinbo Zhu	select SPI_BITBANG
5746c7a8640SYinbo Zhu	help
5756c7a8640SYinbo Zhu	  This driver supports the NS LM70 LLP Evaluation Board,
5766c7a8640SYinbo Zhu	  which interfaces to an LM70 temperature sensor using
5776c7a8640SYinbo Zhu	  a parallel port.
5786c7a8640SYinbo Zhu
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"
5967ecbfff6SSergei Ianovich	select SPI_LOONGSON_CORE
5977ecbfff6SSergei Ianovich	depends on OF && (LOONGARCH || COMPILE_TEST)
5987ecbfff6SSergei Ianovich	help
5997ecbfff6SSergei Ianovich	  This bus driver supports the Loongson SPI hardware controller in
6007ecbfff6SSergei Ianovich	  the Loongson platforms and supports to use DTS framework to
6017ecbfff6SSergei Ianovich	  register SPI device resources.
6027ecbfff6SSergei Ianovich	  Say Y or M here if you want to use the SPI controller on
6037ecbfff6SSergei Ianovich	  Loongson platform.
6047ecbfff6SSergei Ianovich
6057ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
60642bbb709SGrant Likely	tristate "ICP DAS LP-8841 SPI Controller for RTC"
60742bbb709SGrant Likely	depends on MACH_PXA27X_DT || COMPILE_TEST
6087433f2b7SPaul Bolle	help
60942bbb709SGrant Likely	  This driver provides an SPI master device to drive Maxim
61042bbb709SGrant Likely	  DS-1302 real time clock.
61142bbb709SGrant Likely
61242bbb709SGrant Likely	  Say N here unless you plan to run the kernel on an ICP DAS
61300b8fd23SDragos Carp	  LP-8x4x industrial computer.
61400b8fd23SDragos Carp
6156d1f56aaSKees Cookconfig SPI_MPC52xx
61600b8fd23SDragos Carp	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
61700b8fd23SDragos Carp	depends on PPC_MPC52xx
61800b8fd23SDragos Carp	help
61900b8fd23SDragos Carp	  This drivers supports the MPC52xx SPI controller in master SPI
6206e27388fSAnatolij Gustschin	  mode.
6216e27388fSAnatolij Gustschin
6225e8afa34SUwe Kleine-Königconfig SPI_MPC52xx_PSC
6236e27388fSAnatolij Gustschin	tristate "Freescale MPC52xx PSC SPI controller"
6246e27388fSAnatolij Gustschin	depends on PPC_MPC52xx
6256e27388fSAnatolij Gustschin	help
6266e27388fSAnatolij Gustschin	  This enables using the Freescale MPC52xx Programmable Serial
627b36ece83SMingkai Hu	  Controller in master SPI mode.
628b36ece83SMingkai Hu
629e8beacbbSAndreas Larssonconfig SPI_MPC512x_PSC
630e8beacbbSAndreas Larsson	tristate "Freescale MPC512x PSC SPI controller"
631e8beacbbSAndreas Larsson	depends on PPC_MPC512x
632e8beacbbSAndreas Larsson	help
633b36ece83SMingkai Hu	  This enables using the Freescale MPC5121 Programmable Serial
634b36ece83SMingkai Hu	  Controller in SPI master mode.
6353272029fSMingkai Hu
63638455d7aSEsben Haabendalconfig SPI_FSL_LIB
637e8beacbbSAndreas Larsson	tristate
638b36ece83SMingkai Hu	depends on OF
639e8beacbbSAndreas Larsson
640ccf06998SKumar Galaconfig SPI_FSL_CPM
6413272029fSMingkai Hu	tristate
6423272029fSMingkai Hu	depends on FSL_SOC
6433272029fSMingkai Hu
644447b0c7bSAndreas Larssonconfig SPI_FSL_SPI
645447b0c7bSAndreas Larsson	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
646ccf06998SKumar Gala	depends on OF
647349ad66cSChao Fu	select SPI_FSL_LIB
648349ad66cSChao Fu	select SPI_FSL_CPM if FSL_SOC
6491acbdeb9SChao Fu	help
650ec7ed770SAngelo Dureghello	  This enables using the Freescale SPI controllers in master mode.
651349ad66cSChao Fu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
652349ad66cSChao Fu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
6530dcdcd0eSAngelo Dureghello	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
654349ad66cSChao Fu	  master mode.
6558b60d6c2SMingkai Hu
65638455d7aSEsben Haabendalconfig SPI_FSL_DSPI
6578b60d6c2SMingkai Hu	tristate "Freescale DSPI controller"
6588b60d6c2SMingkai Hu	select REGMAP_MMIO
6598b60d6c2SMingkai Hu	depends on ARCH_MXC || ARCH_NXP || M5441x || COMPILE_TEST
6608b60d6c2SMingkai Hu	help
6618b60d6c2SMingkai Hu	  This enables support for the Freescale DSPI controller in master
6628b60d6c2SMingkai Hu	  mode. S32, VF610, LS1021A and ColdFire platforms uses the controller.
663caee8e38SWentong Wu
664caee8e38SWentong Wuconfig SPI_FSL_ESPI
665caee8e38SWentong Wu	tristate "Freescale eSPI controller"
666caee8e38SWentong Wu	depends on FSL_SOC
667caee8e38SWentong Wu	help
668caee8e38SWentong Wu	  This enables using the Freescale eSPI controllers in master mode.
669caee8e38SWentong Wu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
670caee8e38SWentong Wu	  P20xx, P30xx,P40xx, P50xx uses this controller.
671caee8e38SWentong Wu
672caee8e38SWentong Wuconfig SPI_LJCA
673caee8e38SWentong Wu	tristate "Intel La Jolla Cove Adapter SPI support"
674454fa271SNeil Armstrong	depends on USB_LJCA
675454fa271SNeil Armstrong	default USB_LJCA
6763e0cf4d3SSunny Luo	help
677454fa271SNeil Armstrong	  Select this option to enable SPI driver for the Intel
678454fa271SNeil Armstrong	  La Jolla Cove Adapter (LJCA) board.
679454fa271SNeil Armstrong
680454fa271SNeil Armstrong	  This driver can also be built as a module. If so, the module
681454fa271SNeil Armstrong	  will be called spi-ljca.
682c3e4bc54SBeniamino Galvani
683c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPICC
684c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPICC controller"
6851327ecd4SBeniamino Galvani	depends on COMMON_CLK
686c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
687c3e4bc54SBeniamino Galvani	help
688c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPICC (SPI communication
689c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
6909ac8d176SConor Dooley
6919ac8d176SConor Dooleyconfig SPI_MESON_SPIFC
6929ac8d176SConor Dooley	tristate "Amlogic Meson SPIFC controller"
6939ac8d176SConor Dooley	depends on ARCH_MESON || COMPILE_TEST
6949ac8d176SConor Dooley	select REGMAP_MMIO
6959ac8d176SConor Dooley	help
6969ac8d176SConor Dooley	  This enables master mode support for the SPIFC (SPI flash
6979ac8d176SConor Dooley	  controller) available in Amlogic Meson SoCs.
6989ac8d176SConor Dooley
6998596124cSNaga Sureshkumar Relliconfig SPI_MICROCHIP_CORE
7008596124cSNaga Sureshkumar Relli	tristate "Microchip FPGA SPI controllers"
7018596124cSNaga Sureshkumar Relli	depends on SPI_MASTER
7028596124cSNaga Sureshkumar Relli	help
7038596124cSNaga Sureshkumar Relli	  This enables the SPI driver for Microchip FPGA SPI controllers.
7048596124cSNaga Sureshkumar Relli	  Say Y or M here if you want to use the "hard" controllers on
7058596124cSNaga Sureshkumar Relli	  PolarFire SoC.
7068596124cSNaga Sureshkumar Relli	  If built as a module, it will be called spi-microchip-core.
7078596124cSNaga Sureshkumar Relli
708a568231fSLeilk Liuconfig SPI_MICROCHIP_CORE_QSPI
709a568231fSLeilk Liu	tristate "Microchip FPGA QSPI controllers"
710a568231fSLeilk Liu	depends on SPI_MASTER
711a568231fSLeilk Liu	help
712a568231fSLeilk Liu	  This enables the QSPI driver for Microchip FPGA QSPI controllers.
713a568231fSLeilk Liu	  Say Y or M here if you want to use the QSPI controllers on
714a568231fSLeilk Liu	  PolarFire SoC.
715a568231fSLeilk Liu	  If built as a module, it will be called spi-microchip-core-qspi.
716a568231fSLeilk Liu
717cbd66c62SStefan Roeseconfig SPI_MT65XX
718cbd66c62SStefan Roese	tristate "MediaTek SPI controller"
719cbd66c62SStefan Roese	depends on ARCH_MEDIATEK || COMPILE_TEST
720cbd66c62SStefan Roese	help
721cbd66c62SStefan Roese	  This selects the MediaTek(R) SPI bus driver.
722cbd66c62SStefan Roese	  If you want to use MediaTek(R) SPI interface,
723881d1ee9SChuanhong Guo	  say Y or M here.If you are not sure, say N.
724881d1ee9SChuanhong Guo	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
725881d1ee9SChuanhong Guo
726881d1ee9SChuanhong Guoconfig SPI_MT7621
727881d1ee9SChuanhong Guo	tristate "MediaTek MT7621 SPI Controller"
7283e84cdd4STudor Ambarus	depends on RALINK || COMPILE_TEST
729881d1ee9SChuanhong Guo	help
7303e84cdd4STudor Ambarus	  This selects a driver for the MediaTek MT7621 SPI Controller.
731881d1ee9SChuanhong Guo
732881d1ee9SChuanhong Guoconfig SPI_MTK_NOR
733764f1b74SChuanhong Guo	tristate "MediaTek SPI NOR controller"
734764f1b74SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
735764f1b74SChuanhong Guo	help
736764f1b74SChuanhong Guo	  This enables support for SPI NOR controller found on MediaTek
737764f1b74SChuanhong Guo	  ARM SoCs. This is a controller specifically for SPI NOR flash.
738764f1b74SChuanhong Guo	  It can perform generic SPI transfers up to 6 bytes via generic
739764f1b74SChuanhong Guo	  SPI interface as well as several SPI NOR specific instructions
740764f1b74SChuanhong Guo	  via SPI MEM interface.
7418613dda6SAhelenia Ziemiańska
742764f1b74SChuanhong Guoconfig SPI_MTK_SNFI
7431f8811a2SJonathan Neuschäfer	tristate "MediaTek SPI NAND Flash Interface"
7441f8811a2SJonathan Neuschäfer	depends on ARCH_MEDIATEK || COMPILE_TEST
7451f8811a2SJonathan Neuschäfer	depends on MTD_NAND_ECC_MEDIATEK
7461f8811a2SJonathan Neuschäfer	help
7471f8811a2SJonathan Neuschäfer	  This enables support for SPI-NAND mode on the MediaTek NAND
7481f8811a2SJonathan Neuschäfer	  Flash Interface found on MediaTek ARM SoCs. This controller
7491f8811a2SJonathan Neuschäfer	  is implemented as a SPI-MEM controller with pipelined ECC
7501f8811a2SJonathan Neuschäfer	  capability.
7511f8811a2SJonathan Neuschäfer
7521f8811a2SJonathan Neuschäferconfig SPI_WPCM_FIU
7531f8811a2SJonathan Neuschäfer	tristate "Nuvoton WPCM450 Flash Interface Unit"
754ace55c41STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
755ace55c41STomer Maimon	select REGMAP
756ace55c41STomer Maimon	help
757ace55c41STomer Maimon	  This enables support got the Flash Interface Unit SPI controller
758ace55c41STomer Maimon	  present in the Nuvoton WPCM450 SoC.
759ace55c41STomer Maimon
760ace55c41STomer Maimon	  This driver does not support generic SPI. The implementation only
761ace55c41STomer Maimon	  supports the spi-mem interface.
762ace55c41STomer Maimon
763ace55c41STomer Maimonconfig SPI_NPCM_FIU
7642a22f1b3STomer Maimon	tristate "Nuvoton NPCM FLASH Interface Unit"
7652a22f1b3STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
7662a22f1b3STomer Maimon	depends on OF && HAS_IOMEM
7672a22f1b3STomer Maimon	help
7682a22f1b3STomer Maimon	  This enables support for the Flash Interface Unit SPI controller
7692a22f1b3STomer Maimon	  in master mode.
7702a22f1b3STomer Maimon	  This driver does not support generic SPI. The implementation only
77117f84b79SHauke Mehrtens	  supports spi-mem interface.
77217f84b79SHauke Mehrtens
773040f7f97SDilip Kotaconfig SPI_NPCM_PSPI
77417f84b79SHauke Mehrtens	tristate "Nuvoton NPCM PSPI Controller"
77517f84b79SHauke Mehrtens	depends on ARCH_NPCM || COMPILE_TEST
77617f84b79SHauke Mehrtens	help
777040f7f97SDilip Kota	  This driver provides support for Nuvoton NPCM BMC
77817f84b79SHauke Mehrtens	  Peripheral SPI controller in master mode.
779ce792580SThomas Chou
780ce792580SThomas Chouconfig SPI_LANTIQ_SSC
7815c2301a9SGeert Uytterhoeven	tristate "Lantiq SSC SPI controller"
782ce792580SThomas Chou	depends on LANTIQ || X86 || COMPILE_TEST
783ce792580SThomas Chou	help
784ce792580SThomas Chou	  This driver supports the Lantiq SSC SPI controller in master
785ce792580SThomas Chou	  mode. This controller is found on Intel (former Lantiq) SoCs like
7866b52c00fSDavid Daney	  the Danube, Falcon, xRX200, xRX300, Lightning Mountain.
7876b52c00fSDavid Daney
7889ddebc46SDavid Daneyconfig SPI_OC_TINY
7896b52c00fSDavid Daney	tristate "OpenCores tiny SPI"
7906b52c00fSDavid Daney	depends on GPIOLIB || COMPILE_TEST
7916b52c00fSDavid Daney	select SPI_BITBANG
7926b52c00fSDavid Daney	help
793fdb3c18dSDavid Brownell	  This is the driver for OpenCores tiny SPI master controller.
794fdb3c18dSDavid Brownell
79558d37dc1SArnd Bergmannconfig SPI_OCTEON
796fdb3c18dSDavid Brownell	tristate "Cavium OCTEON SPI controller"
797fdb3c18dSDavid Brownell	depends on CAVIUM_OCTEON_SOC
798fdb3c18dSDavid Brownell	help
799fdb3c18dSDavid Brownell	  SPI host driver for the hardware found on some Cavium OCTEON
800ccdc7bf9SSamuel Ortiz	  SOCs.
8018ebeb545SSyed Rafiuddin
80281df42d1SVignesh Rconfig SPI_OMAP_UWIRE
8032b32e987SFranklin S Cooper Jr	tristate "OMAP1 MicroWire"
804ccdc7bf9SSamuel Ortiz	depends on ARCH_OMAP1 || (ARM && COMPILE_TEST)
8058ebeb545SSyed Rafiuddin	select SPI_BITBANG
806ccdc7bf9SSamuel Ortiz	help
80769c202afSAndrea Paterniani	  This hooks up to the MicroWire controller on OMAP1 chips.
808505a1495SSourav Poddar
809505a1495SSourav Poddarconfig SPI_OMAP24XX
810505a1495SSourav Poddar	tristate "McSPI driver for OMAP"
811505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
812505a1495SSourav Poddar	select SG_SPLIT
813505a1495SSourav Poddar	help
814505a1495SSourav Poddar	  SPI master controller for OMAP24XX and later Multichannel SPI
815505a1495SSourav Poddar	  (McSPI) modules.
81660cadec9SShadi Ammouri
8176d1f56aaSKees Cookconfig SPI_TI_QSPI
818710a1d54SThomas Petazzoni	tristate "DRA7xxx QSPI controller support"
81960cadec9SShadi Ammouri	depends on ARCH_OMAP2PLUS || COMPILE_TEST
82073482910SUwe Kleine-König	help
82173482910SUwe Kleine-König	  QSPI master controller for DRA7xxx used for flash devices.
82260cadec9SShadi Ammouri	  This device supports single, dual and quad read support, while
8231cc0cbeaSTharun Kumar P	  it only supports single write mode.
8241cc0cbeaSTharun Kumar P
8251cc0cbeaSTharun Kumar Pconfig SPI_ORION
8261cc0cbeaSTharun Kumar P	tristate "Orion SPI master"
8271cc0cbeaSTharun Kumar P	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
8281cc0cbeaSTharun Kumar P	help
8291cc0cbeaSTharun Kumar P	  This enables using the SPI master controller on the Orion
8301cc0cbeaSTharun Kumar P	  and MVEBU chips.
8311cc0cbeaSTharun Kumar P
8321bcb9f8cSPurna Chandra Mandalconfig SPI_PCI1XXXX
8331bcb9f8cSPurna Chandra Mandal	tristate "PCI1XXXX SPI Bus support"
8341bcb9f8cSPurna Chandra Mandal	depends on PCI
8351bcb9f8cSPurna Chandra Mandal	help
8361bcb9f8cSPurna Chandra Mandal	  Say "yes" to Enable the SPI Bus support for the PCI1xxxx card
8371bcb9f8cSPurna Chandra Mandal	  This is a PCI to SPI Bus driver
8383270ac23SPurna Chandra Mandal	  This driver can be built as module. If so, the module will be
8393270ac23SPurna Chandra Mandal	  called as spi-pci1xxxx.
8403270ac23SPurna Chandra Mandal
8413270ac23SPurna Chandra Mandalconfig SPI_PIC32
8423270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
8433270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
844b43d65f7SLinus Walleij	help
8457f9a4b97SLinus Walleij	  SPI driver for Microchip PIC32 SPI master controller.
8467f9a4b97SLinus Walleij
847f33b29eeSlinus.walleij@stericsson.comconfig SPI_PIC32_SQI
848f33b29eeSlinus.walleij@stericsson.com	tristate "Microchip PIC32 Quad SPI driver"
849f33b29eeSlinus.walleij@stericsson.com	depends on MACH_PIC32 || COMPILE_TEST
850b43d65f7SLinus Walleij	help
851b43d65f7SLinus Walleij	  SPI driver for PIC32 Quad SPI controller.
852b43d65f7SLinus Walleij
853b43d65f7SLinus Walleijconfig SPI_PL022
854b43d65f7SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
85544dab88eSSteven A. Falco	depends on ARM_AMBA
85644dab88eSSteven A. Falco	default y if ARCH_REALVIEW
8575e8afa34SUwe Kleine-König	default y if INTEGRATOR_IMPD1
85844dab88eSSteven A. Falco	default y if ARCH_VERSATILE
85944dab88eSSteven A. Falco	help
86044dab88eSSteven A. Falco	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
86144dab88eSSteven A. Falco	  controller. If you have an embedded system with an AMBA(R)
862e0c9905eSStephen Street	  bus and a PL022 controller, say Y or M here.
863e0c9905eSStephen Street
8643af201a4SAndy Shevchenkoconfig SPI_PPC4xx
865128345b1SArnd Bergmann	tristate "PPC4xx SPI Controller"
866e0c9905eSStephen Street	depends on PPC32 && 4xx
867d6ea3df0SSebastian Andrzej Siewior	select SPI_BITBANG
8682d069c11SAndy Shevchenko	help
869d6ea3df0SSebastian Andrzej Siewior	  This selects a driver for the PPC4xx SPI Controller.
870d6ea3df0SSebastian Andrzej Siewior
871afa93c90SChew, Chiau Eeconfig SPI_PXA2XX
872e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
87342d20a6aSChris Packham	depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST
87442d20a6aSChris Packham	select PXA_SSP if ARCH_PXA || ARCH_MMP
87542d20a6aSChris Packham	help
87642d20a6aSChris Packham	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
87742d20a6aSChris Packham	  controller. The driver can be configured to use any SSP port.
87842d20a6aSChris Packham
87942d20a6aSChris Packhamconfig SPI_PXA2XX_PCI
88042d20a6aSChris Packham	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
88142d20a6aSChris Packham
88242d20a6aSChris Packhamconfig SPI_REALTEK_SNAND
88342d20a6aSChris Packham	tristate "Realtek SPI-NAND Flash Controller"
88464e36824Saddy ke	depends on MACH_REALTEK_RTL || COMPILE_TEST
88564e36824Saddy ke	select REGMAP
886330a200dSMark Brown	help
88764e36824Saddy ke	  This enables support for the SPI-NAND Flash controller on
88864e36824Saddy ke	  Realtek SoCs.
88964e36824Saddy ke
89064e36824Saddy ke	  This driver does not support generic SPI. The implementation
89164e36824Saddy ke	  only supports the spi-mem interface.
89264e36824Saddy ke
89364e36824Saddy keconfig SPI_ROCKCHIP
89464e36824Saddy ke	tristate "Rockchip SPI controller driver"
89564e36824Saddy ke	depends on ARCH_ROCKCHIP || COMPILE_TEST
8960b89fc0aSChris Morgan	help
8970b89fc0aSChris Morgan	  This selects a driver for Rockchip SPI controller.
8980b89fc0aSChris Morgan
8990b89fc0aSChris Morgan	  If you say yes to this option, support will be included for
9000b89fc0aSChris Morgan	  RK3066, RK3188 and RK3288 families of SPI controller.
9010b89fc0aSChris Morgan	  Rockchip SPI controller support DMA transport and PIO mode.
9020b89fc0aSChris Morgan	  The main usecase of this controller is to use spi flash as boot
9030b89fc0aSChris Morgan	  device.
9040b89fc0aSChris Morgan
9050b89fc0aSChris Morganconfig SPI_ROCKCHIP_SFC
9060b89fc0aSChris Morgan	tristate "Rockchip Serial Flash Controller (SFC)"
9070b89fc0aSChris Morgan	depends on ARCH_ROCKCHIP || COMPILE_TEST
90805aec357SBert Vermeulen	depends on HAS_IOMEM && HAS_DMA
90905aec357SBert Vermeulen	help
91005aec357SBert Vermeulen	  This enables support for Rockchip serial flash controller. This
91105aec357SBert Vermeulen	  is a specialized controller used to access SPI flash on some
91205aec357SBert Vermeulen	  Rockchip SOCs.
91305aec357SBert Vermeulen
914eb8d6d46SSergei Shtylyov	  ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
915eb8d6d46SSergei Shtylyov	  the driver automatically falls back to PIO mode.
916eb8d6d46SSergei Shtylyov
917eb8d6d46SSergei Shtylyovconfig SPI_RB4XX
918f4a10fc4SAdam Ford	tristate "Mikrotik RB4XX SPI master"
919eb8d6d46SSergei Shtylyov	depends on SPI_MASTER && ATH79
9200b2182ddSShimoda, Yoshihiro	help
921e290c343SGeert Uytterhoeven	  SPI controller driver for the Mikrotik RB4xx series boards.
9223aec3166SSimon Horman
9230b2182ddSShimoda, Yoshihiroconfig SPI_RPCIF
924e290c343SGeert Uytterhoeven	tristate "Renesas RPC-IF SPI driver"
9250b2182ddSShimoda, Yoshihiro	depends on RENESAS_RPCIF
92683c624d8SFabrizio Castro	help
927e1ef683cSGeert Uytterhoeven	  SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF.
92883c624d8SFabrizio Castro
92983c624d8SFabrizio Castroconfig SPI_RSPI
930a4f7ef6dSFabrizio Castro	tristate "Renesas RSPI/QSPI controller"
931a4f7ef6dSFabrizio Castro	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
93283c624d8SFabrizio Castro	help
93304000dc6SGirish Mahadevan	  SPI driver for Renesas RSPI and QSPI blocks.
93404000dc6SGirish Mahadevan
935ada85054SMark Brownconfig SPI_RZV2H_RSPI
93604000dc6SGirish Mahadevan	tristate "Renesas RZ/V2H RSPI controller"
93704000dc6SGirish Mahadevan	depends on ARCH_RENESAS || COMPILE_TEST
93804000dc6SGirish Mahadevan	help
9397304d190SMd Sadre Alam	  RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI).
940d32c4e58SGeert Uytterhoeven	  RSPI supports both SPI host and SPI target roles. This option only
9417304d190SMd Sadre Alam	  enables the SPI host role.
942d32c4e58SGeert Uytterhoeven
9437304d190SMd Sadre Alamconfig SPI_RZV2M_CSI
9447304d190SMd Sadre Alam	tristate "Renesas RZ/V2M CSI controller"
9457304d190SMd Sadre Alam	depends on ARCH_RENESAS || COMPILE_TEST
9467304d190SMd Sadre Alam	help
9477304d190SMd Sadre Alam	  SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI).
94864ff247aSIvan T. Ivanov	  CSI supports both SPI host and SPI target roles.
94964ff247aSIvan T. Ivanov
9502abaad67SAlex Dewarconfig SPI_QCOM_QSPI
95164ff247aSIvan T. Ivanov	tristate "QTI QSPI controller"
95264ff247aSIvan T. Ivanov	depends on ARCH_QCOM || COMPILE_TEST
95364ff247aSIvan T. Ivanov	help
95464ff247aSIvan T. Ivanov	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.
95564ff247aSIvan T. Ivanov
95664ff247aSIvan T. Ivanovconfig SPI_QPIC_SNAND
95764ff247aSIvan T. Ivanov	tristate "QPIC SNAND controller"
95864ff247aSIvan T. Ivanov	depends on ARCH_QCOM || COMPILE_TEST
95964ff247aSIvan T. Ivanov	depends on MTD
9608ae12a0dSDavid Brownell	help
961561de45fSGirish Mahadevan	  QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller.
962561de45fSGirish Mahadevan	  QPIC controller supports both parallel nand and serial nand.
963561de45fSGirish Mahadevan	  This config will enable serial nand driver for QPIC controller.
964561de45fSGirish Mahadevan
965561de45fSGirish Mahadevanconfig SPI_QUP
966561de45fSGirish Mahadevan	tristate "Qualcomm SPI controller with QUP interface"
967561de45fSGirish Mahadevan	depends on ARCH_QCOM || COMPILE_TEST
968561de45fSGirish Mahadevan	help
969561de45fSGirish Mahadevan	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
970561de45fSGirish Mahadevan	  provides a common data path (an output FIFO and an input FIFO)
971561de45fSGirish Mahadevan	  for serial peripheral interface (SPI) mini-core. SPI in master
972561de45fSGirish Mahadevan	  mode supports up to 50MHz, up to four chip selects, programmable
973230d42d4SJassi Brar	  data path from 4 bits to 32 bits and numerous protocol variants.
9745b71cbf0SKrzysztof Kozlowski
975db8230d2SArnd Bergmann	  This driver can also be built as a module.  If so, the module
976230d42d4SJassi Brar	  will be called spi_qup.
9775b71cbf0SKrzysztof Kozlowski
9785b71cbf0SKrzysztof Kozlowskiconfig SPI_QCOM_GENI
979230d42d4SJassi Brar	tristate "Qualcomm GENI based SPI controller"
9803ce8859eSGuenter Roeck	depends on QCOM_GENI_SE
9813ce8859eSGuenter Roeck	help
9823ce8859eSGuenter Roeck	  This driver supports GENI serial engine based SPI controller in
9833ce8859eSGuenter Roeck	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
9843ce8859eSGuenter Roeck	  yes to this option, support will be included for the built-in SPI
9853ce8859eSGuenter Roeck	  interface on the Qualcomm Technologies Inc.'s SoCs.
9868051effcSMagnus Damm
9878051effcSMagnus Damm	  This driver can also be built as a module.  If so, the module
988e5b43ed2SGeert Uytterhoeven	  will be called spi-geni-qcom.
9896ffc84ddSGeert Uytterhoeven
9908051effcSMagnus Dammconfig SPI_S3C64XX
991746aeffdSBastian Hecht	tristate "Samsung S3C64XX/Exynos SoC series type SPI"
9928051effcSMagnus Damm	depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
9935c05dd07SYoshihiro Shimoda	help
9945c05dd07SYoshihiro Shimoda	  SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs.
995dd1053a9SMark Brown	  Choose Y/M here only if you build for such Samsung SoC.
9965c05dd07SYoshihiro Shimoda
9975c05dd07SYoshihiro Shimodaconfig SPI_SC18IS602
9985c05dd07SYoshihiro Shimoda	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
99937e46640SMagnus Damm	depends on I2C
100037e46640SMagnus Damm	help
10016291fe2aSRobert P. J. Day	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
100237e46640SMagnus Damm
100337e46640SMagnus Dammconfig SPI_SH_MSIOF
100437e46640SMagnus Damm	tristate "SuperH MSIOF SPI controller"
100537e46640SMagnus Damm	depends on HAVE_CLK
1006d1c8bbd7SKuninori Morimoto	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
1007d1c8bbd7SKuninori Morimoto	help
10083aec3166SSimon Horman	  SPI driver for SuperH and SH Mobile MSIOF blocks.
1009d1c8bbd7SKuninori Morimoto
1010d1c8bbd7SKuninori Morimotoconfig SPI_SH
1011d1c8bbd7SKuninori Morimoto	tristate "SuperH SPI controller"
1012484a9a68SYash Shah	depends on SUPERH || COMPILE_TEST
1013484a9a68SYash Shah	help
1014484a9a68SYash Shah	  SPI driver for SuperH SPI blocks.
1015484a9a68SYash Shah
1016484a9a68SYash Shahconfig SPI_SH_SCI
1017484a9a68SYash Shah	tristate "SuperH SCI SPI controller"
1018805be7ddSLeilk Liu	depends on SUPERH
1019805be7ddSLeilk Liu	select SPI_BITBANG
1020805be7ddSLeilk Liu	help
1021805be7ddSLeilk Liu	  SPI driver for SuperH SCI blocks.
1022805be7ddSLeilk Liu
1023805be7ddSLeilk Liuconfig SPI_SH_HSPI
1024805be7ddSLeilk Liu	tristate "SuperH HSPI controller"
1025805be7ddSLeilk Liu	depends on ARCH_RENESAS || COMPILE_TEST
1026805be7ddSLeilk Liu	help
1027805be7ddSLeilk Liu	  SPI driver for SuperH HSPI blocks.
10281b74dd64SKunihiko Hayashi
10291b74dd64SKunihiko Hayashiconfig SPI_SIFIVE
10301b74dd64SKunihiko Hayashi	tristate "SiFive SPI controller"
10311b74dd64SKunihiko Hayashi	depends on HAS_IOMEM
10321b74dd64SKunihiko Hayashi	help
10331b74dd64SKunihiko Hayashi	  This exposes the SPI controller IP from SiFive.
10341b74dd64SKunihiko Hayashi
10351b74dd64SKunihiko Hayashiconfig SPI_SLAVE_MT27XX
10361b74dd64SKunihiko Hayashi	tristate "MediaTek SPI slave device"
1037de16c322SLongbin Li	depends on ARCH_MEDIATEK || COMPILE_TEST
1038de16c322SLongbin Li	depends on SPI_SLAVE
1039de16c322SLongbin Li	help
1040de16c322SLongbin Li	  This selects the MediaTek(R) SPI slave device driver.
1041de16c322SLongbin Li	  If you want to use MediaTek(R) SPI slave interface,
1042de16c322SLongbin Li	  say Y or M here.If you are not sure, say N.
1043de16c322SLongbin Li	  SPI slave drivers for Mediatek MT27XX series ARM SoCs.
1044de16c322SLongbin Li
1045de16c322SLongbin Liconfig SPI_SN_F_OSPI
1046e7d973a3SLanqing Liu	tristate "Socionext F_OSPI SPI flash controller"
1047e7d973a3SLanqing Liu	depends on OF && HAS_IOMEM
1048e7d973a3SLanqing Liu	depends on SPI_MEM
1049e7d973a3SLanqing Liu	help
1050e7d973a3SLanqing Liu	  This enables support for the Socionext F_OSPI controller
1051e7d973a3SLanqing Liu	  for connecting an SPI Flash memory over up to 8-bit wide bus.
10527e2903cbSBaolin Wang	  It supports indirect access mode only.
10537e2903cbSBaolin Wang
10547e2903cbSBaolin Wangconfig SPI_SG2044_NOR
1055e83f3742SArnd Bergmann	tristate "SG2044 SPI NOR Controller"
10567e2903cbSBaolin Wang	depends on ARCH_SOPHGO || COMPILE_TEST
10577e2903cbSBaolin Wang	help
10587e2903cbSBaolin Wang	  This enables support for the SG2044 SPI NOR controller,
1059dcbe0d84SAmelie Delaunay	  which supports Dual/Quad read and write operations while
1060dcbe0d84SAmelie Delaunay	  also supporting 3Byte address devices and 4Byte address
1061dcbe0d84SAmelie Delaunay	  devices.
1062e40335fcSValentin Caron
1063dcbe0d84SAmelie Delaunayconfig SPI_SPRD
1064bb35c9f9SCezary Gapinski	tristate "Spreadtrum SPI controller"
1065dcbe0d84SAmelie Delaunay	depends on ARCH_SPRD || COMPILE_TEST
1066dcbe0d84SAmelie Delaunay	help
1067dcbe0d84SAmelie Delaunay	  SPI driver for Spreadtrum SoCs.
1068dcbe0d84SAmelie Delaunay
1069dcbe0d84SAmelie Delaunayconfig SPI_SPRD_ADI
107079b8a705SPatrice Chotard	tristate "Spreadtrum ADI controller"
107179b8a705SPatrice Chotard	depends on ARCH_SPRD || COMPILE_TEST
107279b8a705SPatrice Chotard	depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
107379b8a705SPatrice Chotard	help
107479b8a705SPatrice Chotard	  ADI driver based on SPI for Spreadtrum SoCs.
107579b8a705SPatrice Chotard
107679b8a705SPatrice Chotardconfig SPI_STM32
107779b8a705SPatrice Chotard	tristate "STMicroelectronics STM32 SPI controller"
107879b8a705SPatrice Chotard	depends on ARCH_STM32 || COMPILE_TEST
107979b8a705SPatrice Chotard	select SPI_SLAVE
1080c530cd1dSLudovic Barre	help
1081c530cd1dSLudovic Barre	  SPI driver for STMicroelectronics STM32 SoCs.
1082c530cd1dSLudovic Barre
1083c530cd1dSLudovic Barre	  STM32 SPI controller supports DMA and PIO modes. When DMA
10846829222bSPatrice Chotard	  is not available, the driver automatically falls back to
1085c530cd1dSLudovic Barre	  PIO mode.
1086c530cd1dSLudovic Barre
1087c530cd1dSLudovic Barreconfig SPI_STM32_OSPI
1088c530cd1dSLudovic Barre	tristate "STMicroelectronics STM32 OCTO SPI controller"
1089c530cd1dSLudovic Barre	depends on ARCH_STM32 || COMPILE_TEST
10909e862375SLee Jones	depends on OF
10919e862375SLee Jones	depends on SPI_MEM
109283fefd2dSAxel Lin	help
10939e862375SLee Jones	  This enables support for the Octo SPI controller in master mode.
10949e862375SLee Jones	  This driver does not support generic SPI. The implementation only
10959e862375SLee Jones	  supports spi-mem interface.
10969e862375SLee Jones
1097b5f65179SMaxime Ripardconfig SPI_STM32_QSPI
1098b5f65179SMaxime Ripard	tristate "STMicroelectronics STM32 QUAD SPI controller"
1099b5f65179SMaxime Ripard	depends on ARCH_STM32 || COMPILE_TEST
1100b5f65179SMaxime Ripard	depends on OF
1101b5f65179SMaxime Ripard	depends on SPI_MEM
1102b5f65179SMaxime Ripard	help
11033558fe90SMaxime Ripard	  This enables support for the Quad SPI controller in master mode.
11043558fe90SMaxime Ripard	  This driver does not support generic SPI. The implementation only
11053558fe90SMaxime Ripard	  supports spi-mem interface.
11067961656aSMark Brown
11073558fe90SMaxime Ripardconfig SPI_ST_SSC4
11083558fe90SMaxime Ripard	tristate "STMicroelectronics SPI SSC-based driver"
11093558fe90SMaxime Ripard	depends on ARCH_STI || COMPILE_TEST
1110f62ca4e2SLi-hao Kuo	help
1111f62ca4e2SLi-hao Kuo	  STMicroelectronics SoCs support for SPI. If you say yes to
1112f62ca4e2SLi-hao Kuo	  this option, support will be included for the SSC driven SPI.
1113f62ca4e2SLi-hao Kuo
1114f62ca4e2SLi-hao Kuoconfig SPI_SUN4I
1115f62ca4e2SLi-hao Kuo	tristate "Allwinner A10 SoCs SPI controller"
1116f62ca4e2SLi-hao Kuo	depends on ARCH_SUNXI || COMPILE_TEST
1117f62ca4e2SLi-hao Kuo	help
1118f62ca4e2SLi-hao Kuo	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
1119f62ca4e2SLi-hao Kuo
1120f62ca4e2SLi-hao Kuoconfig SPI_SUN6I
1121b0823ee3SMasahisa Kojima	tristate "Allwinner A31 SPI controller"
1122b0823ee3SMasahisa Kojima	depends on ARCH_SUNXI || COMPILE_TEST
1123b0823ee3SMasahisa Kojima	depends on RESET_CONTROLLER
1124b0823ee3SMasahisa Kojima	help
1125b0823ee3SMasahisa Kojima	  This enables using the SPI controller on the Allwinner A31 SoCs.
1126b0823ee3SMasahisa Kojima
1127b0823ee3SMasahisa Kojimaconfig SPI_SUNPLUS_SP7021
1128b0823ee3SMasahisa Kojima	tristate "Sunplus SP7021 SPI controller"
1129b0823ee3SMasahisa Kojima	depends on SOC_SP7021 || COMPILE_TEST
1130b0823ee3SMasahisa Kojima	help
1131b942d80bSMason Yang	  This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs.
1132b942d80bSMason Yang	  This driver can also be built as a module. If so, the module will be
1133b942d80bSMason Yang	  called as spi-sunplus-sp7021.
113400360ebaSMiquel Raynal
1135b942d80bSMason Yang	  If you have a  Sunplus SP7021 platform say Y here.
1136b942d80bSMason Yang	  If unsure, say N.
1137b942d80bSMason Yang
1138646781d3SMarek Vasutconfig SPI_SYNQUACER
1139646781d3SMarek Vasut	tristate "Socionext's SynQuacer HighSpeed SPI controller"
1140646781d3SMarek Vasut	depends on ARCH_SYNQUACER || COMPILE_TEST
1141646781d3SMarek Vasut	help
1142646781d3SMarek Vasut	  SPI driver for Socionext's High speed SPI controller which provides
1143646781d3SMarek Vasut	  various operating modes for interfacing to serial peripheral devices
1144646781d3SMarek Vasut	  that use the de-facto standard SPI protocol.
1145921fc183SSowjanya Komatineni
1146921fc183SSowjanya Komatineni	  It also supports the new dual-bit and quad-bit SPI protocol.
1147921fc183SSowjanya Komatineni
1148921fc183SSowjanya Komatineniconfig SPI_MXIC
1149921fc183SSowjanya Komatineni	tristate "Macronix MX25F0A SPI controller"
1150921fc183SSowjanya Komatineni	depends on SPI_MASTER
1151921fc183SSowjanya Komatineni	imply MTD_NAND_ECC_MXIC
1152921fc183SSowjanya Komatineni	help
1153921fc183SSowjanya Komatineni	  This selects the Macronix MX25F0A SPI controller driver.
1154f333a331SLaxman Dewangan
1155f333a331SLaxman Dewanganconfig SPI_MXS
1156dd1053a9SMark Brown	tristate "Freescale MXS SPI controller"
1157e5b43ed2SGeert Uytterhoeven	depends on ARCH_MXS
1158f333a331SLaxman Dewangan	select STMP_DEVICE
1159f333a331SLaxman Dewangan	help
1160f333a331SLaxman Dewangan	  SPI driver for Freescale MXS devices.
1161f333a331SLaxman Dewangan
1162f333a331SLaxman Dewanganconfig SPI_TEGRA210_QUAD
11638528547bSLaxman Dewangan	tristate "NVIDIA Tegra QSPI Controller"
11648528547bSLaxman Dewangan	depends on ARCH_TEGRA || COMPILE_TEST
1165dd1053a9SMark Brown	depends on RESET_CONTROLLER
1166ff2251e3SStephen Warren	help
11678528547bSLaxman Dewangan	  QSPI driver for NVIDIA Tegra QSPI Controller interface. This
11688528547bSLaxman Dewangan	  controller is different from the SPI controller and is available
11698528547bSLaxman Dewangan	  on Tegra SoCs starting from Tegra210.
11708528547bSLaxman Dewangan
11718528547bSLaxman Dewanganconfig SPI_TEGRA114
1172dc4dc360SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
1173dc4dc360SLaxman Dewangan	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
1174dd1053a9SMark Brown	depends on RESET_CONTROLLER
1175e5b43ed2SGeert Uytterhoeven	help
1176dc4dc360SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
1177dc4dc360SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
1178dc4dc360SLaxman Dewangan	  get changed with this controller.
11797347a6c7SJan Glauber
11807347a6c7SJan Glauberconfig SPI_TEGRA20_SFLASH
11817347a6c7SJan Glauber	tristate "Nvidia Tegra20 Serial flash Controller"
11827347a6c7SJan Glauber	depends on ARCH_TEGRA || COMPILE_TEST
11837347a6c7SJan Glauber	depends on RESET_CONTROLLER
11847347a6c7SJan Glauber	help
11857347a6c7SJan Glauber	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
1186e8b17b5bSMasayuki Ohtake	  The main usecase of this controller is to use spi flash as boot
118792b3a5c1STomoya MORINAGA	  device.
1188f05ca854SPaul Burton
1189e8b17b5bSMasayuki Ohtakeconfig SPI_TEGRA20_SLINK
1190cdbc8f04SGrant Likely	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
1191cdbc8f04SGrant Likely	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
1192e8b17b5bSMasayuki Ohtake	depends on RESET_CONTROLLER
119392b3a5c1STomoya MORINAGA	help
119492b3a5c1STomoya MORINAGA	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
1195f016aeb6STomoya MORINAGA
11965ba155a4SKeiji Hayashibaraconfig SPI_THUNDERX
11975ba155a4SKeiji Hayashibara	tristate "Cavium ThunderX SPI controller"
11985ba155a4SKeiji Hayashibara	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
11996a091404SKunihiko Hayashi	help
12005ba155a4SKeiji Hayashibara	  SPI host driver for the hardware found on Cavium ThunderX
12015ba155a4SKeiji Hayashibara	  SOCs.
12025ba155a4SKeiji Hayashibara
12035ba155a4SKeiji Hayashibaraconfig SPI_TOPCLIFF_PCH
12045ba155a4SKeiji Hayashibara	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
12055ba155a4SKeiji Hayashibara	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
12065ba155a4SKeiji Hayashibara	help
12075ba155a4SKeiji Hayashibara	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
12085ba155a4SKeiji Hayashibara	  used in some x86 embedded processors.
12095ba155a4SKeiji Hayashibara
1210b3165900SLars-Peter Clausen	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
1211b3165900SLars-Peter Clausen	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
1212b3165900SLars-Peter Clausen
1213b3165900SLars-Peter Clausenconfig SPI_UNIPHIER
1214b3165900SLars-Peter Clausen	tristate "Socionext UniPhier SPI Controller"
1215b3165900SLars-Peter Clausen	depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
1216b3165900SLars-Peter Clausen	depends on HAS_IOMEM
1217ae918c02SAndrei Konovalov	help
1218c9da2e12SRichard Röjfors	  This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
12196d1f56aaSKees Cook
1220ae918c02SAndrei Konovalov	  UniPhier SoCs have SCSSI and MCSSI SPI controllers.
1221ae918c02SAndrei Konovalov	  Every UniPhier SoC has SCSSI which supports single channel.
1222ae918c02SAndrei Konovalov	  Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
1223ae918c02SAndrei Konovalov	  This driver supports SCSSI only.
1224ae918c02SAndrei Konovalov
1225ae918c02SAndrei Konovalov	  If your SoC supports SCSSI, say Y here.
1226ae918c02SAndrei Konovalov
1227c9da2e12SRichard Röjforsconfig SPI_XCOMM
1228c9da2e12SRichard Röjfors	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
1229d8c80d49SKamlakant Patel	depends on I2C
1230f7d344f2SRob Herring	help
1231f7d344f2SRob Herring	  Support for the SPI-I2C bridge found on the Analog Devices
1232d8c80d49SKamlakant Patel	  AD-FMCOMMS1-EBZ board.
1233f7d344f2SRob Herring
1234f7d344f2SRob Herringconfig SPI_XILINX
1235d8c80d49SKamlakant Patel	tristate "Xilinx SPI controller common module"
1236f7d344f2SRob Herring	depends on HAS_IOMEM
1237d8c80d49SKamlakant Patel	select SPI_BITBANG
1238d8c80d49SKamlakant Patel	help
12396840cc29SMax Filippov	  This exposes the SPI controller IP from the Xilinx EDK.
12406840cc29SMax Filippov
1241be8dde46SAxel Lin	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
12426840cc29SMax Filippov	  Product Specification document (DS464) for hardware details.
12436840cc29SMax Filippov
12446840cc29SMax Filippov	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
12456840cc29SMax Filippov
12466840cc29SMax Filippovconfig SPI_XLP
12476840cc29SMax Filippov	tristate "Cavium ThunderX2 SPI controller driver"
12486840cc29SMax Filippov	depends on ARCH_THUNDER2 || COMPILE_TEST
12496840cc29SMax Filippov	help
12506840cc29SMax Filippov	  Enable support for the SPI controller on the Cavium ThunderX2.
125167dca5e5SNaga Sureshkumar Relli	  (Originally on Netlogic XLP SoCs.)
125267dca5e5SNaga Sureshkumar Relli
125367dca5e5SNaga Sureshkumar Relli	  If you have a Cavium ThunderX2 platform say Y here.
1254c2ded280SAmit Kumar Mahapatra	  If unsure, say N.
125567dca5e5SNaga Sureshkumar Relli
125667dca5e5SNaga Sureshkumar Relliconfig SPI_XTENSA_XTFPGA
125767dca5e5SNaga Sureshkumar Relli	tristate "Xtensa SPI controller for xtfpga"
125867dca5e5SNaga Sureshkumar Relli	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
125967dca5e5SNaga Sureshkumar Relli	select SPI_BITBANG
1260dfe11a11SRanjit Waghmode	help
1261dfe11a11SRanjit Waghmode	  SPI driver for xtfpga SPI master controller.
1262424a8166SAmit Kumar Mahapatra
1263dfe11a11SRanjit Waghmode	  This simple SPI master controller is built into xtfpga bitstreams
1264dfe11a11SRanjit Waghmode	  and is used to control daughterboard audio codec. It always transfers
1265424a8166SAmit Kumar Mahapatra	  16 bit words in SPI mode 0, automatically asserting CS on transfer
1266dfe11a11SRanjit Waghmode	  start and deasserting on end.
1267bbb336f3SSanjay R Mehta
1268bbb336f3SSanjay R Mehtaconfig SPI_ZYNQ_QSPI
12697a978d8fSArnd Bergmann	tristate "Xilinx Zynq QSPI controller"
1270*dbb79974SRaju Rangoju	depends on ARCH_ZYNQ || COMPILE_TEST
1271*dbb79974SRaju Rangoju	depends on SPI_MEM
1272bbb336f3SSanjay R Mehta	help
1273bbb336f3SSanjay R Mehta	  This enables support for the Zynq Quad SPI controller
1274bbb336f3SSanjay R Mehta	  in master mode.
12758ae12a0dSDavid Brownell	  This controller only supports SPI memory interface.
12768ae12a0dSDavid Brownell
12778ae12a0dSDavid Brownellconfig SPI_ZYNQMP_GQSPI
12788ae12a0dSDavid Brownell	tristate "Xilinx ZynqMP GQSPI controller"
1279e9e40543SChris Packham	depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST
1280e9e40543SChris Packham	help
1281e9e40543SChris Packham	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
1282e9e40543SChris Packham	  This controller only supports SPI memory interface.
1283e9e40543SChris Packham
1284e9e40543SChris Packhamconfig SPI_AMD
1285e9e40543SChris Packham	tristate "AMD SPI controller"
1286e9e40543SChris Packham	depends on PCI
1287e9e40543SChris Packham	depends on SPI_MASTER || X86 || COMPILE_TEST
1288e9e40543SChris Packham	depends on SPI_MEM
1289e9e40543SChris Packham	help
12908ae12a0dSDavid Brownell	  Enables SPI controller driver for AMD SoC.
12918ae12a0dSDavid Brownell
12928ae12a0dSDavid Brownell#
12938ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
12948ae12a0dSDavid Brownell#
12958ae12a0dSDavid Brownell
1296814a8d50SAndrea Paternianicomment "SPI Multiplexer support"
1297814a8d50SAndrea Paterniani
1298814a8d50SAndrea Paternianiconfig SPI_MUX
1299814a8d50SAndrea Paterniani	tristate "SPI multiplexer support"
1300814a8d50SAndrea Paterniani	select MULTIPLEXER
130197896195SMartin Sperl	help
130297896195SMartin Sperl	  This adds support for SPI multiplexers. Each SPI mux will be
130397896195SMartin Sperl	  accessible as a SPI controller, the devices behind the mux will appear
130497896195SMartin Sperl	  to be chip selects on this controller. It is still necessary to
130597896195SMartin Sperl	  select one or more specific mux-controller drivers.
130697896195SMartin Sperl
130797896195SMartin Sperl#
130897896195SMartin Sperl# There are lots of SPI device types, with sensors and memory
130997896195SMartin Sperl# being probably the most widely used ones.
1310447aef1aSBen Dooks#
1311447aef1aSBen Dookscomment "SPI Protocol Masters"
13126291fe2aSRobert P. J. Day
1313447aef1aSBen Dooksconfig SPI_SPIDEV
1314447aef1aSBen Dooks	tristate "User mode SPI device driver support"
1315447aef1aSBen Dooks	help
1316447aef1aSBen Dooks	  This supports user mode SPI protocol drivers.
1317447aef1aSBen Dooks
1318447aef1aSBen Dooksconfig SPI_LOOPBACK_TEST
13198ae12a0dSDavid Brownell	tristate "spi loopback test framework support"
13208ae12a0dSDavid Brownell	depends on m
13218ae12a0dSDavid Brownell	help
13228ae12a0dSDavid Brownell	  This enables the SPI loopback testing framework driver
13236291fe2aSRobert P. J. Day
13246291fe2aSRobert P. J. Day	  primarily used for development of spi_master drivers
13256c364062SGeert Uytterhoeven	  and to detect regressions
13266c364062SGeert Uytterhoeven
13276c364062SGeert Uytterhoevenconfig SPI_TLE62X0
13286c364062SGeert Uytterhoeven	tristate "Infineon TLE62X0 (for power switching)"
13296c364062SGeert Uytterhoeven	depends on SYSFS
13306c364062SGeert Uytterhoeven	help
13316c364062SGeert Uytterhoeven	  SPI driver for Infineon TLE62X0 series line driver chips,
13326c364062SGeert Uytterhoeven	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
13336c364062SGeert Uytterhoeven	  sysfs interface, with each line presented as a kind of GPIO
13346c364062SGeert Uytterhoeven	  exposing both switch control and diagnostic feedback.
13356c364062SGeert Uytterhoeven
13366c364062SGeert Uytterhoeven#
133729f9ffa0SGeert Uytterhoeven# Add new SPI protocol masters in alphabetical order above this line
133829f9ffa0SGeert Uytterhoeven#
133929f9ffa0SGeert Uytterhoeven
134029f9ffa0SGeert Uytterhoevenendif # SPI_MASTER
134129f9ffa0SGeert Uytterhoeven
134229f9ffa0SGeert Uytterhoeven#
1343ce70e06cSGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
1344ce70e06cSGeert Uytterhoeven#
1345ce70e06cSGeert Uytterhoeven
1346ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE
1347ce70e06cSGeert Uytterhoeven	bool "SPI slave protocol handlers"
1348ce70e06cSGeert Uytterhoeven	help
13496c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
13508ae12a0dSDavid Brownell	  slave protocol handlers.
1351ddf75be4SLukas Wunner
1352ddf75be4SLukas Wunnerif SPI_SLAVE
1353ddf75be4SLukas Wunner
1354ebb398aeSDavid Lechnerconfig SPI_SLAVE_TIME
1355ebb398aeSDavid Lechner	tristate "SPI slave handler reporting boot up time"
1356ebb398aeSDavid Lechner	help
1357ebb398aeSDavid Lechner	  SPI slave handler responding with the time of reception of the last
1358ebb398aeSDavid Lechner	  SPI message.
1359ebb398aeSDavid Lechner
1360ebb398aeSDavid Lechnerconfig SPI_SLAVE_SYSTEM_CONTROL
1361ebb398aeSDavid Lechner	tristate "SPI slave handler controlling system state"
1362ebb398aeSDavid Lechner	help
1363ebb398aeSDavid Lechner	  SPI slave handler to allow remote control of system reboot, power
1364ebb398aeSDavid Lechner	  off, halt, and suspend.
1365ebb398aeSDavid Lechner
136679d8c7a8SAlessandro Guidoendif # SPI_SLAVE
1367
1368config SPI_DYNAMIC
1369	def_bool ACPI || OF_DYNAMIC || SPI_SLAVE
1370
1371if SPI_OFFLOAD
1372
1373comment "SPI Offload triggers"
1374
1375config SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD
1376	tristate "SPI offload trigger using ADI sigma-delta utility"
1377	help
1378	  SPI offload trigger from ADI sigma-delta utility FPGA IP block.
1379
1380config SPI_OFFLOAD_TRIGGER_PWM
1381	tristate "SPI offload trigger using PWM"
1382	depends on PWM
1383	help
1384	  Generic SPI offload trigger implemented using PWM output.
1385
1386endif # SPI_OFFLOAD
1387
1388endif # SPI
1389