xref: /linux/drivers/spi/Kconfig (revision 5b71cbf08a1e0508d1f0f63ac417ad836d801e1a)
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
588ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers"
598ae12a0dSDavid Brownell
600b782531SThomas Chouconfig SPI_ALTERA
61b0c3d935SMatthew Gerlach	tristate "Altera SPI Controller platform driver"
62b0c3d935SMatthew Gerlach	select SPI_ALTERA_CORE
633c651973SXu Yilun	select REGMAP_MMIO
640b782531SThomas Chou	help
650b782531SThomas Chou	  This is the driver for the Altera SPI Controller.
660b782531SThomas Chou
67b0c3d935SMatthew Gerlachconfig SPI_ALTERA_CORE
6841f48a29SGeert Uytterhoeven	tristate "Altera SPI Controller core code" if COMPILE_TEST
69b0c3d935SMatthew Gerlach	select REGMAP
70b0c3d935SMatthew Gerlach	help
71b0c3d935SMatthew Gerlach	  "The core code for the Altera SPI Controller"
72b0c3d935SMatthew Gerlach
73ba2fc167SMatthew Gerlachconfig SPI_ALTERA_DFL
74ba2fc167SMatthew Gerlach	tristate "DFL bus driver for Altera SPI Controller"
75ba2fc167SMatthew Gerlach	depends on FPGA_DFL
76ba2fc167SMatthew Gerlach	select SPI_ALTERA_CORE
77ba2fc167SMatthew Gerlach	help
78ba2fc167SMatthew Gerlach	  This is a Device Feature List (DFL) bus driver for the
79ba2fc167SMatthew Gerlach	  Altera SPI master controller.  The SPI master is connected
80ba2fc167SMatthew Gerlach	  to a SPI slave to Avalon bridge in a Intel MAX BMC.
81ba2fc167SMatthew Gerlach
82047980c5SChuanhong Guoconfig SPI_AR934X
83047980c5SChuanhong Guo	tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver"
84047980c5SChuanhong Guo	depends on ATH79 || COMPILE_TEST
85047980c5SChuanhong Guo	help
86047980c5SChuanhong Guo	  This enables support for the SPI controller present on the
87047980c5SChuanhong Guo	  Qualcomm Atheros AR934X/QCA95XX SoCs.
88047980c5SChuanhong Guo
898efaef4dSGabor Juhosconfig SPI_ATH79
908efaef4dSGabor Juhos	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
91b172fd0cSAlban Bedel	depends on ATH79 || COMPILE_TEST
928efaef4dSGabor Juhos	select SPI_BITBANG
938efaef4dSGabor Juhos	help
948efaef4dSGabor Juhos	  This enables support for the SPI controller present on the
958efaef4dSGabor Juhos	  Atheros AR71XX/AR724X/AR913X SoCs.
968efaef4dSGabor Juhos
975762ab71SRomain Perierconfig SPI_ARMADA_3700
985762ab71SRomain Perier	tristate "Marvell Armada 3700 SPI Controller"
995762ab71SRomain Perier	depends on (ARCH_MVEBU && OF) || COMPILE_TEST
1005762ab71SRomain Perier	help
1015762ab71SRomain Perier	  This enables support for the SPI controller present on the
1025762ab71SRomain Perier	  Marvell Armada 3700 SoCs.
1035762ab71SRomain Perier
104754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL
105754ce4f2SHaavard Skinnemoen	tristate "Atmel SPI Controller"
106a687a533SArnd Bergmann	depends on ARCH_AT91 || COMPILE_TEST
1071cb84b02SGregory CLEMENT	depends on OF
108754ce4f2SHaavard Skinnemoen	help
109754ce4f2SHaavard Skinnemoen	  This selects a driver for the Atmel SPI Controller, present on
110a687a533SArnd Bergmann	  many AT91 ARM chips.
111754ce4f2SHaavard Skinnemoen
112e1892546SRadu Pireaconfig SPI_AT91_USART
113e1892546SRadu Pirea	tristate "Atmel USART Controller SPI driver"
114e1892546SRadu Pirea	depends on (ARCH_AT91 || COMPILE_TEST)
115e1892546SRadu Pirea	depends on MFD_AT91_USART
116e1892546SRadu Pirea	help
117e1892546SRadu Pirea	  This selects a driver for the AT91 USART Controller as SPI Master,
118e1892546SRadu Pirea	  present on AT91 and SAMA5 SoC series.
119e1892546SRadu Pirea
1200e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI
1210e6aae08SPiotr Bugalski	tristate "Atmel Quad SPI Controller"
122b780c3f3STudor Ambarus	depends on ARCH_AT91 || COMPILE_TEST
1230e6aae08SPiotr Bugalski	depends on OF && HAS_IOMEM
1240e6aae08SPiotr Bugalski	help
1250e6aae08SPiotr Bugalski	  This enables support for the Quad SPI controller in master mode.
1260e6aae08SPiotr Bugalski	  This driver does not support generic SPI. The implementation only
1270e6aae08SPiotr Bugalski	  supports spi-mem interface.
1280e6aae08SPiotr Bugalski
129e32bb870SMark Brownconfig SPI_AU1550
130e32bb870SMark Brown	tristate "Au1550/Au1200/Au1300 SPI Controller"
131e32bb870SMark Brown	depends on MIPS_ALCHEMY
132e32bb870SMark Brown	select SPI_BITBANG
133e32bb870SMark Brown	help
134e32bb870SMark Brown	  If you say yes to this option, support will be included for the
135e32bb870SMark Brown	  PSC SPI controller found on Au1550, Au1200 and Au1300 series.
136e32bb870SMark Brown
137b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE
138b1353d1cSLars-Peter Clausen	tristate "Analog Devices AXI SPI Engine controller"
139b1353d1cSLars-Peter Clausen	depends on HAS_IOMEM
140b1353d1cSLars-Peter Clausen	help
141b1353d1cSLars-Peter Clausen	  This enables support for the Analog Devices AXI SPI Engine SPI controller.
142b1353d1cSLars-Peter Clausen	  It is part of the SPI Engine framework that is used in some Analog Devices
143b1353d1cSLars-Peter Clausen	  reference designs for FPGAs.
144b1353d1cSLars-Peter Clausen
145f8043872SChris Bootconfig SPI_BCM2835
146f8043872SChris Boot	tristate "BCM2835 SPI controller"
147e0d58cdcSYoshinori Sato	depends on GPIOLIB
14835ceb675SFlorian Fainelli	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
149f8043872SChris Boot	help
150f8043872SChris Boot	  This selects a driver for the Broadcom BCM2835 SPI master.
151f8043872SChris Boot
152f8043872SChris Boot	  The BCM2835 contains two types of SPI master controller; the
153f8043872SChris Boot	  "universal SPI master", and the regular SPI controller. This driver
154f8043872SChris Boot	  is for the regular SPI controller. Slave mode operation is not also
155f8043872SChris Boot	  not supported.
156f8043872SChris Boot
1571ea29b39SMartin Sperlconfig SPI_BCM2835AUX
1581ea29b39SMartin Sperl	tristate "BCM2835 SPI auxiliary controller"
15935ceb675SFlorian Fainelli	depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
1601ea29b39SMartin Sperl	help
1611ea29b39SMartin Sperl	  This selects a driver for the Broadcom BCM2835 SPI aux master.
1621ea29b39SMartin Sperl
1631ea29b39SMartin Sperl	  The BCM2835 contains two types of SPI master controller; the
1641ea29b39SMartin Sperl	  "universal SPI master", and the regular SPI controller.
1651ea29b39SMartin Sperl	  This driver is for the universal/auxiliary SPI controller.
1661ea29b39SMartin Sperl
167b42dfed8SFlorian Fainelliconfig SPI_BCM63XX
168b42dfed8SFlorian Fainelli	tristate "Broadcom BCM63xx SPI controller"
1693a521450SÁlvaro Fernández Rojas	depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
170b42dfed8SFlorian Fainelli	help
171b42dfed8SFlorian Fainelli	  Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
172b42dfed8SFlorian Fainelli
173142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI
174142168ebSJonas Gorski	tristate "Broadcom BCM63XX HS SPI controller driver"
175ba2137f3SÁlvaro Fernández Rojas	depends on BCM63XX || BMIPS_GENERIC || ARCH_BCM_63XX || COMPILE_TEST
176142168ebSJonas Gorski	help
177142168ebSJonas Gorski	  This enables support for the High Speed SPI controller present on
178142168ebSJonas Gorski	  newer Broadcom BCM63XX SoCs.
179142168ebSJonas Gorski
180fa236a7eSKamal Dasuconfig SPI_BCM_QSPI
181fa236a7eSKamal Dasu	tristate "Broadcom BSPI and MSPI controller support"
182279e4af7SJaedon Shin	depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
183279e4af7SJaedon Shin			BMIPS_GENERIC || COMPILE_TEST
184fa236a7eSKamal Dasu	default ARCH_BCM_IPROC
185fa236a7eSKamal Dasu	help
186fa236a7eSKamal Dasu	  Enables support for the Broadcom SPI flash and MSPI controller.
187fa236a7eSKamal Dasu	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
1883e84cdd4STudor Ambarus	  based platforms. This driver works for both SPI master for SPI NOR
189fa236a7eSKamal Dasu	  flash device as well as MSPI device.
190fa236a7eSKamal Dasu
1919904f22aSDavid Brownellconfig SPI_BITBANG
192d29389deSDavid Brownell	tristate "Utilities for Bitbanging SPI masters"
1939904f22aSDavid Brownell	help
1949904f22aSDavid Brownell	  With a few GPIO pins, your system can bitbang the SPI protocol.
1959904f22aSDavid Brownell	  Select this to get SPI support through I/O pins (GPIO, parallel
1969904f22aSDavid Brownell	  port, etc).  Or, some systems' SPI master controller drivers use
1979904f22aSDavid Brownell	  this code to manage the per-word or per-transfer accesses to the
1989904f22aSDavid Brownell	  hardware shift registers.
1999904f22aSDavid Brownell
2009904f22aSDavid Brownell	  This is library code, and is automatically selected by drivers that
2019904f22aSDavid Brownell	  need it.  You only need to select this explicitly to support driver
2029904f22aSDavid Brownell	  modules that aren't part of this kernel tree.
2038ae12a0dSDavid Brownell
2047111763dSDavid Brownellconfig SPI_BUTTERFLY
2057111763dSDavid Brownell	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
2066291fe2aSRobert P. J. Day	depends on PARPORT
2077111763dSDavid Brownell	select SPI_BITBANG
2087111763dSDavid Brownell	help
2097111763dSDavid Brownell	  This uses a custom parallel port cable to connect to an AVR
2107111763dSDavid Brownell	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
2117111763dSDavid Brownell	  inexpensive battery powered microcontroller evaluation board.
2127111763dSDavid Brownell	  This same cable can be used to flash new firmware.
2137111763dSDavid Brownell
214c474b386SHarini Katakamconfig SPI_CADENCE
215c474b386SHarini Katakam	tristate "Cadence SPI controller"
216c474b386SHarini Katakam	help
217c474b386SHarini Katakam	  This selects the Cadence SPI controller master driver
21838b6484eSMichal Simek	  used by Xilinx Zynq and ZynqMP.
219c474b386SHarini Katakam
22031fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE_QUADSPI
22131fb632bSRamuthevar Vadivel Murugan	tristate "Cadence Quad SPI controller"
222ab2d2875SRamuthevar Vadivel Murugan	depends on OF && (ARM || ARM64 || X86 || COMPILE_TEST)
22331fb632bSRamuthevar Vadivel Murugan	help
22431fb632bSRamuthevar Vadivel Murugan	  Enable support for the Cadence Quad SPI Flash controller.
22531fb632bSRamuthevar Vadivel Murugan
22631fb632bSRamuthevar Vadivel Murugan	  Cadence QSPI is a specialized controller for connecting an SPI
22731fb632bSRamuthevar Vadivel Murugan	  Flash over 1/2/4-bit wide bus. Enable this option if you have a
22831fb632bSRamuthevar Vadivel Murugan	  device with a Cadence QSPI controller and want to access the
22931fb632bSRamuthevar Vadivel Murugan	  Flash as an MTD device.
23031fb632bSRamuthevar Vadivel Murugan
231161b96c3SAlexander Shiyanconfig SPI_CLPS711X
232161b96c3SAlexander Shiyan	tristate "CLPS711X host SPI controller"
2335634dd8bSAxel Lin	depends on ARCH_CLPS711X || COMPILE_TEST
234161b96c3SAlexander Shiyan	help
235161b96c3SAlexander Shiyan	  This enables dedicated general purpose SPI/Microwire1-compatible
236161b96c3SAlexander Shiyan	  master mode interface (SSI1) for CLPS711X-based CPUs.
237161b96c3SAlexander Shiyan
23834b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI
23934b8c661SSteven King	tristate "Freescale Coldfire QSPI controller"
240bce4d12bSSteven King	depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
24134b8c661SSteven King	help
24234b8c661SSteven King	  This enables support for the Coldfire QSPI controller in master
24334b8c661SSteven King	  mode.
24434b8c661SSteven King
245358934a6SSandeep Paulrajconfig SPI_DAVINCI
24623ce17adSSekhar Nori	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
24778848914SSantosh Shilimkar	depends on ARCH_DAVINCI || ARCH_KEYSTONE
248358934a6SSandeep Paulraj	select SPI_BITBANG
249358934a6SSandeep Paulraj	help
25023ce17adSSekhar Nori	  SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
25123ce17adSSekhar Nori
252e32bb870SMark Brownconfig SPI_DESIGNWARE
253e32bb870SMark Brown	tristate "DesignWare SPI controller core support"
2546423207eSSerge Semin	imply SPI_MEM
255e32bb870SMark Brown	help
256e32bb870SMark Brown	  general driver for SPI controller core from DesignWare
257e32bb870SMark Brown
258ecb3a67eSSerge Seminif SPI_DESIGNWARE
259ecb3a67eSSerge Semin
2606c710c0cSSerge Seminconfig SPI_DW_DMA
2616c710c0cSSerge Semin	bool "DMA support for DW SPI controller"
2626c710c0cSSerge Semin
263e32bb870SMark Brownconfig SPI_DW_PCI
264e32bb870SMark Brown	tristate "PCI interface driver for DW SPI core"
265ecb3a67eSSerge Semin	depends on PCI
266e32bb870SMark Brown
267e32bb870SMark Brownconfig SPI_DW_MMIO
268e32bb870SMark Brown	tristate "Memory-mapped io interface driver for DW SPI core"
269ecb3a67eSSerge Semin	depends on HAS_IOMEM
270ecb3a67eSSerge Semin
271abf00907SSerge Seminconfig SPI_DW_BT1
272abf00907SSerge Semin	tristate "Baikal-T1 SPI driver for DW SPI core"
273abf00907SSerge Semin	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
27472188381SSerge Semin	select MULTIPLEXER
27572188381SSerge Semin	select MUX_MMIO
276abf00907SSerge Semin	help
277abf00907SSerge Semin	  Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI
278abf00907SSerge Semin	  controllers. Two of them are pretty much normal: with IRQ, DMA,
279abf00907SSerge Semin	  FIFOs of 64 words depth, 4x CSs, but the third one as being a
280abf00907SSerge Semin	  part of the Baikal-T1 System Boot Controller has got a very
281abf00907SSerge Semin	  limited resources: no IRQ, no DMA, only a single native
282abf00907SSerge Semin	  chip-select and Tx/Rx FIFO with just 8 words depth available.
283abf00907SSerge Semin	  The later one is normally connected to an external SPI-nor flash
284abf00907SSerge Semin	  of 128Mb (in general can be of bigger size).
285abf00907SSerge Semin
286abf00907SSerge Seminconfig SPI_DW_BT1_DIRMAP
287abf00907SSerge Semin	bool "Directly mapped Baikal-T1 Boot SPI flash support"
288abf00907SSerge Semin	depends on SPI_DW_BT1
289abf00907SSerge Semin	help
290abf00907SSerge Semin	  Directly mapped SPI flash memory is an interface specific to the
291abf00907SSerge Semin	  Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which
292abf00907SSerge Semin	  can be used to access a peripheral memory device just by
293abf00907SSerge Semin	  reading/writing data from/to it. Note that the system APB bus
294abf00907SSerge Semin	  will stall during each IO from/to the dirmap region until the
295abf00907SSerge Semin	  operation is finished. So try not to use it concurrently with
296abf00907SSerge Semin	  time-critical tasks (like the SPI memory operations implemented
297abf00907SSerge Semin	  in this driver).
298abf00907SSerge Semin
299ecb3a67eSSerge Seminendif
300e32bb870SMark Brown
3013d8c0d74SLaurentiu Palcuconfig SPI_DLN2
3023d8c0d74SLaurentiu Palcu       tristate "Diolan DLN-2 USB SPI adapter"
3033d8c0d74SLaurentiu Palcu       depends on MFD_DLN2
3043d8c0d74SLaurentiu Palcu       help
3053d8c0d74SLaurentiu Palcu	 If you say yes to this option, support will be included for Diolan
3063d8c0d74SLaurentiu Palcu	 DLN2, a USB to SPI interface.
3073d8c0d74SLaurentiu Palcu
3083d8c0d74SLaurentiu Palcu	 This driver can also be built as a module.  If so, the module
3093d8c0d74SLaurentiu Palcu	 will be called spi-dln2.
3103d8c0d74SLaurentiu Palcu
311011f23a3SMika Westerbergconfig SPI_EP93XX
312011f23a3SMika Westerberg	tristate "Cirrus Logic EP93xx SPI controller"
313dd1053a9SMark Brown	depends on ARCH_EP93XX || COMPILE_TEST
314011f23a3SMika Westerberg	help
315011f23a3SMika Westerberg	  This enables using the Cirrus EP93xx SPI controller in master
316011f23a3SMika Westerberg	  mode.
317011f23a3SMika Westerberg
3186cd3c7e2SThomas Langerconfig SPI_FALCON
3199c6a3af0SHauke Mehrtens	bool "Falcon SPI controller support"
3206cd3c7e2SThomas Langer	depends on SOC_FALCON
3216cd3c7e2SThomas Langer	help
3226cd3c7e2SThomas Langer	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
3236cd3c7e2SThomas Langer	  emulation that is designed for serial flash access. This driver
3246cd3c7e2SThomas Langer	  has only been tested with m25p80 type chips. The hardware has no
3256cd3c7e2SThomas Langer	  support for other types of SPI peripherals.
3266cd3c7e2SThomas Langer
327bbb6b2f9SEddie Jamesconfig SPI_FSI
328bbb6b2f9SEddie James	tristate "FSI SPI driver"
329bbb6b2f9SEddie James	depends on FSI
330bbb6b2f9SEddie James	help
331bbb6b2f9SEddie James	  This enables support for the driver for FSI bus attached SPI
332bbb6b2f9SEddie James	  controllers.
333bbb6b2f9SEddie James
3345314987dSGao Panconfig SPI_FSL_LPSPI
3355314987dSGao Pan	tristate "Freescale i.MX LPSPI controller"
3365314987dSGao Pan	depends on ARCH_MXC || COMPILE_TEST
3375314987dSGao Pan	help
3385314987dSGao Pan	  This enables Freescale i.MX LPSPI controllers in master mode.
3395314987dSGao Pan
34084d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI
34184d04318SFrieder Schrempf	tristate "Freescale QSPI controller"
34284d04318SFrieder Schrempf	depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
34384d04318SFrieder Schrempf	depends on HAS_IOMEM
34484d04318SFrieder Schrempf	help
34584d04318SFrieder Schrempf	  This enables support for the Quad SPI controller in master mode.
34684d04318SFrieder Schrempf	  Up to four flash chips can be connected on two buses with two
34784d04318SFrieder Schrempf	  chipselects each.
34884d04318SFrieder Schrempf	  This controller does not support generic SPI messages. It only
34984d04318SFrieder Schrempf	  supports the high-level SPI memory interface.
35084d04318SFrieder Schrempf
351c770d863SJay Fangconfig SPI_HISI_KUNPENG
352c770d863SJay Fang	tristate "HiSilicon SPI Controller for Kunpeng SoCs"
353c770d863SJay Fang	depends on (ARM64 && ACPI) || COMPILE_TEST
354c770d863SJay Fang	help
355c770d863SJay Fang	  This enables support for HiSilicon SPI controller found on
356c770d863SJay Fang	  Kunpeng SoCs.
357c770d863SJay Fang
358c770d863SJay Fang	  This driver can also be built as a module. If so, the module
359c770d863SJay Fang	  will be called hisi-kunpeng-spi.
360c770d863SJay Fang
361a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX
3623e84cdd4STudor Ambarus	tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets"
363a2ca53b5SJohn Garry	depends on (ARM64 && ACPI) || COMPILE_TEST
364a2ca53b5SJohn Garry	depends on HAS_IOMEM
365a2ca53b5SJohn Garry	help
3663e84cdd4STudor Ambarus	  This enables support for HiSilicon v3xx SPI NOR flash controller
367a2ca53b5SJohn Garry	  found in hi16xx chipsets.
368a2ca53b5SJohn Garry
369a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI
370a5356aefSYogesh Narayan Gaur	tristate "NXP Flex SPI controller"
371a5356aefSYogesh Narayan Gaur	depends on ARCH_LAYERSCAPE || HAS_IOMEM
372a5356aefSYogesh Narayan Gaur	help
373a5356aefSYogesh Narayan Gaur	  This enables support for the Flex SPI controller in master mode.
374a5356aefSYogesh Narayan Gaur	  Up to four slave devices can be connected on two buses with two
375a5356aefSYogesh Narayan Gaur	  chipselects each.
376a5356aefSYogesh Narayan Gaur	  This controller does not support generic SPI messages and only
377a5356aefSYogesh Narayan Gaur	  supports the high-level SPI memory interface.
378a5356aefSYogesh Narayan Gaur
379d29389deSDavid Brownellconfig SPI_GPIO
380d29389deSDavid Brownell	tristate "GPIO-based bitbanging SPI Master"
3815c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
382d29389deSDavid Brownell	select SPI_BITBANG
383d29389deSDavid Brownell	help
384d29389deSDavid Brownell	  This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
385d29389deSDavid Brownell	  interface to manage MOSI, MISO, SCK, and chipselect signals.  SPI
386d29389deSDavid Brownell	  slaves connected to a bus using this driver are configured as usual,
387d29389deSDavid Brownell	  except that the spi_board_info.controller_data holds the GPIO number
388d29389deSDavid Brownell	  for the chipselect used by this controller driver.
389d29389deSDavid Brownell
390d29389deSDavid Brownell	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
391d29389deSDavid Brownell	  making it unusually slow for SPI.  If your platform can inline
392d29389deSDavid Brownell	  GPIO operations, you should be able to leverage that for better
393d29389deSDavid Brownell	  speed with a custom version of this driver; see the source code.
394d29389deSDavid Brownell
395deba2580SAndrew Brestickerconfig SPI_IMG_SPFI
396deba2580SAndrew Bresticker	tristate "IMG SPFI controller"
397deba2580SAndrew Bresticker	depends on MIPS || COMPILE_TEST
398deba2580SAndrew Bresticker	help
399deba2580SAndrew Bresticker	  This enables support for the SPFI master controller found on
400deba2580SAndrew Bresticker	  IMG SoCs.
401deba2580SAndrew Bresticker
402b5f3294fSSascha Hauerconfig SPI_IMX
403b5f3294fSSascha Hauer	tristate "Freescale i.MX SPI controllers"
404dd1053a9SMark Brown	depends on ARCH_MXC || COMPILE_TEST
405b5f3294fSSascha Hauer	select SPI_BITBANG
406b5f3294fSSascha Hauer	help
4072e236bafSFabio Estevam	  This enables support for the Freescale i.MX SPI controllers.
408b5f3294fSSascha Hauer
409ae5f94ccSArtur Rojekconfig SPI_INGENIC
410ae5f94ccSArtur Rojek	tristate "Ingenic JZ47xx SoCs SPI controller"
411ae5f94ccSArtur Rojek	depends on MACH_INGENIC || COMPILE_TEST
412ae5f94ccSArtur Rojek	help
413ae5f94ccSArtur Rojek	  This enables support for the Ingenic JZ47xx SoCs SPI controller.
414ae5f94ccSArtur Rojek
415ae5f94ccSArtur Rojek	  To compile this driver as a module, choose M here: the module
416ae5f94ccSArtur Rojek	  will be called spi-ingenic.
417ae5f94ccSArtur Rojek
4182cb1b3b3SRich Felkerconfig SPI_JCORE
4192cb1b3b3SRich Felker	tristate "J-Core SPI Master"
4202cb1b3b3SRich Felker	depends on OF && (SUPERH || COMPILE_TEST)
4212cb1b3b3SRich Felker	help
4222cb1b3b3SRich Felker	  This enables support for the SPI master controller in the J-Core
4232cb1b3b3SRich Felker	  synthesizable, open source SoC.
4242cb1b3b3SRich Felker
42578961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP
42678961a57SKaiwan N Billimoria	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
4276d1f56aaSKees Cook	depends on PARPORT
42878961a57SKaiwan N Billimoria	select SPI_BITBANG
42978961a57SKaiwan N Billimoria	help
43078961a57SKaiwan N Billimoria	  This driver supports the NS LM70 LLP Evaluation Board,
43178961a57SKaiwan N Billimoria	  which interfaces to an LM70 temperature sensor using
43278961a57SKaiwan N Billimoria	  a parallel port.
43378961a57SKaiwan N Billimoria
4347ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC
4357ecbfff6SSergei Ianovich	tristate "ICP DAS LP-8841 SPI Controller for RTC"
4367ecbfff6SSergei Ianovich	depends on MACH_PXA27X_DT || COMPILE_TEST
4377ecbfff6SSergei Ianovich	help
4387ecbfff6SSergei Ianovich	  This driver provides an SPI master device to drive Maxim
4397ecbfff6SSergei Ianovich	  DS-1302 real time clock.
4407ecbfff6SSergei Ianovich
4417ecbfff6SSergei Ianovich	  Say N here unless you plan to run the kernel on an ICP DAS
4427ecbfff6SSergei Ianovich	  LP-8x4x industrial computer.
4437ecbfff6SSergei Ianovich
44442bbb709SGrant Likelyconfig SPI_MPC52xx
44542bbb709SGrant Likely	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
4467433f2b7SPaul Bolle	depends on PPC_MPC52xx
44742bbb709SGrant Likely	help
44842bbb709SGrant Likely	  This drivers supports the MPC52xx SPI controller in master SPI
44942bbb709SGrant Likely	  mode.
45042bbb709SGrant Likely
45100b8fd23SDragos Carpconfig SPI_MPC52xx_PSC
45200b8fd23SDragos Carp	tristate "Freescale MPC52xx PSC SPI controller"
4536d1f56aaSKees Cook	depends on PPC_MPC52xx
45400b8fd23SDragos Carp	help
45500b8fd23SDragos Carp	  This enables using the Freescale MPC52xx Programmable Serial
45600b8fd23SDragos Carp	  Controller in master SPI mode.
45700b8fd23SDragos Carp
4586e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC
4596e27388fSAnatolij Gustschin	tristate "Freescale MPC512x PSC SPI controller"
4605e8afa34SUwe Kleine-König	depends on PPC_MPC512x
4616e27388fSAnatolij Gustschin	help
4626e27388fSAnatolij Gustschin	  This enables using the Freescale MPC5121 Programmable Serial
4636e27388fSAnatolij Gustschin	  Controller in SPI master mode.
4646e27388fSAnatolij Gustschin
465b36ece83SMingkai Huconfig SPI_FSL_LIB
466b36ece83SMingkai Hu	tristate
467e8beacbbSAndreas Larsson	depends on OF
468e8beacbbSAndreas Larsson
469e8beacbbSAndreas Larssonconfig SPI_FSL_CPM
470e8beacbbSAndreas Larsson	tristate
471b36ece83SMingkai Hu	depends on FSL_SOC
472b36ece83SMingkai Hu
4733272029fSMingkai Huconfig SPI_FSL_SPI
47438455d7aSEsben Haabendal	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
475e8beacbbSAndreas Larsson	depends on OF
476b36ece83SMingkai Hu	select SPI_FSL_LIB
477e8beacbbSAndreas Larsson	select SPI_FSL_CPM if FSL_SOC
478ccf06998SKumar Gala	help
4793272029fSMingkai Hu	  This enables using the Freescale SPI controllers in master mode.
4803272029fSMingkai Hu	  MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
4813272029fSMingkai Hu	  MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
482447b0c7bSAndreas Larsson	  This also enables using the Aeroflex Gaisler GRLIB SPI controller in
483447b0c7bSAndreas Larsson	  master mode.
484ccf06998SKumar Gala
485349ad66cSChao Fuconfig SPI_FSL_DSPI
486349ad66cSChao Fu	tristate "Freescale DSPI controller"
4871acbdeb9SChao Fu	select REGMAP_MMIO
488ec7ed770SAngelo Dureghello	depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
489349ad66cSChao Fu	help
490349ad66cSChao Fu	  This enables support for the Freescale DSPI controller in master
4910dcdcd0eSAngelo Dureghello	  mode. VF610, LS1021A and ColdFire platforms uses the controller.
492349ad66cSChao Fu
4938b60d6c2SMingkai Huconfig SPI_FSL_ESPI
49438455d7aSEsben Haabendal	tristate "Freescale eSPI controller"
4958b60d6c2SMingkai Hu	depends on FSL_SOC
4968b60d6c2SMingkai Hu	help
4978b60d6c2SMingkai Hu	  This enables using the Freescale eSPI controllers in master mode.
4988b60d6c2SMingkai Hu	  From MPC8536, 85xx platform uses the controller, and all P10xx,
4998b60d6c2SMingkai Hu	  P20xx, P30xx,P40xx, P50xx uses this controller.
5008b60d6c2SMingkai Hu
501454fa271SNeil Armstrongconfig SPI_MESON_SPICC
502454fa271SNeil Armstrong	tristate "Amlogic Meson SPICC controller"
5033e0cf4d3SSunny Luo	depends on COMMON_CLK
504454fa271SNeil Armstrong	depends on ARCH_MESON || COMPILE_TEST
505454fa271SNeil Armstrong	help
506454fa271SNeil Armstrong	  This enables master mode support for the SPICC (SPI communication
507454fa271SNeil Armstrong	  controller) available in Amlogic Meson SoCs.
508454fa271SNeil Armstrong
509c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC
510c3e4bc54SBeniamino Galvani	tristate "Amlogic Meson SPIFC controller"
511c3e4bc54SBeniamino Galvani	depends on ARCH_MESON || COMPILE_TEST
5121327ecd4SBeniamino Galvani	select REGMAP_MMIO
513c3e4bc54SBeniamino Galvani	help
514c3e4bc54SBeniamino Galvani	  This enables master mode support for the SPIFC (SPI flash
515c3e4bc54SBeniamino Galvani	  controller) available in Amlogic Meson SoCs.
516c3e4bc54SBeniamino Galvani
517a568231fSLeilk Liuconfig SPI_MT65XX
518a568231fSLeilk Liu	tristate "MediaTek SPI controller"
519a568231fSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
520a568231fSLeilk Liu	help
521a568231fSLeilk Liu	  This selects the MediaTek(R) SPI bus driver.
522a568231fSLeilk Liu	  If you want to use MediaTek(R) SPI interface,
523a568231fSLeilk Liu	  say Y or M here.If you are not sure, say N.
524a568231fSLeilk Liu	  SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
525a568231fSLeilk Liu
526cbd66c62SStefan Roeseconfig SPI_MT7621
527cbd66c62SStefan Roese	tristate "MediaTek MT7621 SPI Controller"
528cbd66c62SStefan Roese	depends on RALINK || COMPILE_TEST
529cbd66c62SStefan Roese	help
530cbd66c62SStefan Roese	  This selects a driver for the MediaTek MT7621 SPI Controller.
531cbd66c62SStefan Roese
532881d1ee9SChuanhong Guoconfig SPI_MTK_NOR
533881d1ee9SChuanhong Guo	tristate "MediaTek SPI NOR controller"
534881d1ee9SChuanhong Guo	depends on ARCH_MEDIATEK || COMPILE_TEST
535881d1ee9SChuanhong Guo	help
536881d1ee9SChuanhong Guo	  This enables support for SPI NOR controller found on MediaTek
5373e84cdd4STudor Ambarus	  ARM SoCs. This is a controller specifically for SPI NOR flash.
538881d1ee9SChuanhong Guo	  It can perform generic SPI transfers up to 6 bytes via generic
5393e84cdd4STudor Ambarus	  SPI interface as well as several SPI NOR specific instructions
540881d1ee9SChuanhong Guo	  via SPI MEM interface.
541881d1ee9SChuanhong Guo
542ace55c41STomer Maimonconfig SPI_NPCM_FIU
543ace55c41STomer Maimon	tristate "Nuvoton NPCM FLASH Interface Unit"
544ace55c41STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
545ace55c41STomer Maimon	depends on OF && HAS_IOMEM
546ace55c41STomer Maimon	help
547ace55c41STomer Maimon	  This enables support for the Flash Interface Unit SPI controller
548ace55c41STomer Maimon	  in master mode.
549ace55c41STomer Maimon	  This driver does not support generic SPI. The implementation only
550ace55c41STomer Maimon	  supports spi-mem interface.
551ace55c41STomer Maimon
5522a22f1b3STomer Maimonconfig SPI_NPCM_PSPI
5532a22f1b3STomer Maimon	tristate "Nuvoton NPCM PSPI Controller"
5542a22f1b3STomer Maimon	depends on ARCH_NPCM || COMPILE_TEST
5552a22f1b3STomer Maimon	help
5562a22f1b3STomer Maimon	  This driver provides support for Nuvoton NPCM BMC
5572a22f1b3STomer Maimon	  Peripheral SPI controller in master mode.
5582a22f1b3STomer Maimon
55917f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC
56017f84b79SHauke Mehrtens	tristate "Lantiq SSC SPI controller"
561040f7f97SDilip Kota	depends on LANTIQ || X86 || COMPILE_TEST
56217f84b79SHauke Mehrtens	help
56317f84b79SHauke Mehrtens	  This driver supports the Lantiq SSC SPI controller in master
56417f84b79SHauke Mehrtens	  mode. This controller is found on Intel (former Lantiq) SoCs like
565040f7f97SDilip Kota	  the Danube, Falcon, xRX200, xRX300, Lightning Mountain.
56617f84b79SHauke Mehrtens
567ce792580SThomas Chouconfig SPI_OC_TINY
568ce792580SThomas Chou	tristate "OpenCores tiny SPI"
5695c2301a9SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
570ce792580SThomas Chou	select SPI_BITBANG
571ce792580SThomas Chou	help
572ce792580SThomas Chou	  This is the driver for OpenCores tiny SPI master controller.
573ce792580SThomas Chou
5746b52c00fSDavid Daneyconfig SPI_OCTEON
5756b52c00fSDavid Daney	tristate "Cavium OCTEON SPI controller"
5769ddebc46SDavid Daney	depends on CAVIUM_OCTEON_SOC
5776b52c00fSDavid Daney	help
5786b52c00fSDavid Daney	  SPI host driver for the hardware found on some Cavium OCTEON
5796b52c00fSDavid Daney	  SOCs.
5806b52c00fSDavid Daney
581fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE
582fdb3c18dSDavid Brownell	tristate "OMAP1 MicroWire"
5836291fe2aSRobert P. J. Day	depends on ARCH_OMAP1
584fdb3c18dSDavid Brownell	select SPI_BITBANG
585fdb3c18dSDavid Brownell	help
586fdb3c18dSDavid Brownell	  This hooks up to the MicroWire controller on OMAP1 chips.
587fdb3c18dSDavid Brownell
588ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX
5898ebeb545SSyed Rafiuddin	tristate "McSPI driver for OMAP"
59081df42d1SVignesh R	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
5912b32e987SFranklin S Cooper Jr	select SG_SPLIT
592ccdc7bf9SSamuel Ortiz	help
5938ebeb545SSyed Rafiuddin	  SPI master controller for OMAP24XX and later Multichannel SPI
594ccdc7bf9SSamuel Ortiz	  (McSPI) modules.
59569c202afSAndrea Paterniani
596505a1495SSourav Poddarconfig SPI_TI_QSPI
597505a1495SSourav Poddar	tristate "DRA7xxx QSPI controller support"
598505a1495SSourav Poddar	depends on ARCH_OMAP2PLUS || COMPILE_TEST
599505a1495SSourav Poddar	help
600505a1495SSourav Poddar	  QSPI master controller for DRA7xxx used for flash devices.
601505a1495SSourav Poddar	  This device supports single, dual and quad read support, while
602505a1495SSourav Poddar	  it only supports single write mode.
603505a1495SSourav Poddar
60435c9049bSCory Maccarroneconfig SPI_OMAP_100K
60535c9049bSCory Maccarrone	tristate "OMAP SPI 100K"
606dd1053a9SMark Brown	depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
60735c9049bSCory Maccarrone	help
60835c9049bSCory Maccarrone	  OMAP SPI 100K master controller for omap7xx boards.
60935c9049bSCory Maccarrone
61060cadec9SShadi Ammouriconfig SPI_ORION
6116d1f56aaSKees Cook	tristate "Orion SPI master"
612710a1d54SThomas Petazzoni	depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
61360cadec9SShadi Ammouri	help
61473482910SUwe Kleine-König	  This enables using the SPI master controller on the Orion
61573482910SUwe Kleine-König	  and MVEBU chips.
61660cadec9SShadi Ammouri
6171bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32
6181bcb9f8cSPurna Chandra Mandal	tristate "Microchip PIC32 series SPI"
6191bcb9f8cSPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
6201bcb9f8cSPurna Chandra Mandal	help
6211bcb9f8cSPurna Chandra Mandal	  SPI driver for Microchip PIC32 SPI master controller.
6221bcb9f8cSPurna Chandra Mandal
6233270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI
6243270ac23SPurna Chandra Mandal	tristate "Microchip PIC32 Quad SPI driver"
6253270ac23SPurna Chandra Mandal	depends on MACH_PIC32 || COMPILE_TEST
6263270ac23SPurna Chandra Mandal	help
6273270ac23SPurna Chandra Mandal	  SPI driver for PIC32 Quad SPI controller.
6283270ac23SPurna Chandra Mandal
629b43d65f7SLinus Walleijconfig SPI_PL022
6307f9a4b97SLinus Walleij	tristate "ARM AMBA PL022 SSP controller"
6317f9a4b97SLinus Walleij	depends on ARM_AMBA
632f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_REALVIEW
633f33b29eeSlinus.walleij@stericsson.com	default y if INTEGRATOR_IMPD1
634f33b29eeSlinus.walleij@stericsson.com	default y if ARCH_VERSATILE
635b43d65f7SLinus Walleij	help
636b43d65f7SLinus Walleij	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
637b43d65f7SLinus Walleij	  controller. If you have an embedded system with an AMBA(R)
638b43d65f7SLinus Walleij	  bus and a PL022 controller, say Y or M here.
639b43d65f7SLinus Walleij
64044dab88eSSteven A. Falcoconfig SPI_PPC4xx
64144dab88eSSteven A. Falco	tristate "PPC4xx SPI Controller"
6425e8afa34SUwe Kleine-König	depends on PPC32 && 4xx
64344dab88eSSteven A. Falco	select SPI_BITBANG
64444dab88eSSteven A. Falco	help
64544dab88eSSteven A. Falco	  This selects a driver for the PPC4xx SPI Controller.
64644dab88eSSteven A. Falco
647e0c9905eSStephen Streetconfig SPI_PXA2XX
648e0c9905eSStephen Street	tristate "PXA2xx SSP SPI master"
6490d441644SGeert Uytterhoeven	depends on ARCH_PXA || ARCH_MMP || PCI || ACPI || COMPILE_TEST
650128345b1SArnd Bergmann	select PXA_SSP if ARCH_PXA || ARCH_MMP
651e0c9905eSStephen Street	help
652d6ea3df0SSebastian Andrzej Siewior	  This enables using a PXA2xx or Sodaville SSP port as a SPI master
653d6ea3df0SSebastian Andrzej Siewior	  controller. The driver can be configured to use any SSP port and
6549cdd273eSMauro Carvalho Chehab	  additional documentation can be found a Documentation/spi/pxa2xx.rst.
655d6ea3df0SSebastian Andrzej Siewior
656d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI
657afa93c90SChew, Chiau Ee	def_tristate SPI_PXA2XX && PCI && COMMON_CLK
658e0c9905eSStephen Street
65964e36824Saddy keconfig SPI_ROCKCHIP
66064e36824Saddy ke	tristate "Rockchip SPI controller driver"
66164e36824Saddy ke	help
66264e36824Saddy ke	  This selects a driver for Rockchip SPI controller.
66364e36824Saddy ke
66464e36824Saddy ke	  If you say yes to this option, support will be included for
66564e36824Saddy ke	  RK3066, RK3188 and RK3288 families of SPI controller.
66664e36824Saddy ke	  Rockchip SPI controller support DMA transport and PIO mode.
66764e36824Saddy ke	  The main usecase of this controller is to use spi flash as boot
66864e36824Saddy ke	  device.
66964e36824Saddy ke
6700b89fc0aSChris Morganconfig SPI_ROCKCHIP_SFC
6710b89fc0aSChris Morgan	tristate "Rockchip Serial Flash Controller (SFC)"
6720b89fc0aSChris Morgan	depends on ARCH_ROCKCHIP || COMPILE_TEST
6730b89fc0aSChris Morgan	depends on HAS_IOMEM && HAS_DMA
6740b89fc0aSChris Morgan	help
6750b89fc0aSChris Morgan	  This enables support for Rockchip serial flash controller. This
6760b89fc0aSChris Morgan	  is a specialized controller used to access SPI flash on some
6770b89fc0aSChris Morgan	  Rockchip SOCs.
6780b89fc0aSChris Morgan
6790b89fc0aSChris Morgan	  ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
6800b89fc0aSChris Morgan	  the driver automatically falls back to PIO mode.
6810b89fc0aSChris Morgan
68205aec357SBert Vermeulenconfig SPI_RB4XX
68305aec357SBert Vermeulen	tristate "Mikrotik RB4XX SPI master"
68405aec357SBert Vermeulen	depends on SPI_MASTER && ATH79
68505aec357SBert Vermeulen	help
68605aec357SBert Vermeulen	  SPI controller driver for the Mikrotik RB4xx series boards.
68705aec357SBert Vermeulen
688eb8d6d46SSergei Shtylyovconfig SPI_RPCIF
689eb8d6d46SSergei Shtylyov	tristate "Renesas RPC-IF SPI driver"
690eb8d6d46SSergei Shtylyov	depends on RENESAS_RPCIF
691eb8d6d46SSergei Shtylyov	help
692f4a10fc4SAdam Ford	  SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF.
693eb8d6d46SSergei Shtylyov
6940b2182ddSShimoda, Yoshihiroconfig SPI_RSPI
695e290c343SGeert Uytterhoeven	tristate "Renesas RSPI/QSPI controller"
6963aec3166SSimon Horman	depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
6970b2182ddSShimoda, Yoshihiro	help
698e290c343SGeert Uytterhoeven	  SPI driver for Renesas RSPI and QSPI blocks.
6990b2182ddSShimoda, Yoshihiro
70004000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI
70104000dc6SGirish Mahadevan	tristate "QTI QSPI controller"
70204000dc6SGirish Mahadevan	depends on ARCH_QCOM
70304000dc6SGirish Mahadevan	help
70404000dc6SGirish Mahadevan	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.
70504000dc6SGirish Mahadevan
70664ff247aSIvan T. Ivanovconfig SPI_QUP
70764ff247aSIvan T. Ivanov	tristate "Qualcomm SPI controller with QUP interface"
7082abaad67SAlex Dewar	depends on ARCH_QCOM || COMPILE_TEST
70964ff247aSIvan T. Ivanov	help
71064ff247aSIvan T. Ivanov	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
71164ff247aSIvan T. Ivanov	  provides a common data path (an output FIFO and an input FIFO)
71264ff247aSIvan T. Ivanov	  for serial peripheral interface (SPI) mini-core. SPI in master
71364ff247aSIvan T. Ivanov	  mode supports up to 50MHz, up to four chip selects, programmable
71464ff247aSIvan T. Ivanov	  data path from 4 bits to 32 bits and numerous protocol variants.
71564ff247aSIvan T. Ivanov
71664ff247aSIvan T. Ivanov	  This driver can also be built as a module.  If so, the module
71764ff247aSIvan T. Ivanov	  will be called spi_qup.
7188ae12a0dSDavid Brownell
719561de45fSGirish Mahadevanconfig SPI_QCOM_GENI
720561de45fSGirish Mahadevan	tristate "Qualcomm GENI based SPI controller"
721561de45fSGirish Mahadevan	depends on QCOM_GENI_SE
722561de45fSGirish Mahadevan	help
723561de45fSGirish Mahadevan	  This driver supports GENI serial engine based SPI controller in
724561de45fSGirish Mahadevan	  master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
725561de45fSGirish Mahadevan	  yes to this option, support will be included for the built-in SPI
726561de45fSGirish Mahadevan	  interface on the Qualcomm Technologies Inc.'s SoCs.
727561de45fSGirish Mahadevan
728561de45fSGirish Mahadevan	  This driver can also be built as a module.  If so, the module
729561de45fSGirish Mahadevan	  will be called spi-geni-qcom.
730561de45fSGirish Mahadevan
73185abfaa7SDavid Brownellconfig SPI_S3C24XX
73285abfaa7SDavid Brownell	tristate "Samsung S3C24XX series SPI"
7336d1f56aaSKees Cook	depends on ARCH_S3C24XX
734da0abc27SDavid Brownell	select SPI_BITBANG
73585abfaa7SDavid Brownell	help
73685abfaa7SDavid Brownell	  SPI driver for Samsung S3C24XX series ARM SoCs
73785abfaa7SDavid Brownell
738bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ
739bec0806cSBen Dooks	bool "S3C24XX driver with FIQ pseudo-DMA"
740bec0806cSBen Dooks	depends on SPI_S3C24XX
741bec0806cSBen Dooks	select FIQ
742bec0806cSBen Dooks	help
743bec0806cSBen Dooks	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo
744bec0806cSBen Dooks	  DMA by using the fast-interrupt request framework, This allows
745bec0806cSBen Dooks	  the driver to get DMA-like performance when there are either
746bec0806cSBen Dooks	  no free DMA channels, or when doing transfers that required both
747bec0806cSBen Dooks	  TX and RX data paths.
748bec0806cSBen Dooks
749230d42d4SJassi Brarconfig SPI_S3C64XX
750*5b71cbf0SKrzysztof Kozlowski	tristate "Samsung S3C64XX/Exynos SoC series type SPI"
751db8230d2SArnd Bergmann	depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
752230d42d4SJassi Brar	help
753*5b71cbf0SKrzysztof Kozlowski	  SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs.
754*5b71cbf0SKrzysztof Kozlowski	  Choose Y/M here only if you build for such Samsung SoC.
755230d42d4SJassi Brar
7563ce8859eSGuenter Roeckconfig SPI_SC18IS602
7573ce8859eSGuenter Roeck	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
7583ce8859eSGuenter Roeck	depends on I2C
7593ce8859eSGuenter Roeck	help
7603ce8859eSGuenter Roeck	  SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
7613ce8859eSGuenter Roeck
7628051effcSMagnus Dammconfig SPI_SH_MSIOF
7638051effcSMagnus Damm	tristate "SuperH MSIOF SPI controller"
764e5b43ed2SGeert Uytterhoeven	depends on HAVE_CLK
7656ffc84ddSGeert Uytterhoeven	depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
7668051effcSMagnus Damm	help
767746aeffdSBastian Hecht	  SPI driver for SuperH and SH Mobile MSIOF blocks.
7688051effcSMagnus Damm
7695c05dd07SYoshihiro Shimodaconfig SPI_SH
7705c05dd07SYoshihiro Shimoda	tristate "SuperH SPI controller"
771dd1053a9SMark Brown	depends on SUPERH || COMPILE_TEST
7725c05dd07SYoshihiro Shimoda	help
7735c05dd07SYoshihiro Shimoda	  SPI driver for SuperH SPI blocks.
7745c05dd07SYoshihiro Shimoda
77537e46640SMagnus Dammconfig SPI_SH_SCI
77637e46640SMagnus Damm	tristate "SuperH SCI SPI controller"
7776291fe2aSRobert P. J. Day	depends on SUPERH
77837e46640SMagnus Damm	select SPI_BITBANG
77937e46640SMagnus Damm	help
78037e46640SMagnus Damm	  SPI driver for SuperH SCI blocks.
78137e46640SMagnus Damm
782d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI
783d1c8bbd7SKuninori Morimoto	tristate "SuperH HSPI controller"
7843aec3166SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
785d1c8bbd7SKuninori Morimoto	help
786d1c8bbd7SKuninori Morimoto	  SPI driver for SuperH HSPI blocks.
787d1c8bbd7SKuninori Morimoto
788484a9a68SYash Shahconfig SPI_SIFIVE
789484a9a68SYash Shah	tristate "SiFive SPI controller"
790484a9a68SYash Shah	depends on HAS_IOMEM
791484a9a68SYash Shah	help
792484a9a68SYash Shah	  This exposes the SPI controller IP from SiFive.
793484a9a68SYash Shah
794805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX
795805be7ddSLeilk Liu	tristate "MediaTek SPI slave device"
796805be7ddSLeilk Liu	depends on ARCH_MEDIATEK || COMPILE_TEST
797805be7ddSLeilk Liu	depends on SPI_SLAVE
798805be7ddSLeilk Liu	help
799805be7ddSLeilk Liu	  This selects the MediaTek(R) SPI slave device driver.
800805be7ddSLeilk Liu	  If you want to use MediaTek(R) SPI slave interface,
801805be7ddSLeilk Liu	  say Y or M here.If you are not sure, say N.
802805be7ddSLeilk Liu	  SPI slave drivers for Mediatek MT27XX series ARM SoCs.
803805be7ddSLeilk Liu
804e7d973a3SLanqing Liuconfig SPI_SPRD
805e7d973a3SLanqing Liu	tristate "Spreadtrum SPI controller"
806e7d973a3SLanqing Liu	depends on ARCH_SPRD || COMPILE_TEST
807e7d973a3SLanqing Liu	help
808e7d973a3SLanqing Liu	  SPI driver for Spreadtrum SoCs.
809e7d973a3SLanqing Liu
8107e2903cbSBaolin Wangconfig SPI_SPRD_ADI
8117e2903cbSBaolin Wang	tristate "Spreadtrum ADI controller"
8127e2903cbSBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
813e83f3742SArnd Bergmann	depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
8147e2903cbSBaolin Wang	help
8157e2903cbSBaolin Wang	  ADI driver based on SPI for Spreadtrum SoCs.
8167e2903cbSBaolin Wang
817dcbe0d84SAmelie Delaunayconfig SPI_STM32
818dcbe0d84SAmelie Delaunay	tristate "STMicroelectronics STM32 SPI controller"
819dcbe0d84SAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
820dcbe0d84SAmelie Delaunay	help
821bb35c9f9SCezary Gapinski	  SPI driver for STMicroelectronics STM32 SoCs.
822dcbe0d84SAmelie Delaunay
823dcbe0d84SAmelie Delaunay	  STM32 SPI controller supports DMA and PIO modes. When DMA
824dcbe0d84SAmelie Delaunay	  is not available, the driver automatically falls back to
825dcbe0d84SAmelie Delaunay	  PIO mode.
826dcbe0d84SAmelie Delaunay
827c530cd1dSLudovic Barreconfig SPI_STM32_QSPI
828c530cd1dSLudovic Barre	tristate "STMicroelectronics STM32 QUAD SPI controller"
829c530cd1dSLudovic Barre	depends on ARCH_STM32 || COMPILE_TEST
830c530cd1dSLudovic Barre	depends on OF
8316829222bSPatrice Chotard	depends on SPI_MEM
832c530cd1dSLudovic Barre	help
833c530cd1dSLudovic Barre	  This enables support for the Quad SPI controller in master mode.
834c530cd1dSLudovic Barre	  This driver does not support generic SPI. The implementation only
835c530cd1dSLudovic Barre	  supports spi-mem interface.
836c530cd1dSLudovic Barre
8379e862375SLee Jonesconfig SPI_ST_SSC4
8389e862375SLee Jones	tristate "STMicroelectronics SPI SSC-based driver"
83983fefd2dSAxel Lin	depends on ARCH_STI || COMPILE_TEST
8409e862375SLee Jones	help
8419e862375SLee Jones	  STMicroelectronics SoCs support for SPI. If you say yes to
8429e862375SLee Jones	  this option, support will be included for the SSC driven SPI.
8439e862375SLee Jones
844b5f65179SMaxime Ripardconfig SPI_SUN4I
845b5f65179SMaxime Ripard	tristate "Allwinner A10 SoCs SPI controller"
846b5f65179SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
847b5f65179SMaxime Ripard	help
848b5f65179SMaxime Ripard	  SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
849b5f65179SMaxime Ripard
8503558fe90SMaxime Ripardconfig SPI_SUN6I
8513558fe90SMaxime Ripard	tristate "Allwinner A31 SPI controller"
8523558fe90SMaxime Ripard	depends on ARCH_SUNXI || COMPILE_TEST
8537961656aSMark Brown	depends on RESET_CONTROLLER
8543558fe90SMaxime Ripard	help
8553558fe90SMaxime Ripard	  This enables using the SPI controller on the Allwinner A31 SoCs.
8563558fe90SMaxime Ripard
857b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER
858b0823ee3SMasahisa Kojima	tristate "Socionext's SynQuacer HighSpeed SPI controller"
859b0823ee3SMasahisa Kojima	depends on ARCH_SYNQUACER || COMPILE_TEST
860b0823ee3SMasahisa Kojima	help
861b0823ee3SMasahisa Kojima	  SPI driver for Socionext's High speed SPI controller which provides
862b0823ee3SMasahisa Kojima	  various operating modes for interfacing to serial peripheral devices
863b0823ee3SMasahisa Kojima	  that use the de-facto standard SPI protocol.
864b0823ee3SMasahisa Kojima
865b0823ee3SMasahisa Kojima	  It also supports the new dual-bit and quad-bit SPI protocol.
866b0823ee3SMasahisa Kojima
867b942d80bSMason Yangconfig SPI_MXIC
868b942d80bSMason Yang	tristate "Macronix MX25F0A SPI controller"
869b942d80bSMason Yang	depends on SPI_MASTER
870b942d80bSMason Yang	help
871b942d80bSMason Yang	  This selects the Macronix MX25F0A SPI controller driver.
872b942d80bSMason Yang
873646781d3SMarek Vasutconfig SPI_MXS
874646781d3SMarek Vasut	tristate "Freescale MXS SPI controller"
875646781d3SMarek Vasut	depends on ARCH_MXS
876646781d3SMarek Vasut	select STMP_DEVICE
877646781d3SMarek Vasut	help
878646781d3SMarek Vasut	  SPI driver for Freescale MXS devices.
879646781d3SMarek Vasut
880921fc183SSowjanya Komatineniconfig SPI_TEGRA210_QUAD
881921fc183SSowjanya Komatineni	tristate "NVIDIA Tegra QSPI Controller"
882921fc183SSowjanya Komatineni	depends on ARCH_TEGRA || COMPILE_TEST
883921fc183SSowjanya Komatineni	depends on RESET_CONTROLLER
884921fc183SSowjanya Komatineni	help
885921fc183SSowjanya Komatineni	  QSPI driver for NVIDIA Tegra QSPI Controller interface. This
886921fc183SSowjanya Komatineni	  controller is different from the SPI controller and is available
887921fc183SSowjanya Komatineni	  on Tegra SoCs starting from Tegra210.
888921fc183SSowjanya Komatineni
889f333a331SLaxman Dewanganconfig SPI_TEGRA114
890f333a331SLaxman Dewangan	tristate "NVIDIA Tegra114 SPI Controller"
891dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
892e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
893f333a331SLaxman Dewangan	help
894f333a331SLaxman Dewangan	  SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
895f333a331SLaxman Dewangan	  is different than the older SoCs SPI controller and also register interface
896f333a331SLaxman Dewangan	  get changed with this controller.
897f333a331SLaxman Dewangan
8988528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH
8998528547bSLaxman Dewangan	tristate "Nvidia Tegra20 Serial flash Controller"
900dd1053a9SMark Brown	depends on ARCH_TEGRA || COMPILE_TEST
901ff2251e3SStephen Warren	depends on RESET_CONTROLLER
9028528547bSLaxman Dewangan	help
9038528547bSLaxman Dewangan	  SPI driver for Nvidia Tegra20 Serial flash Controller interface.
9048528547bSLaxman Dewangan	  The main usecase of this controller is to use spi flash as boot
9058528547bSLaxman Dewangan	  device.
9068528547bSLaxman Dewangan
907dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK
908dc4dc360SLaxman Dewangan	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
909dd1053a9SMark Brown	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
910e5b43ed2SGeert Uytterhoeven	depends on RESET_CONTROLLER
911dc4dc360SLaxman Dewangan	help
912dc4dc360SLaxman Dewangan	  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
913dc4dc360SLaxman Dewangan
9147347a6c7SJan Glauberconfig SPI_THUNDERX
9157347a6c7SJan Glauber	tristate "Cavium ThunderX SPI controller"
9167347a6c7SJan Glauber	depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
9177347a6c7SJan Glauber	help
9187347a6c7SJan Glauber	  SPI host driver for the hardware found on Cavium ThunderX
9197347a6c7SJan Glauber	  SOCs.
9207347a6c7SJan Glauber
921e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH
92292b3a5c1STomoya MORINAGA	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
923f05ca854SPaul Burton	depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
924e8b17b5bSMasayuki Ohtake	help
925cdbc8f04SGrant Likely	  SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
926cdbc8f04SGrant Likely	  used in some x86 embedded processors.
927e8b17b5bSMasayuki Ohtake
92892b3a5c1STomoya MORINAGA	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
92992b3a5c1STomoya MORINAGA	  for the Atom E6xx series and compatible with the Intel EG20T PCH.
930f016aeb6STomoya MORINAGA
9315ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER
9325ba155a4SKeiji Hayashibara	tristate "Socionext UniPhier SPI Controller"
9335ba155a4SKeiji Hayashibara	depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
9346a091404SKunihiko Hayashi	depends on HAS_IOMEM
9355ba155a4SKeiji Hayashibara	help
9365ba155a4SKeiji Hayashibara	  This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
9375ba155a4SKeiji Hayashibara
9385ba155a4SKeiji Hayashibara	  UniPhier SoCs have SCSSI and MCSSI SPI controllers.
9395ba155a4SKeiji Hayashibara	  Every UniPhier SoC has SCSSI which supports single channel.
9405ba155a4SKeiji Hayashibara	  Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
9415ba155a4SKeiji Hayashibara	  This driver supports SCSSI only.
9425ba155a4SKeiji Hayashibara
9435ba155a4SKeiji Hayashibara	  If your SoC supports SCSSI, say Y here.
9445ba155a4SKeiji Hayashibara
945b3165900SLars-Peter Clausenconfig SPI_XCOMM
946b3165900SLars-Peter Clausen	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
947b3165900SLars-Peter Clausen	depends on I2C
948b3165900SLars-Peter Clausen	help
949b3165900SLars-Peter Clausen	  Support for the SPI-I2C bridge found on the Analog Devices
950b3165900SLars-Peter Clausen	  AD-FMCOMMS1-EBZ board.
951b3165900SLars-Peter Clausen
952ae918c02SAndrei Konovalovconfig SPI_XILINX
953c9da2e12SRichard Röjfors	tristate "Xilinx SPI controller common module"
9546d1f56aaSKees Cook	depends on HAS_IOMEM
955ae918c02SAndrei Konovalov	select SPI_BITBANG
956ae918c02SAndrei Konovalov	help
957ae918c02SAndrei Konovalov	  This exposes the SPI controller IP from the Xilinx EDK.
958ae918c02SAndrei Konovalov
959ae918c02SAndrei Konovalov	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
960ae918c02SAndrei Konovalov	  Product Specification document (DS464) for hardware details.
961ae918c02SAndrei Konovalov
962c9da2e12SRichard Röjfors	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
963c9da2e12SRichard Röjfors
964d8c80d49SKamlakant Patelconfig SPI_XLP
965d8c80d49SKamlakant Patel	tristate "Netlogic XLP SPI controller driver"
966251831bdSJayachandran C	depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
967d8c80d49SKamlakant Patel	help
968d8c80d49SKamlakant Patel	  Enable support for the SPI controller on the Netlogic XLP SoCs.
969d8c80d49SKamlakant Patel	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
970d8c80d49SKamlakant Patel	  and XLP5XX.
971d8c80d49SKamlakant Patel
972d8c80d49SKamlakant Patel	  If you have a Netlogic XLP platform say Y here.
973d8c80d49SKamlakant Patel	  If unsure, say N.
974d8c80d49SKamlakant Patel
9756840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA
9766840cc29SMax Filippov	tristate "Xtensa SPI controller for xtfpga"
977be8dde46SAxel Lin	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
9786840cc29SMax Filippov	select SPI_BITBANG
9796840cc29SMax Filippov	help
9806840cc29SMax Filippov	  SPI driver for xtfpga SPI master controller.
9816840cc29SMax Filippov
9826840cc29SMax Filippov	  This simple SPI master controller is built into xtfpga bitstreams
9836840cc29SMax Filippov	  and is used to control daughterboard audio codec. It always transfers
9846840cc29SMax Filippov	  16 bit words in SPI mode 0, automatically asserting CS on transfer
9856840cc29SMax Filippov	  start and deasserting on end.
9866840cc29SMax Filippov
98767dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI
98867dca5e5SNaga Sureshkumar Relli	tristate "Xilinx Zynq QSPI controller"
98967dca5e5SNaga Sureshkumar Relli	depends on ARCH_ZYNQ || COMPILE_TEST
99067dca5e5SNaga Sureshkumar Relli	help
99167dca5e5SNaga Sureshkumar Relli	  This enables support for the Zynq Quad SPI controller
99267dca5e5SNaga Sureshkumar Relli	  in master mode.
99367dca5e5SNaga Sureshkumar Relli	  This controller only supports SPI memory interface.
99467dca5e5SNaga Sureshkumar Relli
995dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI
996dfe11a11SRanjit Waghmode	tristate "Xilinx ZynqMP GQSPI controller"
99767dca5e5SNaga Sureshkumar Relli	depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST
998dfe11a11SRanjit Waghmode	help
999dfe11a11SRanjit Waghmode	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
1000dfe11a11SRanjit Waghmode
1001bbb336f3SSanjay R Mehtaconfig SPI_AMD
1002bbb336f3SSanjay R Mehta	tristate "AMD SPI controller"
1003bbb336f3SSanjay R Mehta	depends on SPI_MASTER || COMPILE_TEST
1004bbb336f3SSanjay R Mehta	help
1005bbb336f3SSanjay R Mehta	  Enables SPI controller driver for AMD SoC.
1006bbb336f3SSanjay R Mehta
10078ae12a0dSDavid Brownell#
10088ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line
10098ae12a0dSDavid Brownell#
10108ae12a0dSDavid Brownell
1011e9e40543SChris Packhamcomment "SPI Multiplexer support"
1012e9e40543SChris Packham
1013e9e40543SChris Packhamconfig SPI_MUX
1014e9e40543SChris Packham	tristate "SPI multiplexer support"
1015e9e40543SChris Packham	select MULTIPLEXER
1016e9e40543SChris Packham	help
1017e9e40543SChris Packham	  This adds support for SPI multiplexers. Each SPI mux will be
1018e9e40543SChris Packham	  accessible as a SPI controller, the devices behind the mux will appear
1019e9e40543SChris Packham	  to be chip selects on this controller. It is still necessary to
1020e9e40543SChris Packham	  select one or more specific mux-controller drivers.
1021e9e40543SChris Packham
10228ae12a0dSDavid Brownell#
10238ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory
10248ae12a0dSDavid Brownell# being probably the most widely used ones.
10258ae12a0dSDavid Brownell#
10268ae12a0dSDavid Brownellcomment "SPI Protocol Masters"
10278ae12a0dSDavid Brownell
1028814a8d50SAndrea Paternianiconfig SPI_SPIDEV
1029814a8d50SAndrea Paterniani	tristate "User mode SPI device driver support"
1030814a8d50SAndrea Paterniani	help
1031814a8d50SAndrea Paterniani	  This supports user mode SPI protocol drivers.
1032814a8d50SAndrea Paterniani
1033814a8d50SAndrea Paterniani	  Note that this application programming interface is EXPERIMENTAL
1034814a8d50SAndrea Paterniani	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
1035814a8d50SAndrea Paterniani
103697896195SMartin Sperlconfig SPI_LOOPBACK_TEST
103797896195SMartin Sperl	tristate "spi loopback test framework support"
103897896195SMartin Sperl	depends on m
103997896195SMartin Sperl	help
104097896195SMartin Sperl	  This enables the SPI loopback testing framework driver
104197896195SMartin Sperl
104297896195SMartin Sperl	  primarily used for development of spi_master drivers
104397896195SMartin Sperl	  and to detect regressions
104497896195SMartin Sperl
1045447aef1aSBen Dooksconfig SPI_TLE62X0
1046447aef1aSBen Dooks	tristate "Infineon TLE62X0 (for power switching)"
10476291fe2aSRobert P. J. Day	depends on SYSFS
1048447aef1aSBen Dooks	help
1049447aef1aSBen Dooks	  SPI driver for Infineon TLE62X0 series line driver chips,
1050447aef1aSBen Dooks	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
1051447aef1aSBen Dooks	  sysfs interface, with each line presented as a kind of GPIO
1052447aef1aSBen Dooks	  exposing both switch control and diagnostic feedback.
1053447aef1aSBen Dooks
10548ae12a0dSDavid Brownell#
10558ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line
10568ae12a0dSDavid Brownell#
10578ae12a0dSDavid Brownell
10586291fe2aSRobert P. J. Dayendif # SPI_MASTER
10596291fe2aSRobert P. J. Day
10606c364062SGeert Uytterhoeven#
10616c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters
10626c364062SGeert Uytterhoeven#
10636c364062SGeert Uytterhoeven
10646c364062SGeert Uytterhoevenconfig SPI_SLAVE
10656c364062SGeert Uytterhoeven	bool "SPI slave protocol handlers"
10666c364062SGeert Uytterhoeven	help
10676c364062SGeert Uytterhoeven	  If your system has a slave-capable SPI controller, you can enable
10686c364062SGeert Uytterhoeven	  slave protocol handlers.
10696c364062SGeert Uytterhoeven
10706c364062SGeert Uytterhoevenif SPI_SLAVE
10716c364062SGeert Uytterhoeven
107229f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME
107329f9ffa0SGeert Uytterhoeven	tristate "SPI slave handler reporting boot up time"
107429f9ffa0SGeert Uytterhoeven	help
107529f9ffa0SGeert Uytterhoeven	  SPI slave handler responding with the time of reception of the last
107629f9ffa0SGeert Uytterhoeven	  SPI message.
107729f9ffa0SGeert Uytterhoeven
1078ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL
1079ce70e06cSGeert Uytterhoeven	tristate "SPI slave handler controlling system state"
1080ce70e06cSGeert Uytterhoeven	help
1081ce70e06cSGeert Uytterhoeven	  SPI slave handler to allow remote control of system reboot, power
1082ce70e06cSGeert Uytterhoeven	  off, halt, and suspend.
1083ce70e06cSGeert Uytterhoeven
10846c364062SGeert Uytterhoevenendif # SPI_SLAVE
10858ae12a0dSDavid Brownell
1086ddf75be4SLukas Wunnerconfig SPI_DYNAMIC
1087ddf75be4SLukas Wunner	def_bool ACPI || OF_DYNAMIC || SPI_SLAVE
1088ddf75be4SLukas Wunner
108979d8c7a8SAlessandro Guidoendif # SPI
1090