1# 2# SPI driver configuration 3# 4menuconfig SPI 5 bool "SPI support" 6 depends on HAS_IOMEM 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 14 SPI is widely used by microcontrollers to talk with sensors, 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 25if SPI 26 27config SPI_DEBUG 28 bool "Debug support for SPI drivers" 29 depends on DEBUG_KERNEL 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 38config SPI_MASTER 39# bool "SPI Master Support" 40 bool 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 48if SPI_MASTER 49 50config 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 55 by providing a high-level interface to send memory-like commands. 56 57comment "SPI Master Controller Drivers" 58 59config SPI_ALTERA 60 tristate "Altera SPI Controller" 61 help 62 This is the driver for the Altera SPI Controller. 63 64config SPI_ATH79 65 tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 66 depends on ATH79 && GPIOLIB 67 select SPI_BITBANG 68 help 69 This enables support for the SPI controller present on the 70 Atheros AR71XX/AR724X/AR913X SoCs. 71 72config 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 79config SPI_ATMEL 80 tristate "Atmel SPI Controller" 81 depends on ARCH_AT91 || COMPILE_TEST 82 help 83 This selects a driver for the Atmel SPI Controller, present on 84 many AT91 ARM chips. 85 86config 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 94config 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 102config 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 110config SPI_BCM2835 111 tristate "BCM2835 SPI controller" 112 depends on GPIOLIB 113 depends on ARCH_BCM2835 || COMPILE_TEST 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 122config SPI_BCM2835AUX 123 tristate "BCM2835 SPI auxiliary controller" 124 depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST 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 132config SPI_BCM63XX 133 tristate "Broadcom BCM63xx SPI controller" 134 depends on BCM63XX || COMPILE_TEST 135 help 136 Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 137 138config SPI_BCM63XX_HSSPI 139 tristate "Broadcom BCM63XX HS SPI controller driver" 140 depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST 141 help 142 This enables support for the High Speed SPI controller present on 143 newer Broadcom BCM63XX SoCs. 144 145config SPI_BCM_QSPI 146 tristate "Broadcom BSPI and MSPI controller support" 147 depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 148 BMIPS_GENERIC || COMPILE_TEST 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 156config SPI_BITBANG 157 tristate "Utilities for Bitbanging SPI masters" 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. 168 169config SPI_BUTTERFLY 170 tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 171 depends on PARPORT 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 179config SPI_CADENCE 180 tristate "Cadence SPI controller" 181 help 182 This selects the Cadence SPI controller master driver 183 used by Xilinx Zynq and ZynqMP. 184 185config SPI_CLPS711X 186 tristate "CLPS711X host SPI controller" 187 depends on ARCH_CLPS711X || COMPILE_TEST 188 help 189 This enables dedicated general purpose SPI/Microwire1-compatible 190 master mode interface (SSI1) for CLPS711X-based CPUs. 191 192config SPI_COLDFIRE_QSPI 193 tristate "Freescale Coldfire QSPI controller" 194 depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 195 help 196 This enables support for the Coldfire QSPI controller in master 197 mode. 198 199config SPI_DAVINCI 200 tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 201 depends on ARCH_DAVINCI || ARCH_KEYSTONE 202 select SPI_BITBANG 203 help 204 SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 205 206config SPI_DESIGNWARE 207 tristate "DesignWare SPI controller core support" 208 help 209 general driver for SPI controller core from DesignWare 210 211config SPI_DW_PCI 212 tristate "PCI interface driver for DW SPI core" 213 depends on SPI_DESIGNWARE && PCI 214 215config 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 219config SPI_DW_MMIO 220 tristate "Memory-mapped io interface driver for DW SPI core" 221 depends on SPI_DESIGNWARE 222 223config 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 233config 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 240config SPI_EP93XX 241 tristate "Cirrus Logic EP93xx SPI controller" 242 depends on ARCH_EP93XX || COMPILE_TEST 243 help 244 This enables using the Cirrus EP93xx SPI controller in master 245 mode. 246 247config SPI_FALCON 248 bool "Falcon SPI controller support" 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 256config 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 262config SPI_GPIO 263 tristate "GPIO-based bitbanging SPI Master" 264 depends on GPIOLIB || COMPILE_TEST 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 278config 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 285config SPI_IMX 286 tristate "Freescale i.MX SPI controllers" 287 depends on ARCH_MXC || COMPILE_TEST 288 select SPI_BITBANG 289 help 290 This enables using the Freescale i.MX SPI controllers in master 291 mode. 292 293config 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 300config SPI_LM70_LLP 301 tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 302 depends on PARPORT 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 309config 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 319config SPI_MPC52xx 320 tristate "Freescale MPC52xx SPI (non-PSC) controller support" 321 depends on PPC_MPC52xx 322 help 323 This drivers supports the MPC52xx SPI controller in master SPI 324 mode. 325 326config SPI_MPC52xx_PSC 327 tristate "Freescale MPC52xx PSC SPI controller" 328 depends on PPC_MPC52xx 329 help 330 This enables using the Freescale MPC52xx Programmable Serial 331 Controller in master SPI mode. 332 333config SPI_MPC512x_PSC 334 tristate "Freescale MPC512x PSC SPI controller" 335 depends on PPC_MPC512x 336 help 337 This enables using the Freescale MPC5121 Programmable Serial 338 Controller in SPI master mode. 339 340config SPI_FSL_LIB 341 tristate 342 depends on OF 343 344config SPI_FSL_CPM 345 tristate 346 depends on FSL_SOC 347 348config SPI_FSL_SPI 349 tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 350 depends on OF 351 select SPI_FSL_LIB 352 select SPI_FSL_CPM if FSL_SOC 353 help 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. 357 This also enables using the Aeroflex Gaisler GRLIB SPI controller in 358 master mode. 359 360config SPI_FSL_DSPI 361 tristate "Freescale DSPI controller" 362 select REGMAP_MMIO 363 depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST 364 help 365 This enables support for the Freescale DSPI controller in master 366 mode. VF610 platform uses the controller. 367 368config SPI_FSL_ESPI 369 tristate "Freescale eSPI controller" 370 depends on FSL_SOC 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 376config 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 383config SPI_MESON_SPIFC 384 tristate "Amlogic Meson SPIFC controller" 385 depends on ARCH_MESON || COMPILE_TEST 386 select REGMAP_MMIO 387 help 388 This enables master mode support for the SPIFC (SPI flash 389 controller) available in Amlogic Meson SoCs. 390 391config 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 400config 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 407config SPI_LANTIQ_SSC 408 tristate "Lantiq SSC SPI controller" 409 depends on LANTIQ || COMPILE_TEST 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 415config SPI_OC_TINY 416 tristate "OpenCores tiny SPI" 417 depends on GPIOLIB || COMPILE_TEST 418 select SPI_BITBANG 419 help 420 This is the driver for OpenCores tiny SPI master controller. 421 422config SPI_OCTEON 423 tristate "Cavium OCTEON SPI controller" 424 depends on CAVIUM_OCTEON_SOC 425 help 426 SPI host driver for the hardware found on some Cavium OCTEON 427 SOCs. 428 429config SPI_OMAP_UWIRE 430 tristate "OMAP1 MicroWire" 431 depends on ARCH_OMAP1 432 select SPI_BITBANG 433 help 434 This hooks up to the MicroWire controller on OMAP1 chips. 435 436config SPI_OMAP24XX 437 tristate "McSPI driver for OMAP" 438 depends on ARCH_OMAP2PLUS || COMPILE_TEST 439 select SG_SPLIT 440 help 441 SPI master controller for OMAP24XX and later Multichannel SPI 442 (McSPI) modules. 443 444config 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 452config SPI_OMAP_100K 453 tristate "OMAP SPI 100K" 454 depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 455 help 456 OMAP SPI 100K master controller for omap7xx boards. 457 458config SPI_ORION 459 tristate "Orion SPI master" 460 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 461 help 462 This enables using the SPI master controller on the Orion 463 and MVEBU chips. 464 465config 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 471config 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 477config SPI_PL022 478 tristate "ARM AMBA PL022 SSP controller" 479 depends on ARM_AMBA 480 default y if MACH_U300 481 default y if ARCH_REALVIEW 482 default y if INTEGRATOR_IMPD1 483 default y if ARCH_VERSATILE 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 489config SPI_PPC4xx 490 tristate "PPC4xx SPI Controller" 491 depends on PPC32 && 4xx 492 select SPI_BITBANG 493 help 494 This selects a driver for the PPC4xx SPI Controller. 495 496config SPI_PXA2XX 497 tristate "PXA2xx SSP SPI master" 498 depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI) 499 select PXA_SSP if ARCH_PXA || ARCH_MMP 500 help 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 505config SPI_PXA2XX_PCI 506 def_tristate SPI_PXA2XX && PCI && COMMON_CLK 507 508config 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 519config 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 525config SPI_RSPI 526 tristate "Renesas RSPI/QSPI controller" 527 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 528 help 529 SPI driver for Renesas RSPI and QSPI blocks. 530 531config 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 537config SPI_QUP 538 tristate "Qualcomm SPI controller with QUP interface" 539 depends on ARCH_QCOM || (ARM && COMPILE_TEST) 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. 549 550config 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 562config SPI_S3C24XX 563 tristate "Samsung S3C24XX series SPI" 564 depends on ARCH_S3C24XX 565 select SPI_BITBANG 566 help 567 SPI driver for Samsung S3C24XX series ARM SoCs 568 569config 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 580config SPI_S3C64XX 581 tristate "Samsung S3C64XX series type SPI" 582 depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) 583 help 584 SPI driver for Samsung S3C64XX and newer SoCs. 585 586config 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 592config SPI_SH_MSIOF 593 tristate "SuperH MSIOF SPI controller" 594 depends on HAVE_CLK 595 depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 596 help 597 SPI driver for SuperH and SH Mobile MSIOF blocks. 598 599config SPI_SH 600 tristate "SuperH SPI controller" 601 depends on SUPERH || COMPILE_TEST 602 help 603 SPI driver for SuperH SPI blocks. 604 605config SPI_SH_SCI 606 tristate "SuperH SCI SPI controller" 607 depends on SUPERH 608 select SPI_BITBANG 609 help 610 SPI driver for SuperH SCI blocks. 611 612config SPI_SH_HSPI 613 tristate "SuperH HSPI controller" 614 depends on ARCH_RENESAS || COMPILE_TEST 615 help 616 SPI driver for SuperH HSPI blocks. 617 618config SPI_SIRF 619 tristate "CSR SiRFprimaII SPI controller" 620 depends on SIRF_DMA 621 select SPI_BITBANG 622 help 623 SPI driver for CSR SiRFprimaII SoCs 624 625config 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 635config SPI_SPRD 636 tristate "Spreadtrum SPI controller" 637 depends on ARCH_SPRD || COMPILE_TEST 638 help 639 SPI driver for Spreadtrum SoCs. 640 641config SPI_SPRD_ADI 642 tristate "Spreadtrum ADI controller" 643 depends on ARCH_SPRD || COMPILE_TEST 644 depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 645 help 646 ADI driver based on SPI for Spreadtrum SoCs. 647 648config 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 658config 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 667config SPI_ST_SSC4 668 tristate "STMicroelectronics SPI SSC-based driver" 669 depends on ARCH_STI || COMPILE_TEST 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 674config 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 680config SPI_SUN6I 681 tristate "Allwinner A31 SPI controller" 682 depends on ARCH_SUNXI || COMPILE_TEST 683 depends on RESET_CONTROLLER 684 help 685 This enables using the SPI controller on the Allwinner A31 SoCs. 686 687config 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 694config SPI_TEGRA114 695 tristate "NVIDIA Tegra114 SPI Controller" 696 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 697 depends on RESET_CONTROLLER 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 703config SPI_TEGRA20_SFLASH 704 tristate "Nvidia Tegra20 Serial flash Controller" 705 depends on ARCH_TEGRA || COMPILE_TEST 706 depends on RESET_CONTROLLER 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 712config SPI_TEGRA20_SLINK 713 tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 714 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 715 depends on RESET_CONTROLLER 716 help 717 SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 718 719config 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 726config SPI_TOPCLIFF_PCH 727 tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 728 depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 729 help 730 SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 731 used in some x86 embedded processors. 732 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. 735 736config SPI_TXX9 737 tristate "Toshiba TXx9 SPI controller" 738 depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 739 help 740 SPI driver for Toshiba TXx9 MIPS SoCs 741 742config 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 755config 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 762config SPI_XILINX 763 tristate "Xilinx SPI controller common module" 764 depends on HAS_IOMEM 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 772 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 773 774config SPI_XLP 775 tristate "Netlogic XLP SPI controller driver" 776 depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST 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 785config SPI_XTENSA_XTFPGA 786 tristate "Xtensa SPI controller for xtfpga" 787 depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 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 797config SPI_ZYNQMP_GQSPI 798 tristate "Xilinx ZynqMP GQSPI controller" 799 depends on SPI_MASTER && HAS_DMA 800 help 801 Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 802 803# 804# Add new SPI master controllers in alphabetical order above this line 805# 806 807# 808# There are lots of SPI device types, with sensors and memory 809# being probably the most widely used ones. 810# 811comment "SPI Protocol Masters" 812 813config SPI_SPIDEV 814 tristate "User mode SPI device driver support" 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 821config 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 830config SPI_TLE62X0 831 tristate "Infineon TLE62X0 (for power switching)" 832 depends on SYSFS 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 839# 840# Add new SPI protocol masters in alphabetical order above this line 841# 842 843endif # SPI_MASTER 844 845# 846# SLAVE side ... listening to other SPI masters 847# 848 849config 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 855if SPI_SLAVE 856 857config 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 863config 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 869endif # SPI_SLAVE 870 871endif # SPI 872