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