Commit | Line | Data |
---|---|---|
8ae12a0d DB |
1 | # |
2 | # SPI driver configuration | |
3 | # | |
79d8c7a8 | 4 | menuconfig SPI |
8ae12a0d | 5 | bool "SPI support" |
79d8c7a8 | 6 | depends on HAS_IOMEM |
8ae12a0d DB |
7 | help |
8 | The "Serial Peripheral Interface" is a low level synchronous | |
9 | protocol. Chips that support SPI can have data transfer rates | |
10 | up to several tens of Mbit/sec. Chips are addressed with a | |
11 | controller and a chipselect. Most SPI slaves don't support | |
12 | dynamic device discovery; some are even write-only or read-only. | |
13 | ||
3cb2fccc | 14 | SPI is widely used by microcontrollers to talk with sensors, |
8ae12a0d DB |
15 | eeprom and flash memory, codecs and various other controller |
16 | chips, analog to digital (and d-to-a) converters, and more. | |
17 | MMC and SD cards can be accessed using SPI protocol; and for | |
18 | DataFlash cards used in MMC sockets, SPI must always be used. | |
19 | ||
20 | SPI is one of a family of similar protocols using a four wire | |
21 | interface (select, clock, data in, data out) including Microwire | |
22 | (half duplex), SSP, SSI, and PSP. This driver framework should | |
23 | work with most such devices and controllers. | |
24 | ||
79d8c7a8 AG |
25 | if SPI |
26 | ||
8ae12a0d | 27 | config SPI_DEBUG |
6341e62b | 28 | bool "Debug support for SPI drivers" |
79d8c7a8 | 29 | depends on DEBUG_KERNEL |
8ae12a0d DB |
30 | help |
31 | Say "yes" to enable debug messaging (like dev_dbg and pr_debug), | |
32 | sysfs, and debugfs support in SPI controller and protocol drivers. | |
33 | ||
34 | # | |
35 | # MASTER side ... talking to discrete SPI slave chips including microcontrollers | |
36 | # | |
37 | ||
38 | config SPI_MASTER | |
6341e62b CJ |
39 | # bool "SPI Master Support" |
40 | bool | |
8ae12a0d DB |
41 | default SPI |
42 | help | |
43 | If your system has an master-capable SPI controller (which | |
44 | provides the clock and chipselect), you can enable that | |
45 | controller and the protocol drivers for the SPI slave chips | |
46 | that are connected. | |
47 | ||
6291fe2a RD |
48 | if SPI_MASTER |
49 | ||
c36ff266 BB |
50 | config SPI_MEM |
51 | bool "SPI memory extension" | |
52 | help | |
53 | Enable this option if you want to enable the SPI memory extension. | |
54 | This extension is meant to simplify interaction with SPI memories | |
29e795ca | 55 | by providing a high-level interface to send memory-like commands. |
c36ff266 | 56 | |
8ae12a0d | 57 | comment "SPI Master Controller Drivers" |
8ae12a0d | 58 | |
0b782531 TC |
59 | config SPI_ALTERA |
60 | tristate "Altera SPI Controller" | |
0b782531 TC |
61 | help |
62 | This is the driver for the Altera SPI Controller. | |
63 | ||
8efaef4d GJ |
64 | config SPI_ATH79 |
65 | tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" | |
76ec9d18 | 66 | depends on ATH79 && GPIOLIB |
8efaef4d GJ |
67 | select SPI_BITBANG |
68 | help | |
69 | This enables support for the SPI controller present on the | |
70 | Atheros AR71XX/AR724X/AR913X SoCs. | |
71 | ||
5762ab71 RP |
72 | config SPI_ARMADA_3700 |
73 | tristate "Marvell Armada 3700 SPI Controller" | |
74 | depends on (ARCH_MVEBU && OF) || COMPILE_TEST | |
75 | help | |
76 | This enables support for the SPI controller present on the | |
77 | Marvell Armada 3700 SoCs. | |
78 | ||
754ce4f2 HS |
79 | config SPI_ATMEL |
80 | tristate "Atmel SPI Controller" | |
a687a533 | 81 | depends on ARCH_AT91 || COMPILE_TEST |
754ce4f2 HS |
82 | help |
83 | This selects a driver for the Atmel SPI Controller, present on | |
a687a533 | 84 | many AT91 ARM chips. |
754ce4f2 | 85 | |
e1892546 RP |
86 | config SPI_AT91_USART |
87 | tristate "Atmel USART Controller SPI driver" | |
88 | depends on (ARCH_AT91 || COMPILE_TEST) | |
89 | depends on MFD_AT91_USART | |
90 | help | |
91 | This selects a driver for the AT91 USART Controller as SPI Master, | |
92 | present on AT91 and SAMA5 SoC series. | |
93 | ||
0e6aae08 PB |
94 | config SPI_ATMEL_QUADSPI |
95 | tristate "Atmel Quad SPI Controller" | |
2a9d92fb | 96 | depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110) |
0e6aae08 PB |
97 | depends on OF && HAS_IOMEM |
98 | help | |
99 | This enables support for the Quad SPI controller in master mode. | |
100 | This driver does not support generic SPI. The implementation only | |
101 | supports spi-mem interface. | |
102 | ||
e32bb870 MB |
103 | config SPI_AU1550 |
104 | tristate "Au1550/Au1200/Au1300 SPI Controller" | |
105 | depends on MIPS_ALCHEMY | |
106 | select SPI_BITBANG | |
107 | help | |
108 | If you say yes to this option, support will be included for the | |
109 | PSC SPI controller found on Au1550, Au1200 and Au1300 series. | |
110 | ||
b1353d1c LPC |
111 | config SPI_AXI_SPI_ENGINE |
112 | tristate "Analog Devices AXI SPI Engine controller" | |
113 | depends on HAS_IOMEM | |
114 | help | |
115 | This enables support for the Analog Devices AXI SPI Engine SPI controller. | |
116 | It is part of the SPI Engine framework that is used in some Analog Devices | |
117 | reference designs for FPGAs. | |
118 | ||
f8043872 CB |
119 | config SPI_BCM2835 |
120 | tristate "BCM2835 SPI controller" | |
e0d58cdc | 121 | depends on GPIOLIB |
dd1053a9 | 122 | depends on ARCH_BCM2835 || COMPILE_TEST |
f8043872 CB |
123 | help |
124 | This selects a driver for the Broadcom BCM2835 SPI master. | |
125 | ||
126 | The BCM2835 contains two types of SPI master controller; the | |
127 | "universal SPI master", and the regular SPI controller. This driver | |
128 | is for the regular SPI controller. Slave mode operation is not also | |
129 | not supported. | |
130 | ||
1ea29b39 MS |
131 | config SPI_BCM2835AUX |
132 | tristate "BCM2835 SPI auxiliary controller" | |
0697ae80 | 133 | depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST |
1ea29b39 MS |
134 | help |
135 | This selects a driver for the Broadcom BCM2835 SPI aux master. | |
136 | ||
137 | The BCM2835 contains two types of SPI master controller; the | |
138 | "universal SPI master", and the regular SPI controller. | |
139 | This driver is for the universal/auxiliary SPI controller. | |
140 | ||
b42dfed8 FF |
141 | config SPI_BCM63XX |
142 | tristate "Broadcom BCM63xx SPI controller" | |
44d8fb30 | 143 | depends on BCM63XX || COMPILE_TEST |
b42dfed8 FF |
144 | help |
145 | Enable support for the SPI controller on the Broadcom BCM63xx SoCs. | |
146 | ||
142168eb JG |
147 | config SPI_BCM63XX_HSSPI |
148 | tristate "Broadcom BCM63XX HS SPI controller driver" | |
79a15f49 | 149 | depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST |
142168eb JG |
150 | help |
151 | This enables support for the High Speed SPI controller present on | |
152 | newer Broadcom BCM63XX SoCs. | |
153 | ||
fa236a7e KD |
154 | config SPI_BCM_QSPI |
155 | tristate "Broadcom BSPI and MSPI controller support" | |
279e4af7 JS |
156 | depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ |
157 | BMIPS_GENERIC || COMPILE_TEST | |
fa236a7e KD |
158 | default ARCH_BCM_IPROC |
159 | help | |
160 | Enables support for the Broadcom SPI flash and MSPI controller. | |
161 | Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs | |
162 | based platforms. This driver works for both SPI master for spi-nor | |
163 | flash device as well as MSPI device. | |
164 | ||
9904f22a | 165 | config SPI_BITBANG |
d29389de | 166 | tristate "Utilities for Bitbanging SPI masters" |
9904f22a DB |
167 | help |
168 | With a few GPIO pins, your system can bitbang the SPI protocol. | |
169 | Select this to get SPI support through I/O pins (GPIO, parallel | |
170 | port, etc). Or, some systems' SPI master controller drivers use | |
171 | this code to manage the per-word or per-transfer accesses to the | |
172 | hardware shift registers. | |
173 | ||
174 | This is library code, and is automatically selected by drivers that | |
175 | need it. You only need to select this explicitly to support driver | |
176 | modules that aren't part of this kernel tree. | |
8ae12a0d | 177 | |
7111763d DB |
178 | config SPI_BUTTERFLY |
179 | tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" | |
6291fe2a | 180 | depends on PARPORT |
7111763d DB |
181 | select SPI_BITBANG |
182 | help | |
183 | This uses a custom parallel port cable to connect to an AVR | |
184 | Butterfly <http://www.atmel.com/products/avr/butterfly>, an | |
185 | inexpensive battery powered microcontroller evaluation board. | |
186 | This same cable can be used to flash new firmware. | |
187 | ||
c474b386 HK |
188 | config SPI_CADENCE |
189 | tristate "Cadence SPI controller" | |
c474b386 HK |
190 | help |
191 | This selects the Cadence SPI controller master driver | |
38b6484e | 192 | used by Xilinx Zynq and ZynqMP. |
c474b386 | 193 | |
161b96c3 AS |
194 | config SPI_CLPS711X |
195 | tristate "CLPS711X host SPI controller" | |
5634dd8b | 196 | depends on ARCH_CLPS711X || COMPILE_TEST |
161b96c3 AS |
197 | help |
198 | This enables dedicated general purpose SPI/Microwire1-compatible | |
199 | master mode interface (SSI1) for CLPS711X-based CPUs. | |
200 | ||
34b8c661 SK |
201 | config SPI_COLDFIRE_QSPI |
202 | tristate "Freescale Coldfire QSPI controller" | |
bce4d12b | 203 | depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) |
34b8c661 SK |
204 | help |
205 | This enables support for the Coldfire QSPI controller in master | |
206 | mode. | |
207 | ||
358934a6 | 208 | config SPI_DAVINCI |
23ce17ad | 209 | tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" |
78848914 | 210 | depends on ARCH_DAVINCI || ARCH_KEYSTONE |
358934a6 SP |
211 | select SPI_BITBANG |
212 | help | |
23ce17ad SN |
213 | SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. |
214 | ||
e32bb870 MB |
215 | config SPI_DESIGNWARE |
216 | tristate "DesignWare SPI controller core support" | |
217 | help | |
218 | general driver for SPI controller core from DesignWare | |
219 | ||
220 | config SPI_DW_PCI | |
221 | tristate "PCI interface driver for DW SPI core" | |
222 | depends on SPI_DESIGNWARE && PCI | |
223 | ||
224 | config SPI_DW_MID_DMA | |
225 | bool "DMA support for DW SPI controller on Intel MID platform" | |
226 | depends on SPI_DW_PCI && DW_DMAC_PCI | |
227 | ||
228 | config SPI_DW_MMIO | |
229 | tristate "Memory-mapped io interface driver for DW SPI core" | |
230 | depends on SPI_DESIGNWARE | |
231 | ||
3d8c0d74 LP |
232 | config SPI_DLN2 |
233 | tristate "Diolan DLN-2 USB SPI adapter" | |
234 | depends on MFD_DLN2 | |
235 | help | |
236 | If you say yes to this option, support will be included for Diolan | |
237 | DLN2, a USB to SPI interface. | |
238 | ||
239 | This driver can also be built as a module. If so, the module | |
240 | will be called spi-dln2. | |
241 | ||
86f8973c UKK |
242 | config SPI_EFM32 |
243 | tristate "EFM32 SPI controller" | |
244 | depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) | |
245 | select SPI_BITBANG | |
246 | help | |
247 | Driver for the spi controller found on Energy Micro's EFM32 SoCs. | |
248 | ||
011f23a3 MW |
249 | config SPI_EP93XX |
250 | tristate "Cirrus Logic EP93xx SPI controller" | |
dd1053a9 | 251 | depends on ARCH_EP93XX || COMPILE_TEST |
011f23a3 MW |
252 | help |
253 | This enables using the Cirrus EP93xx SPI controller in master | |
254 | mode. | |
255 | ||
6cd3c7e2 | 256 | config SPI_FALCON |
9c6a3af0 | 257 | bool "Falcon SPI controller support" |
6cd3c7e2 TL |
258 | depends on SOC_FALCON |
259 | help | |
260 | The external bus unit (EBU) found on the FALC-ON SoC has SPI | |
261 | emulation that is designed for serial flash access. This driver | |
262 | has only been tested with m25p80 type chips. The hardware has no | |
263 | support for other types of SPI peripherals. | |
264 | ||
5314987d GP |
265 | config SPI_FSL_LPSPI |
266 | tristate "Freescale i.MX LPSPI controller" | |
267 | depends on ARCH_MXC || COMPILE_TEST | |
268 | help | |
269 | This enables Freescale i.MX LPSPI controllers in master mode. | |
270 | ||
d29389de DB |
271 | config SPI_GPIO |
272 | tristate "GPIO-based bitbanging SPI Master" | |
5c2301a9 | 273 | depends on GPIOLIB || COMPILE_TEST |
d29389de DB |
274 | select SPI_BITBANG |
275 | help | |
276 | This simple GPIO bitbanging SPI master uses the arch-neutral GPIO | |
277 | interface to manage MOSI, MISO, SCK, and chipselect signals. SPI | |
278 | slaves connected to a bus using this driver are configured as usual, | |
279 | except that the spi_board_info.controller_data holds the GPIO number | |
280 | for the chipselect used by this controller driver. | |
281 | ||
282 | Note that this driver often won't achieve even 1 Mbit/sec speeds, | |
283 | making it unusually slow for SPI. If your platform can inline | |
284 | GPIO operations, you should be able to leverage that for better | |
285 | speed with a custom version of this driver; see the source code. | |
286 | ||
deba2580 AB |
287 | config SPI_IMG_SPFI |
288 | tristate "IMG SPFI controller" | |
289 | depends on MIPS || COMPILE_TEST | |
290 | help | |
291 | This enables support for the SPFI master controller found on | |
292 | IMG SoCs. | |
293 | ||
b5f3294f SH |
294 | config SPI_IMX |
295 | tristate "Freescale i.MX SPI controllers" | |
dd1053a9 | 296 | depends on ARCH_MXC || COMPILE_TEST |
b5f3294f SH |
297 | select SPI_BITBANG |
298 | help | |
299 | This enables using the Freescale i.MX SPI controllers in master | |
300 | mode. | |
301 | ||
2cb1b3b3 RF |
302 | config SPI_JCORE |
303 | tristate "J-Core SPI Master" | |
304 | depends on OF && (SUPERH || COMPILE_TEST) | |
305 | help | |
306 | This enables support for the SPI master controller in the J-Core | |
307 | synthesizable, open source SoC. | |
308 | ||
78961a57 KB |
309 | config SPI_LM70_LLP |
310 | tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" | |
6d1f56aa | 311 | depends on PARPORT |
78961a57 KB |
312 | select SPI_BITBANG |
313 | help | |
314 | This driver supports the NS LM70 LLP Evaluation Board, | |
315 | which interfaces to an LM70 temperature sensor using | |
316 | a parallel port. | |
317 | ||
7ecbfff6 SI |
318 | config SPI_LP8841_RTC |
319 | tristate "ICP DAS LP-8841 SPI Controller for RTC" | |
320 | depends on MACH_PXA27X_DT || COMPILE_TEST | |
321 | help | |
322 | This driver provides an SPI master device to drive Maxim | |
323 | DS-1302 real time clock. | |
324 | ||
325 | Say N here unless you plan to run the kernel on an ICP DAS | |
326 | LP-8x4x industrial computer. | |
327 | ||
42bbb709 GL |
328 | config SPI_MPC52xx |
329 | tristate "Freescale MPC52xx SPI (non-PSC) controller support" | |
7433f2b7 | 330 | depends on PPC_MPC52xx |
42bbb709 GL |
331 | help |
332 | This drivers supports the MPC52xx SPI controller in master SPI | |
333 | mode. | |
334 | ||
00b8fd23 DC |
335 | config SPI_MPC52xx_PSC |
336 | tristate "Freescale MPC52xx PSC SPI controller" | |
6d1f56aa | 337 | depends on PPC_MPC52xx |
00b8fd23 DC |
338 | help |
339 | This enables using the Freescale MPC52xx Programmable Serial | |
340 | Controller in master SPI mode. | |
341 | ||
6e27388f AG |
342 | config SPI_MPC512x_PSC |
343 | tristate "Freescale MPC512x PSC SPI controller" | |
5e8afa34 | 344 | depends on PPC_MPC512x |
6e27388f AG |
345 | help |
346 | This enables using the Freescale MPC5121 Programmable Serial | |
347 | Controller in SPI master mode. | |
348 | ||
b36ece83 | 349 | config SPI_FSL_LIB |
e8beacbb AL |
350 | tristate |
351 | depends on OF | |
352 | ||
353 | config SPI_FSL_CPM | |
b36ece83 MH |
354 | tristate |
355 | depends on FSL_SOC | |
356 | ||
3272029f | 357 | config SPI_FSL_SPI |
38455d7a | 358 | tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" |
e8beacbb | 359 | depends on OF |
b36ece83 | 360 | select SPI_FSL_LIB |
e8beacbb | 361 | select SPI_FSL_CPM if FSL_SOC |
ccf06998 | 362 | help |
3272029f MH |
363 | This enables using the Freescale SPI controllers in master mode. |
364 | MPC83xx platform uses the controller in cpu mode or CPM/QE mode. | |
365 | MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. | |
447b0c7b AL |
366 | This also enables using the Aeroflex Gaisler GRLIB SPI controller in |
367 | master mode. | |
ccf06998 | 368 | |
349ad66c CF |
369 | config SPI_FSL_DSPI |
370 | tristate "Freescale DSPI controller" | |
1acbdeb9 | 371 | select REGMAP_MMIO |
ec7ed770 | 372 | depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST |
349ad66c CF |
373 | help |
374 | This enables support for the Freescale DSPI controller in master | |
375 | mode. VF610 platform uses the controller. | |
376 | ||
8b60d6c2 | 377 | config SPI_FSL_ESPI |
38455d7a | 378 | tristate "Freescale eSPI controller" |
8b60d6c2 | 379 | depends on FSL_SOC |
8b60d6c2 MH |
380 | help |
381 | This enables using the Freescale eSPI controllers in master mode. | |
382 | From MPC8536, 85xx platform uses the controller, and all P10xx, | |
383 | P20xx, P30xx,P40xx, P50xx uses this controller. | |
384 | ||
454fa271 NA |
385 | config SPI_MESON_SPICC |
386 | tristate "Amlogic Meson SPICC controller" | |
387 | depends on ARCH_MESON || COMPILE_TEST | |
388 | help | |
389 | This enables master mode support for the SPICC (SPI communication | |
390 | controller) available in Amlogic Meson SoCs. | |
391 | ||
c3e4bc54 BG |
392 | config SPI_MESON_SPIFC |
393 | tristate "Amlogic Meson SPIFC controller" | |
394 | depends on ARCH_MESON || COMPILE_TEST | |
1327ecd4 | 395 | select REGMAP_MMIO |
c3e4bc54 BG |
396 | help |
397 | This enables master mode support for the SPIFC (SPI flash | |
398 | controller) available in Amlogic Meson SoCs. | |
399 | ||
a568231f LL |
400 | config SPI_MT65XX |
401 | tristate "MediaTek SPI controller" | |
402 | depends on ARCH_MEDIATEK || COMPILE_TEST | |
403 | help | |
404 | This selects the MediaTek(R) SPI bus driver. | |
405 | If you want to use MediaTek(R) SPI interface, | |
406 | say Y or M here.If you are not sure, say N. | |
407 | SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. | |
408 | ||
e32bb870 MB |
409 | config SPI_NUC900 |
410 | tristate "Nuvoton NUC900 series SPI" | |
411 | depends on ARCH_W90X900 | |
412 | select SPI_BITBANG | |
413 | help | |
414 | SPI driver for Nuvoton NUC900 series ARM SoCs | |
415 | ||
17f84b79 HM |
416 | config SPI_LANTIQ_SSC |
417 | tristate "Lantiq SSC SPI controller" | |
582c97f6 | 418 | depends on LANTIQ || COMPILE_TEST |
17f84b79 HM |
419 | help |
420 | This driver supports the Lantiq SSC SPI controller in master | |
421 | mode. This controller is found on Intel (former Lantiq) SoCs like | |
422 | the Danube, Falcon, xRX200, xRX300. | |
423 | ||
ce792580 TC |
424 | config SPI_OC_TINY |
425 | tristate "OpenCores tiny SPI" | |
5c2301a9 | 426 | depends on GPIOLIB || COMPILE_TEST |
ce792580 TC |
427 | select SPI_BITBANG |
428 | help | |
429 | This is the driver for OpenCores tiny SPI master controller. | |
430 | ||
6b52c00f DD |
431 | config SPI_OCTEON |
432 | tristate "Cavium OCTEON SPI controller" | |
9ddebc46 | 433 | depends on CAVIUM_OCTEON_SOC |
6b52c00f DD |
434 | help |
435 | SPI host driver for the hardware found on some Cavium OCTEON | |
436 | SOCs. | |
437 | ||
fdb3c18d DB |
438 | config SPI_OMAP_UWIRE |
439 | tristate "OMAP1 MicroWire" | |
6291fe2a | 440 | depends on ARCH_OMAP1 |
fdb3c18d DB |
441 | select SPI_BITBANG |
442 | help | |
443 | This hooks up to the MicroWire controller on OMAP1 chips. | |
444 | ||
ccdc7bf9 | 445 | config SPI_OMAP24XX |
8ebeb545 | 446 | tristate "McSPI driver for OMAP" |
dd1053a9 | 447 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
2b32e987 | 448 | select SG_SPLIT |
ccdc7bf9 | 449 | help |
8ebeb545 | 450 | SPI master controller for OMAP24XX and later Multichannel SPI |
ccdc7bf9 | 451 | (McSPI) modules. |
69c202af | 452 | |
505a1495 SP |
453 | config SPI_TI_QSPI |
454 | tristate "DRA7xxx QSPI controller support" | |
455 | depends on ARCH_OMAP2PLUS || COMPILE_TEST | |
456 | help | |
457 | QSPI master controller for DRA7xxx used for flash devices. | |
458 | This device supports single, dual and quad read support, while | |
459 | it only supports single write mode. | |
460 | ||
35c9049b CM |
461 | config SPI_OMAP_100K |
462 | tristate "OMAP SPI 100K" | |
dd1053a9 | 463 | depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST |
35c9049b CM |
464 | help |
465 | OMAP SPI 100K master controller for omap7xx boards. | |
466 | ||
60cadec9 | 467 | config SPI_ORION |
6d1f56aa | 468 | tristate "Orion SPI master" |
710a1d54 | 469 | depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST |
60cadec9 | 470 | help |
73482910 UKK |
471 | This enables using the SPI master controller on the Orion |
472 | and MVEBU chips. | |
60cadec9 | 473 | |
1bcb9f8c PCM |
474 | config SPI_PIC32 |
475 | tristate "Microchip PIC32 series SPI" | |
476 | depends on MACH_PIC32 || COMPILE_TEST | |
477 | help | |
478 | SPI driver for Microchip PIC32 SPI master controller. | |
479 | ||
3270ac23 PCM |
480 | config SPI_PIC32_SQI |
481 | tristate "Microchip PIC32 Quad SPI driver" | |
482 | depends on MACH_PIC32 || COMPILE_TEST | |
483 | help | |
484 | SPI driver for PIC32 Quad SPI controller. | |
485 | ||
b43d65f7 | 486 | config SPI_PL022 |
7f9a4b97 LW |
487 | tristate "ARM AMBA PL022 SSP controller" |
488 | depends on ARM_AMBA | |
b43d65f7 | 489 | default y if MACH_U300 |
f33b29ee | 490 | default y if ARCH_REALVIEW |
491 | default y if INTEGRATOR_IMPD1 | |
492 | default y if ARCH_VERSATILE | |
b43d65f7 LW |
493 | help |
494 | This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP | |
495 | controller. If you have an embedded system with an AMBA(R) | |
496 | bus and a PL022 controller, say Y or M here. | |
497 | ||
44dab88e SF |
498 | config SPI_PPC4xx |
499 | tristate "PPC4xx SPI Controller" | |
5e8afa34 | 500 | depends on PPC32 && 4xx |
44dab88e SF |
501 | select SPI_BITBANG |
502 | help | |
503 | This selects a driver for the PPC4xx SPI Controller. | |
504 | ||
e0c9905e SS |
505 | config SPI_PXA2XX |
506 | tristate "PXA2xx SSP SPI master" | |
128345b1 AB |
507 | depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI) |
508 | select PXA_SSP if ARCH_PXA || ARCH_MMP | |
e0c9905e | 509 | help |
d6ea3df0 SAS |
510 | This enables using a PXA2xx or Sodaville SSP port as a SPI master |
511 | controller. The driver can be configured to use any SSP port and | |
512 | additional documentation can be found a Documentation/spi/pxa2xx. | |
513 | ||
514 | config SPI_PXA2XX_PCI | |
afa93c90 | 515 | def_tristate SPI_PXA2XX && PCI && COMMON_CLK |
e0c9905e | 516 | |
64e36824 | 517 | config SPI_ROCKCHIP |
518 | tristate "Rockchip SPI controller driver" | |
519 | help | |
520 | This selects a driver for Rockchip SPI controller. | |
521 | ||
522 | If you say yes to this option, support will be included for | |
523 | RK3066, RK3188 and RK3288 families of SPI controller. | |
524 | Rockchip SPI controller support DMA transport and PIO mode. | |
525 | The main usecase of this controller is to use spi flash as boot | |
526 | device. | |
527 | ||
05aec357 BV |
528 | config SPI_RB4XX |
529 | tristate "Mikrotik RB4XX SPI master" | |
530 | depends on SPI_MASTER && ATH79 | |
531 | help | |
532 | SPI controller driver for the Mikrotik RB4xx series boards. | |
533 | ||
0b2182dd | 534 | config SPI_RSPI |
e290c343 | 535 | tristate "Renesas RSPI/QSPI controller" |
3aec3166 | 536 | depends on SUPERH || ARCH_RENESAS || COMPILE_TEST |
0b2182dd | 537 | help |
e290c343 | 538 | SPI driver for Renesas RSPI and QSPI blocks. |
0b2182dd | 539 | |
04000dc6 GM |
540 | config SPI_QCOM_QSPI |
541 | tristate "QTI QSPI controller" | |
542 | depends on ARCH_QCOM | |
543 | help | |
544 | QSPI(Quad SPI) driver for Qualcomm QSPI controller. | |
545 | ||
64ff247a II |
546 | config SPI_QUP |
547 | tristate "Qualcomm SPI controller with QUP interface" | |
058f11c8 | 548 | depends on ARCH_QCOM || (ARM && COMPILE_TEST) |
64ff247a II |
549 | help |
550 | Qualcomm Universal Peripheral (QUP) core is an AHB slave that | |
551 | provides a common data path (an output FIFO and an input FIFO) | |
552 | for serial peripheral interface (SPI) mini-core. SPI in master | |
553 | mode supports up to 50MHz, up to four chip selects, programmable | |
554 | data path from 4 bits to 32 bits and numerous protocol variants. | |
555 | ||
556 | This driver can also be built as a module. If so, the module | |
557 | will be called spi_qup. | |
0b2182dd | 558 | |
561de45f GM |
559 | config SPI_QCOM_GENI |
560 | tristate "Qualcomm GENI based SPI controller" | |
561 | depends on QCOM_GENI_SE | |
562 | help | |
563 | This driver supports GENI serial engine based SPI controller in | |
564 | master mode on the Qualcomm Technologies Inc.'s SoCs. If you say | |
565 | yes to this option, support will be included for the built-in SPI | |
566 | interface on the Qualcomm Technologies Inc.'s SoCs. | |
567 | ||
568 | This driver can also be built as a module. If so, the module | |
569 | will be called spi-geni-qcom. | |
570 | ||
85abfaa7 DB |
571 | config SPI_S3C24XX |
572 | tristate "Samsung S3C24XX series SPI" | |
6d1f56aa | 573 | depends on ARCH_S3C24XX |
da0abc27 | 574 | select SPI_BITBANG |
85abfaa7 DB |
575 | help |
576 | SPI driver for Samsung S3C24XX series ARM SoCs | |
577 | ||
bec0806c BD |
578 | config SPI_S3C24XX_FIQ |
579 | bool "S3C24XX driver with FIQ pseudo-DMA" | |
580 | depends on SPI_S3C24XX | |
581 | select FIQ | |
582 | help | |
583 | Enable FIQ support for the S3C24XX SPI driver to provide pseudo | |
584 | DMA by using the fast-interrupt request framework, This allows | |
585 | the driver to get DMA-like performance when there are either | |
586 | no free DMA channels, or when doing transfers that required both | |
587 | TX and RX data paths. | |
588 | ||
230d42d4 JB |
589 | config SPI_S3C64XX |
590 | tristate "Samsung S3C64XX series type SPI" | |
b099b131 | 591 | depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) |
230d42d4 JB |
592 | help |
593 | SPI driver for Samsung S3C64XX and newer SoCs. | |
594 | ||
3ce8859e GR |
595 | config SPI_SC18IS602 |
596 | tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" | |
597 | depends on I2C | |
598 | help | |
599 | SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. | |
600 | ||
8051effc MD |
601 | config SPI_SH_MSIOF |
602 | tristate "SuperH MSIOF SPI controller" | |
e5b43ed2 | 603 | depends on HAVE_CLK |
6ffc84dd | 604 | depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST |
8051effc | 605 | help |
746aeffd | 606 | SPI driver for SuperH and SH Mobile MSIOF blocks. |
8051effc | 607 | |
5c05dd07 YS |
608 | config SPI_SH |
609 | tristate "SuperH SPI controller" | |
dd1053a9 | 610 | depends on SUPERH || COMPILE_TEST |
5c05dd07 YS |
611 | help |
612 | SPI driver for SuperH SPI blocks. | |
613 | ||
37e46640 MD |
614 | config SPI_SH_SCI |
615 | tristate "SuperH SCI SPI controller" | |
6291fe2a | 616 | depends on SUPERH |
37e46640 MD |
617 | select SPI_BITBANG |
618 | help | |
619 | SPI driver for SuperH SCI blocks. | |
620 | ||
d1c8bbd7 KM |
621 | config SPI_SH_HSPI |
622 | tristate "SuperH HSPI controller" | |
3aec3166 | 623 | depends on ARCH_RENESAS || COMPILE_TEST |
d1c8bbd7 KM |
624 | help |
625 | SPI driver for SuperH HSPI blocks. | |
626 | ||
1cc2df9d ZS |
627 | config SPI_SIRF |
628 | tristate "CSR SiRFprimaII SPI controller" | |
7668c294 | 629 | depends on SIRF_DMA |
1cc2df9d ZS |
630 | select SPI_BITBANG |
631 | help | |
632 | SPI driver for CSR SiRFprimaII SoCs | |
633 | ||
805be7dd LL |
634 | config SPI_SLAVE_MT27XX |
635 | tristate "MediaTek SPI slave device" | |
636 | depends on ARCH_MEDIATEK || COMPILE_TEST | |
637 | depends on SPI_SLAVE | |
638 | help | |
639 | This selects the MediaTek(R) SPI slave device driver. | |
640 | If you want to use MediaTek(R) SPI slave interface, | |
641 | say Y or M here.If you are not sure, say N. | |
642 | SPI slave drivers for Mediatek MT27XX series ARM SoCs. | |
643 | ||
e7d973a3 LL |
644 | config SPI_SPRD |
645 | tristate "Spreadtrum SPI controller" | |
646 | depends on ARCH_SPRD || COMPILE_TEST | |
647 | help | |
648 | SPI driver for Spreadtrum SoCs. | |
649 | ||
7e2903cb BW |
650 | config SPI_SPRD_ADI |
651 | tristate "Spreadtrum ADI controller" | |
652 | depends on ARCH_SPRD || COMPILE_TEST | |
e83f3742 | 653 | depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) |
7e2903cb BW |
654 | help |
655 | ADI driver based on SPI for Spreadtrum SoCs. | |
656 | ||
dcbe0d84 AD |
657 | config SPI_STM32 |
658 | tristate "STMicroelectronics STM32 SPI controller" | |
659 | depends on ARCH_STM32 || COMPILE_TEST | |
660 | help | |
661 | SPI driver for STMicroelectonics STM32 SoCs. | |
662 | ||
663 | STM32 SPI controller supports DMA and PIO modes. When DMA | |
664 | is not available, the driver automatically falls back to | |
665 | PIO mode. | |
666 | ||
c530cd1d LB |
667 | config SPI_STM32_QSPI |
668 | tristate "STMicroelectronics STM32 QUAD SPI controller" | |
669 | depends on ARCH_STM32 || COMPILE_TEST | |
670 | depends on OF | |
671 | help | |
672 | This enables support for the Quad SPI controller in master mode. | |
673 | This driver does not support generic SPI. The implementation only | |
674 | supports spi-mem interface. | |
675 | ||
9e862375 LJ |
676 | config SPI_ST_SSC4 |
677 | tristate "STMicroelectronics SPI SSC-based driver" | |
83fefd2d | 678 | depends on ARCH_STI || COMPILE_TEST |
9e862375 LJ |
679 | help |
680 | STMicroelectronics SoCs support for SPI. If you say yes to | |
681 | this option, support will be included for the SSC driven SPI. | |
682 | ||
b5f65179 MR |
683 | config SPI_SUN4I |
684 | tristate "Allwinner A10 SoCs SPI controller" | |
685 | depends on ARCH_SUNXI || COMPILE_TEST | |
686 | help | |
687 | SPI driver for Allwinner sun4i, sun5i and sun7i SoCs | |
688 | ||
3558fe90 MR |
689 | config SPI_SUN6I |
690 | tristate "Allwinner A31 SPI controller" | |
691 | depends on ARCH_SUNXI || COMPILE_TEST | |
7961656a | 692 | depends on RESET_CONTROLLER |
3558fe90 MR |
693 | help |
694 | This enables using the SPI controller on the Allwinner A31 SoCs. | |
695 | ||
646781d3 MV |
696 | config SPI_MXS |
697 | tristate "Freescale MXS SPI controller" | |
698 | depends on ARCH_MXS | |
699 | select STMP_DEVICE | |
700 | help | |
701 | SPI driver for Freescale MXS devices. | |
702 | ||
f333a331 LD |
703 | config SPI_TEGRA114 |
704 | tristate "NVIDIA Tegra114 SPI Controller" | |
dd1053a9 | 705 | depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST |
e5b43ed2 | 706 | depends on RESET_CONTROLLER |
f333a331 LD |
707 | help |
708 | SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller | |
709 | is different than the older SoCs SPI controller and also register interface | |
710 | get changed with this controller. | |
711 | ||
8528547b LD |
712 | config SPI_TEGRA20_SFLASH |
713 | tristate "Nvidia Tegra20 Serial flash Controller" | |
dd1053a9 | 714 | depends on ARCH_TEGRA || COMPILE_TEST |
ff2251e3 | 715 | depends on RESET_CONTROLLER |
8528547b LD |
716 | help |
717 | SPI driver for Nvidia Tegra20 Serial flash Controller interface. | |
718 | The main usecase of this controller is to use spi flash as boot | |
719 | device. | |
720 | ||
dc4dc360 LD |
721 | config SPI_TEGRA20_SLINK |
722 | tristate "Nvidia Tegra20/Tegra30 SLINK Controller" | |
dd1053a9 | 723 | depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST |
e5b43ed2 | 724 | depends on RESET_CONTROLLER |
dc4dc360 LD |
725 | help |
726 | SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. | |
727 | ||
7347a6c7 JG |
728 | config SPI_THUNDERX |
729 | tristate "Cavium ThunderX SPI controller" | |
730 | depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) | |
731 | help | |
732 | SPI host driver for the hardware found on Cavium ThunderX | |
733 | SOCs. | |
734 | ||
e8b17b5b | 735 | config SPI_TOPCLIFF_PCH |
92b3a5c1 | 736 | tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" |
f05ca854 | 737 | depends on PCI && (X86_32 || MIPS || COMPILE_TEST) |
e8b17b5b | 738 | help |
cdbc8f04 GL |
739 | SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus |
740 | used in some x86 embedded processors. | |
e8b17b5b | 741 | |
92b3a5c1 TM |
742 | This driver also supports the ML7213/ML7223/ML7831, a companion chip |
743 | for the Atom E6xx series and compatible with the Intel EG20T PCH. | |
f016aeb6 | 744 | |
f2cac67d AN |
745 | config SPI_TXX9 |
746 | tristate "Toshiba TXx9 SPI controller" | |
dd1053a9 | 747 | depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) |
f2cac67d AN |
748 | help |
749 | SPI driver for Toshiba TXx9 MIPS SoCs | |
750 | ||
5ba155a4 KH |
751 | config SPI_UNIPHIER |
752 | tristate "Socionext UniPhier SPI Controller" | |
753 | depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF | |
754 | help | |
755 | This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. | |
756 | ||
757 | UniPhier SoCs have SCSSI and MCSSI SPI controllers. | |
758 | Every UniPhier SoC has SCSSI which supports single channel. | |
759 | Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. | |
760 | This driver supports SCSSI only. | |
761 | ||
762 | If your SoC supports SCSSI, say Y here. | |
763 | ||
b3165900 LPC |
764 | config SPI_XCOMM |
765 | tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" | |
766 | depends on I2C | |
767 | help | |
768 | Support for the SPI-I2C bridge found on the Analog Devices | |
769 | AD-FMCOMMS1-EBZ board. | |
770 | ||
ae918c02 | 771 | config SPI_XILINX |
c9da2e12 | 772 | tristate "Xilinx SPI controller common module" |
6d1f56aa | 773 | depends on HAS_IOMEM |
ae918c02 AK |
774 | select SPI_BITBANG |
775 | help | |
776 | This exposes the SPI controller IP from the Xilinx EDK. | |
777 | ||
778 | See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" | |
779 | Product Specification document (DS464) for hardware details. | |
780 | ||
c9da2e12 RR |
781 | Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" |
782 | ||
d8c80d49 KP |
783 | config SPI_XLP |
784 | tristate "Netlogic XLP SPI controller driver" | |
251831bd | 785 | depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST |
d8c80d49 KP |
786 | help |
787 | Enable support for the SPI controller on the Netlogic XLP SoCs. | |
788 | Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX | |
789 | and XLP5XX. | |
790 | ||
791 | If you have a Netlogic XLP platform say Y here. | |
792 | If unsure, say N. | |
793 | ||
6840cc29 MF |
794 | config SPI_XTENSA_XTFPGA |
795 | tristate "Xtensa SPI controller for xtfpga" | |
be8dde46 | 796 | depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST |
6840cc29 MF |
797 | select SPI_BITBANG |
798 | help | |
799 | SPI driver for xtfpga SPI master controller. | |
800 | ||
801 | This simple SPI master controller is built into xtfpga bitstreams | |
802 | and is used to control daughterboard audio codec. It always transfers | |
803 | 16 bit words in SPI mode 0, automatically asserting CS on transfer | |
804 | start and deasserting on end. | |
805 | ||
dfe11a11 RW |
806 | config SPI_ZYNQMP_GQSPI |
807 | tristate "Xilinx ZynqMP GQSPI controller" | |
2e1c75f4 | 808 | depends on SPI_MASTER && HAS_DMA |
dfe11a11 RW |
809 | help |
810 | Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. | |
811 | ||
8ae12a0d DB |
812 | # |
813 | # Add new SPI master controllers in alphabetical order above this line | |
814 | # | |
815 | ||
8ae12a0d DB |
816 | # |
817 | # There are lots of SPI device types, with sensors and memory | |
818 | # being probably the most widely used ones. | |
819 | # | |
820 | comment "SPI Protocol Masters" | |
8ae12a0d | 821 | |
814a8d50 AP |
822 | config SPI_SPIDEV |
823 | tristate "User mode SPI device driver support" | |
814a8d50 AP |
824 | help |
825 | This supports user mode SPI protocol drivers. | |
826 | ||
827 | Note that this application programming interface is EXPERIMENTAL | |
828 | and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. | |
829 | ||
97896195 MS |
830 | config SPI_LOOPBACK_TEST |
831 | tristate "spi loopback test framework support" | |
832 | depends on m | |
833 | help | |
834 | This enables the SPI loopback testing framework driver | |
835 | ||
836 | primarily used for development of spi_master drivers | |
837 | and to detect regressions | |
838 | ||
447aef1a BD |
839 | config SPI_TLE62X0 |
840 | tristate "Infineon TLE62X0 (for power switching)" | |
6291fe2a | 841 | depends on SYSFS |
447aef1a BD |
842 | help |
843 | SPI driver for Infineon TLE62X0 series line driver chips, | |
844 | such as the TLE6220, TLE6230 and TLE6240. This provides a | |
845 | sysfs interface, with each line presented as a kind of GPIO | |
846 | exposing both switch control and diagnostic feedback. | |
847 | ||
8ae12a0d DB |
848 | # |
849 | # Add new SPI protocol masters in alphabetical order above this line | |
850 | # | |
851 | ||
6291fe2a RD |
852 | endif # SPI_MASTER |
853 | ||
6c364062 GU |
854 | # |
855 | # SLAVE side ... listening to other SPI masters | |
856 | # | |
857 | ||
858 | config SPI_SLAVE | |
859 | bool "SPI slave protocol handlers" | |
860 | help | |
861 | If your system has a slave-capable SPI controller, you can enable | |
862 | slave protocol handlers. | |
863 | ||
864 | if SPI_SLAVE | |
865 | ||
29f9ffa0 GU |
866 | config SPI_SLAVE_TIME |
867 | tristate "SPI slave handler reporting boot up time" | |
868 | help | |
869 | SPI slave handler responding with the time of reception of the last | |
870 | SPI message. | |
871 | ||
ce70e06c GU |
872 | config SPI_SLAVE_SYSTEM_CONTROL |
873 | tristate "SPI slave handler controlling system state" | |
874 | help | |
875 | SPI slave handler to allow remote control of system reboot, power | |
876 | off, halt, and suspend. | |
877 | ||
6c364062 | 878 | endif # SPI_SLAVE |
8ae12a0d | 879 | |
79d8c7a8 | 880 | endif # SPI |