1# SPDX-License-Identifier: GPL-2.0-only 2# 3# SPI driver configuration 4# 5menuconfig SPI 6 bool "SPI support" 7 depends on HAS_IOMEM 8 help 9 The "Serial Peripheral Interface" is a low level synchronous 10 protocol. Chips that support SPI can have data transfer rates 11 up to several tens of Mbit/sec. Chips are addressed with a 12 controller and a chipselect. Most SPI slaves don't support 13 dynamic device discovery; some are even write-only or read-only. 14 15 SPI is widely used by microcontrollers to talk with sensors, 16 eeprom and flash memory, codecs and various other controller 17 chips, analog to digital (and d-to-a) converters, and more. 18 MMC and SD cards can be accessed using SPI protocol; and for 19 DataFlash cards used in MMC sockets, SPI must always be used. 20 21 SPI is one of a family of similar protocols using a four wire 22 interface (select, clock, data in, data out) including Microwire 23 (half duplex), SSP, SSI, and PSP. This driver framework should 24 work with most such devices and controllers. 25 26if SPI 27 28config SPI_DEBUG 29 bool "Debug support for SPI drivers" 30 depends on DEBUG_KERNEL 31 help 32 Say "yes" to enable debug messaging (like dev_dbg and pr_debug), 33 sysfs, and debugfs support in SPI controller and protocol drivers. 34 35# 36# MASTER side ... talking to discrete SPI slave chips including microcontrollers 37# 38 39config SPI_MASTER 40# bool "SPI Master Support" 41 bool 42 default SPI 43 help 44 If your system has an master-capable SPI controller (which 45 provides the clock and chipselect), you can enable that 46 controller and the protocol drivers for the SPI slave chips 47 that are connected. 48 49if SPI_MASTER 50 51config SPI_MEM 52 bool "SPI memory extension" 53 help 54 Enable this option if you want to enable the SPI memory extension. 55 This extension is meant to simplify interaction with SPI memories 56 by providing a high-level interface to send memory-like commands. 57 58config SPI_OFFLOAD 59 bool 60 61comment "SPI Master Controller Drivers" 62 63config SPI_AIROHA_SNFI 64 tristate "Airoha SPI NAND Flash Interface" 65 depends on ARCH_AIROHA || COMPILE_TEST 66 depends on SPI_MASTER 67 select REGMAP_MMIO 68 help 69 This enables support for SPI-NAND mode on the Airoha NAND 70 Flash Interface found on Airoha ARM SoCs. This controller 71 is implemented as a SPI-MEM controller. 72 73config SPI_ALTERA 74 tristate "Altera SPI Controller platform driver" 75 select SPI_ALTERA_CORE 76 select REGMAP_MMIO 77 help 78 This is the driver for the Altera SPI Controller. 79 80config SPI_ALTERA_CORE 81 tristate "Altera SPI Controller core code" if COMPILE_TEST 82 select REGMAP 83 help 84 "The core code for the Altera SPI Controller" 85 86config SPI_ALTERA_DFL 87 tristate "DFL bus driver for Altera SPI Controller" 88 depends on FPGA_DFL 89 select SPI_ALTERA_CORE 90 help 91 This is a Device Feature List (DFL) bus driver for the 92 Altera SPI master controller. The SPI master is connected 93 to a SPI slave to Avalon bridge in a Intel MAX BMC. 94 95config SPI_AMLOGIC_SPIFC_A1 96 tristate "Amlogic A1 SPIFC controller" 97 depends on ARCH_MESON || COMPILE_TEST 98 help 99 This enables master mode support for the SPIFC (SPI flash 100 controller) available in Amlogic A1 (A113L SoC). 101 102config SPI_AMLOGIC_SPIFC_A4 103 tristate "Amlogic A4 SPI Flash controller" 104 depends on ARCH_MESON || COMPILE_TEST 105 select REGMAP_MMIO 106 help 107 This enables SPI mode on the NAND Flash Controller of Amlogic 108 ARM SoCs. It supports SPI Nor Flash and SPI NAND Flash (Could 109 enable Host ECC HW engine). The controller implements the 110 SPI-MEM interface, it doesn't support generic SPI. 111 112config SPI_AMLOGIC_SPISG 113 tristate "Amlogic SPISG controller" 114 depends on COMMON_CLK 115 depends on ARCH_MESON || COMPILE_TEST 116 help 117 This enables master mode support for the SPISG (SPI scatter-gather 118 communication controller), which is available on platforms such as 119 Amlogic A4 SoCs. 120 121config SPI_APPLE 122 tristate "Apple SoC SPI Controller platform driver" 123 depends on ARCH_APPLE || COMPILE_TEST 124 help 125 This enables support for the SPI controller present on 126 many Apple SoCs, including the t8103 (M1), t8112 (M2) 127 and t600x (M1 Pro/Max/Ultra). Multiple SPI controller 128 instances are present on the SoC and each connects usually 129 to a single device like spi-nor (nvram), input device controller 130 or fingerprint sensor. 131 132config SPI_AR934X 133 tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" 134 depends on ATH79 || COMPILE_TEST 135 help 136 This enables support for the SPI controller present on the 137 Qualcomm Atheros AR934X/QCA95XX SoCs. 138 139config SPI_ATCSPI200 140 tristate "Andes ATCSPI200 SPI controller" 141 depends on ARCH_ANDES 142 help 143 SPI driver for Andes ATCSPI200 SPI controller. 144 ATCSPI200 controller supports DMA and PIO modes. When DMA 145 is not available, the driver automatically falls back to 146 PIO mode. 147 148config SPI_ATH79 149 tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 150 depends on ATH79 || COMPILE_TEST 151 select SPI_BITBANG 152 help 153 This enables support for the SPI controller present on the 154 Atheros AR71XX/AR724X/AR913X SoCs. 155 156config SPI_ARMADA_3700 157 tristate "Marvell Armada 3700 SPI Controller" 158 depends on (ARCH_MVEBU && OF) || COMPILE_TEST 159 help 160 This enables support for the SPI controller present on the 161 Marvell Armada 3700 SoCs. 162 163config SPI_ASPEED_SMC 164 tristate "Aspeed flash controllers in SPI mode" 165 depends on ARCH_ASPEED || COMPILE_TEST 166 depends on OF 167 help 168 This enables support for the Firmware Memory controller (FMC) 169 in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached 170 to SPI NOR chips, and support for the SPI flash memory 171 controller (SPI) for the host firmware. The implementation 172 only supports SPI NOR. 173 174config SPI_ATMEL 175 tristate "Atmel SPI Controller" 176 depends on ARCH_MICROCHIP || COMPILE_TEST 177 depends on OF 178 help 179 This selects a driver for the Atmel SPI Controller, present on 180 many AT91 ARM chips. 181 182config SPI_AT91_USART 183 tristate "Atmel USART Controller SPI driver" 184 depends on (ARCH_AT91 || COMPILE_TEST) 185 depends on MFD_AT91_USART 186 help 187 This selects a driver for the AT91 USART Controller as SPI Master, 188 present on AT91 and SAMA5 SoC series. 189 190config SPI_ATMEL_QUADSPI 191 tristate "Atmel Quad SPI Controller" 192 depends on ARCH_AT91 || COMPILE_TEST 193 depends on OF && HAS_IOMEM 194 help 195 This enables support for the Quad SPI controller in master mode. 196 This driver does not support generic SPI. The implementation only 197 supports spi-mem interface. 198 199config SPI_AU1550 200 tristate "Au1550/Au1200/Au1300 SPI Controller" 201 depends on MIPS_ALCHEMY 202 select SPI_BITBANG 203 help 204 If you say yes to this option, support will be included for the 205 PSC SPI controller found on Au1550, Au1200 and Au1300 series. 206 207config SPI_AXI_SPI_ENGINE 208 tristate "Analog Devices AXI SPI Engine controller" 209 depends on HAS_IOMEM 210 select SPI_OFFLOAD 211 help 212 This enables support for the Analog Devices AXI SPI Engine SPI controller. 213 It is part of the SPI Engine framework that is used in some Analog Devices 214 reference designs for FPGAs. 215 216config SPI_BCM2835 217 tristate "BCM2835 SPI controller" 218 depends on GPIOLIB 219 depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST 220 help 221 This selects a driver for the Broadcom BCM2835 SPI master. 222 223 The BCM2835 contains two types of SPI master controller; the 224 "universal SPI master", and the regular SPI controller. This driver 225 is for the regular SPI controller. Slave mode operation is not also 226 not supported. 227 228config SPI_BCM2835AUX 229 tristate "BCM2835 SPI auxiliary controller" 230 depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST 231 help 232 This selects a driver for the Broadcom BCM2835 SPI aux master. 233 234 The BCM2835 contains two types of SPI master controller; the 235 "universal SPI master", and the regular SPI controller. 236 This driver is for the universal/auxiliary SPI controller. 237 238config SPI_BCM63XX 239 tristate "Broadcom BCM63xx SPI controller" 240 depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST 241 help 242 Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 243 244config SPI_BCM63XX_HSSPI 245 tristate "Broadcom BCM63XX HS SPI controller driver" 246 depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST 247 help 248 This enables support for the High Speed SPI controller present on 249 newer Broadcom BCM63XX SoCs. 250 251config SPI_BCM_QSPI 252 tristate "Broadcom BSPI and MSPI controller support" 253 depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 254 BMIPS_GENERIC || COMPILE_TEST 255 default ARCH_BCM_IPROC 256 help 257 Enables support for the Broadcom SPI flash and MSPI controller. 258 Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs 259 based platforms. This driver works for both SPI master for SPI NOR 260 flash device as well as MSPI device. 261 262config SPI_BCMBCA_HSSPI 263 tristate "Broadcom BCMBCA HS SPI controller driver" 264 depends on ARCH_BCMBCA || COMPILE_TEST 265 help 266 This enables support for the High Speed SPI controller present on 267 newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller 268 that adds the capability to allow the driver to control chip select 269 explicitly. 270 271config SPI_BITBANG 272 tristate "Utilities for Bitbanging SPI host controllers" 273 help 274 With a few GPIO pins, your system can bitbang the SPI protocol. 275 Select this to get SPI support through I/O pins (GPIO, parallel 276 port, etc). Or, some systems' SPI host controller drivers use 277 this code to manage the per-word or per-transfer accesses to the 278 hardware shift registers. 279 280 This is library code, and is automatically selected by drivers that 281 need it. You only need to select this explicitly to support driver 282 modules that aren't part of this kernel tree. 283 284config SPI_BUTTERFLY 285 tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 286 depends on PARPORT 287 select SPI_BITBANG 288 help 289 This uses a custom parallel port cable to connect to an AVR 290 Butterfly <http://www.atmel.com/products/avr/butterfly>, an 291 inexpensive battery powered microcontroller evaluation board. 292 This same cable can be used to flash new firmware. 293 294config SPI_CADENCE 295 tristate "Cadence SPI controller" 296 help 297 This selects the Cadence SPI controller master driver 298 used by Xilinx Zynq and ZynqMP. 299 300config SPI_CADENCE_QUADSPI 301 tristate "Cadence Quad SPI controller" 302 depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST) 303 help 304 Enable support for the Cadence Quad SPI Flash controller. 305 306 Cadence QSPI is a specialized controller for connecting an SPI 307 Flash over 1/2/4-bit wide bus. Enable this option if you have a 308 device with a Cadence QSPI controller and want to access the 309 Flash as an MTD device. 310 311config SPI_CADENCE_XSPI 312 tristate "Cadence XSPI controller" 313 depends on OF && HAS_IOMEM && 64BIT 314 depends on SPI_MEM 315 help 316 Enable support for the Cadence XSPI Flash controller. 317 318 Cadence XSPI is a specialized controller for connecting an SPI 319 Flash over up to 8-bit wide bus. Enable this option if you have a 320 device with a Cadence XSPI controller and want to access the 321 Flash as an MTD device. 322 323config SPI_CH341 324 tristate "CH341 USB2SPI adapter" 325 depends on SPI_MASTER && USB 326 help 327 Enables the SPI controller on the CH341a USB to serial chip 328 329config SPI_CLPS711X 330 tristate "CLPS711X host SPI controller" 331 depends on ARCH_CLPS711X || COMPILE_TEST 332 help 333 This enables dedicated general purpose SPI/Microwire1-compatible 334 master mode interface (SSI1) for CLPS711X-based CPUs. 335 336config SPI_COLDFIRE_QSPI 337 tristate "Freescale Coldfire QSPI controller" 338 depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 339 help 340 This enables support for the Coldfire QSPI controller in master 341 mode. 342 343config SPI_CS42L43 344 tristate "Cirrus Logic CS42L43 SPI controller" 345 depends on MFD_CS42L43 && PINCTRL_CS42L43 346 select GPIO_SWNODE_UNDEFINED 347 help 348 This enables support for the SPI controller inside the Cirrus Logic 349 CS42L43 audio codec. 350 351config SPI_DAVINCI 352 tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 353 depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST 354 select SPI_BITBANG 355 help 356 SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 357 358config SPI_DESIGNWARE 359 tristate "DesignWare SPI controller core support" 360 imply SPI_MEM 361 help 362 general driver for SPI controller core from DesignWare 363 364if SPI_DESIGNWARE 365 366config SPI_DW_DMA 367 bool "DMA support for DW SPI controller" 368 369config SPI_DW_PCI 370 tristate "PCI interface driver for DW SPI core" 371 depends on PCI 372 373config SPI_DW_MMIO 374 tristate "Memory-mapped io interface driver for DW SPI core" 375 depends on HAS_IOMEM 376 377config SPI_DW_BT1 378 tristate "Baikal-T1 SPI driver for DW SPI core" 379 depends on MIPS_BAIKAL_T1 || COMPILE_TEST 380 select MULTIPLEXER 381 help 382 Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI 383 controllers. Two of them are pretty much normal: with IRQ, DMA, 384 FIFOs of 64 words depth, 4x CSs, but the third one as being a 385 part of the Baikal-T1 System Boot Controller has got a very 386 limited resources: no IRQ, no DMA, only a single native 387 chip-select and Tx/Rx FIFO with just 8 words depth available. 388 The later one is normally connected to an external SPI-nor flash 389 of 128Mb (in general can be of bigger size). 390 391config SPI_DW_BT1_DIRMAP 392 bool "Directly mapped Baikal-T1 Boot SPI flash support" 393 depends on SPI_DW_BT1 394 help 395 Directly mapped SPI flash memory is an interface specific to the 396 Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which 397 can be used to access a peripheral memory device just by 398 reading/writing data from/to it. Note that the system APB bus 399 will stall during each IO from/to the dirmap region until the 400 operation is finished. So try not to use it concurrently with 401 time-critical tasks (like the SPI memory operations implemented 402 in this driver). 403 404endif 405 406config SPI_DLN2 407 tristate "Diolan DLN-2 USB SPI adapter" 408 depends on MFD_DLN2 409 help 410 If you say yes to this option, support will be included for Diolan 411 DLN2, a USB to SPI interface. 412 413 This driver can also be built as a module. If so, the module 414 will be called spi-dln2. 415 416config SPI_EP93XX 417 tristate "Cirrus Logic EP93xx SPI controller" 418 depends on ARCH_EP93XX || COMPILE_TEST 419 help 420 This enables using the Cirrus EP93xx SPI controller in master 421 mode. 422 423config SPI_FALCON 424 bool "Falcon SPI controller support" 425 depends on SOC_FALCON 426 help 427 The external bus unit (EBU) found on the FALC-ON SoC has SPI 428 emulation that is designed for serial flash access. This driver 429 has only been tested with m25p80 type chips. The hardware has no 430 support for other types of SPI peripherals. 431 432config SPI_FSI 433 tristate "FSI SPI driver" 434 depends on FSI 435 help 436 This enables support for the driver for FSI bus attached SPI 437 controllers. 438 439config SPI_FSL_LPSPI 440 tristate "Freescale i.MX LPSPI controller" 441 depends on ARCH_MXC || COMPILE_TEST 442 help 443 This enables Freescale i.MX LPSPI controllers in master mode. 444 445config SPI_FSL_QUADSPI 446 tristate "Freescale QSPI controller" 447 depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || \ 448 ARCH_SPACEMIT || COMPILE_TEST 449 depends on HAS_IOMEM 450 help 451 This enables support for the Quad SPI controller in master mode. 452 Up to four flash chips can be connected on two buses with two 453 chipselects each. 454 This controller does not support generic SPI messages. It only 455 supports the high-level SPI memory interface. 456 457config SPI_GXP 458 tristate "GXP SPI driver" 459 depends on ARCH_HPE || COMPILE_TEST 460 help 461 This enables support for the driver for GXP bus attached SPI 462 controllers. 463 464config SPI_HISI_KUNPENG 465 tristate "HiSilicon SPI Controller for Kunpeng SoCs" 466 depends on (ARM64 && ACPI) || COMPILE_TEST 467 help 468 This enables support for HiSilicon SPI controller found on 469 Kunpeng SoCs. 470 471 This driver can also be built as a module. If so, the module 472 will be called hisi-kunpeng-spi. 473 474config SPI_HISI_SFC_V3XX 475 tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets" 476 depends on (ARM64 && ACPI) || COMPILE_TEST 477 depends on HAS_IOMEM 478 help 479 This enables support for HiSilicon v3xx SPI NOR flash controller 480 found in hi16xx chipsets. 481 482config SPI_NXP_FLEXSPI 483 tristate "NXP Flex SPI controller" 484 depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST 485 depends on HAS_IOMEM 486 help 487 This enables support for the Flex SPI controller in master mode. 488 Up to four slave devices can be connected on two buses with two 489 chipselects each. 490 This controller does not support generic SPI messages and only 491 supports the high-level SPI memory interface. 492 493config SPI_GPIO 494 tristate "GPIO-based bitbanging SPI Master" 495 depends on GPIOLIB || COMPILE_TEST 496 select SPI_BITBANG 497 help 498 This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 499 interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 500 slaves connected to a bus using this driver are configured as usual, 501 except that the spi_board_info.controller_data holds the GPIO number 502 for the chipselect used by this controller driver. 503 504 Note that this driver often won't achieve even 1 Mbit/sec speeds, 505 making it unusually slow for SPI. If your platform can inline 506 GPIO operations, you should be able to leverage that for better 507 speed with a custom version of this driver; see the source code. 508 509config SPI_IMG_SPFI 510 tristate "IMG SPFI controller" 511 depends on MIPS || COMPILE_TEST 512 help 513 This enables support for the SPFI master controller found on 514 IMG SoCs. 515 516config SPI_IMX 517 tristate "Freescale i.MX SPI controllers" 518 depends on ARCH_MXC || COMPILE_TEST 519 help 520 This enables support for the Freescale i.MX SPI controllers. 521 522config SPI_INGENIC 523 tristate "Ingenic SoCs SPI controller" 524 depends on MACH_INGENIC || COMPILE_TEST 525 help 526 This enables support for the Ingenic SoCs SPI controller. 527 528 To compile this driver as a module, choose M here: the module 529 will be called spi-ingenic. 530 531config SPI_INTEL 532 tristate 533 534config SPI_INTEL_PCI 535 tristate "Intel PCH/PCU SPI flash PCI driver" 536 depends on PCI 537 depends on X86 || COMPILE_TEST 538 depends on SPI_MEM 539 select SPI_INTEL 540 help 541 This enables PCI support for the Intel PCH/PCU SPI controller in 542 master mode. This controller is used to hold BIOS and other 543 persistent settings. Controllers present in modern Intel hardware 544 only work in hardware sequencing mode, this means that the 545 controller exposes a subset of operations that makes it safer to 546 use. Using this driver it is possible to upgrade BIOS directly 547 from Linux. 548 549 To compile this driver as a module, choose M here: the module 550 will be called spi-intel-pci. 551 552config SPI_INTEL_PLATFORM 553 tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)" 554 depends on X86 || COMPILE_TEST 555 depends on SPI_MEM 556 select SPI_INTEL 557 help 558 This enables platform support for the Intel PCH/PCU SPI 559 controller in master mode that is used to hold BIOS and other 560 persistent settings. Most of these controllers work in 561 software sequencing mode, which means that the controller 562 exposes the low level SPI-NOR opcodes to the software. Using 563 this driver it is possible to upgrade BIOS directly from Linux. 564 565 Say N here unless you know what you are doing. Overwriting the 566 SPI flash may render the system unbootable. 567 568 To compile this driver as a module, choose M here: the module 569 will be called spi-intel-platform. 570 571config SPI_JCORE 572 tristate "J-Core SPI Master" 573 depends on OF && (SUPERH || COMPILE_TEST) 574 help 575 This enables support for the SPI master controller in the J-Core 576 synthesizable, open source SoC. 577 578config SPI_KSPI2 579 tristate "Support for KEBA SPI master type 2 hardware" 580 depends on HAS_IOMEM 581 depends on KEBA_CP500 || COMPILE_TEST 582 select AUXILIARY_BUS 583 help 584 This driver supports KEBA SPI master type 2 FPGA implementation, 585 as found on CP500 devices for example. 586 587 This driver can also be built as a module. If so, the module 588 will be called spi-kspi2. 589 590config SPI_LM70_LLP 591 tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 592 depends on PARPORT 593 select SPI_BITBANG 594 help 595 This driver supports the NS LM70 LLP Evaluation Board, 596 which interfaces to an LM70 temperature sensor using 597 a parallel port. 598 599config SPI_LOONGSON_CORE 600 tristate 601 depends on LOONGARCH || COMPILE_TEST 602 603config SPI_LOONGSON_PCI 604 tristate "Loongson SPI Controller PCI Driver Support" 605 select SPI_LOONGSON_CORE 606 depends on PCI && (LOONGARCH || COMPILE_TEST) 607 help 608 This bus driver supports the Loongson SPI hardware controller in 609 the Loongson platforms and supports to use PCI framework to 610 register SPI device resources. 611 Say Y or M here if you want to use the SPI controller on 612 Loongson platform. 613 614config SPI_LOONGSON_PLATFORM 615 tristate "Loongson SPI Controller Platform Driver Support" 616 select SPI_LOONGSON_CORE 617 depends on OF && (LOONGARCH || COMPILE_TEST) 618 help 619 This bus driver supports the Loongson SPI hardware controller in 620 the Loongson platforms and supports to use DTS framework to 621 register SPI device resources. 622 Say Y or M here if you want to use the SPI controller on 623 Loongson platform. 624 625config SPI_LP8841_RTC 626 tristate "ICP DAS LP-8841 SPI Controller for RTC" 627 depends on MACH_PXA27X_DT || COMPILE_TEST 628 help 629 This driver provides an SPI master device to drive Maxim 630 DS-1302 real time clock. 631 632 Say N here unless you plan to run the kernel on an ICP DAS 633 LP-8x4x industrial computer. 634 635config SPI_MPC52xx 636 tristate "Freescale MPC52xx SPI (non-PSC) controller support" 637 depends on PPC_MPC52xx 638 help 639 This drivers supports the MPC52xx SPI controller in master SPI 640 mode. 641 642config SPI_MPC52xx_PSC 643 tristate "Freescale MPC52xx PSC SPI controller" 644 depends on PPC_MPC52xx 645 help 646 This enables using the Freescale MPC52xx Programmable Serial 647 Controller in master SPI mode. 648 649config SPI_MPC512x_PSC 650 tristate "Freescale MPC512x PSC SPI controller" 651 depends on PPC_MPC512x 652 help 653 This enables using the Freescale MPC5121 Programmable Serial 654 Controller in SPI master mode. 655 656config SPI_FSL_LIB 657 tristate 658 depends on OF 659 660config SPI_FSL_CPM 661 tristate 662 depends on FSL_SOC 663 664config SPI_FSL_SPI 665 tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 666 depends on OF 667 select SPI_FSL_LIB 668 select SPI_FSL_CPM if FSL_SOC 669 help 670 This enables using the Freescale SPI controllers in master mode. 671 MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 672 MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 673 This also enables using the Aeroflex Gaisler GRLIB SPI controller in 674 master mode. 675 676config SPI_FSL_DSPI 677 tristate "Freescale DSPI controller" 678 select REGMAP_MMIO 679 depends on ARCH_MXC || ARCH_NXP || M5441x || COMPILE_TEST 680 help 681 This enables support for the Freescale DSPI controller in master 682 mode. S32, VF610, LS1021A and ColdFire platforms uses the controller. 683 684config SPI_FSL_ESPI 685 tristate "Freescale eSPI controller" 686 depends on FSL_SOC 687 help 688 This enables using the Freescale eSPI controllers in master mode. 689 From MPC8536, 85xx platform uses the controller, and all P10xx, 690 P20xx, P30xx,P40xx, P50xx uses this controller. 691 692config SPI_LJCA 693 tristate "Intel La Jolla Cove Adapter SPI support" 694 depends on USB_LJCA 695 default USB_LJCA 696 help 697 Select this option to enable SPI driver for the Intel 698 La Jolla Cove Adapter (LJCA) board. 699 700 This driver can also be built as a module. If so, the module 701 will be called spi-ljca. 702 703config SPI_MESON_SPICC 704 tristate "Amlogic Meson SPICC controller" 705 depends on COMMON_CLK 706 depends on ARCH_MESON || COMPILE_TEST 707 help 708 This enables master mode support for the SPICC (SPI communication 709 controller) available in Amlogic Meson SoCs. 710 711config SPI_MESON_SPIFC 712 tristate "Amlogic Meson SPIFC controller" 713 depends on ARCH_MESON || COMPILE_TEST 714 select REGMAP_MMIO 715 help 716 This enables master mode support for the SPIFC (SPI flash 717 controller) available in Amlogic Meson SoCs. 718 719config SPI_MICROCHIP_CORE_QSPI 720 tristate "Microchip FPGA QSPI controllers" 721 depends on SPI_MASTER 722 help 723 This enables the QSPI driver for Microchip FPGA QSPI controllers. 724 Say Y or M here if you want to use the QSPI controllers on 725 PolarFire SoC. 726 If built as a module, it will be called spi-microchip-core-qspi. 727 728config SPI_MICROCHIP_CORE_SPI 729 tristate "Microchip FPGA CoreSPI controller" 730 depends on SPI_MASTER 731 help 732 This enables the SPI driver for Microchip FPGA CoreSPI controller. 733 Say Y or M here if you want to use the "soft" controllers on 734 PolarFire SoC. 735 If built as a module, it will be called spi-microchip-core-spi. 736 737config SPI_MT65XX 738 tristate "MediaTek SPI controller" 739 depends on ARCH_MEDIATEK || COMPILE_TEST 740 help 741 This selects the MediaTek(R) SPI bus driver. 742 If you want to use MediaTek(R) SPI interface, 743 say Y or M here.If you are not sure, say N. 744 SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 745 746config SPI_MT7621 747 tristate "MediaTek MT7621 SPI Controller" 748 depends on RALINK || COMPILE_TEST 749 help 750 This selects a driver for the MediaTek MT7621 SPI Controller. 751 752config SPI_MTK_NOR 753 tristate "MediaTek SPI NOR controller" 754 depends on ARCH_MEDIATEK || COMPILE_TEST 755 help 756 This enables support for SPI NOR controller found on MediaTek 757 ARM SoCs. This is a controller specifically for SPI NOR flash. 758 It can perform generic SPI transfers up to 6 bytes via generic 759 SPI interface as well as several SPI NOR specific instructions 760 via SPI MEM interface. 761 762config SPI_MTK_SNFI 763 tristate "MediaTek SPI NAND Flash Interface" 764 depends on ARCH_MEDIATEK || COMPILE_TEST 765 depends on MTD_NAND_ECC_MEDIATEK 766 help 767 This enables support for SPI-NAND mode on the MediaTek NAND 768 Flash Interface found on MediaTek ARM SoCs. This controller 769 is implemented as a SPI-MEM controller with pipelined ECC 770 capability. 771 772config SPI_WPCM_FIU 773 tristate "Nuvoton WPCM450 Flash Interface Unit" 774 depends on ARCH_NPCM || COMPILE_TEST 775 select REGMAP 776 help 777 This enables support got the Flash Interface Unit SPI controller 778 present in the Nuvoton WPCM450 SoC. 779 780 This driver does not support generic SPI. The implementation only 781 supports the spi-mem interface. 782 783config SPI_NPCM_FIU 784 tristate "Nuvoton NPCM FLASH Interface Unit" 785 depends on ARCH_NPCM || COMPILE_TEST 786 depends on OF && HAS_IOMEM 787 help 788 This enables support for the Flash Interface Unit SPI controller 789 in master mode. 790 This driver does not support generic SPI. The implementation only 791 supports spi-mem interface. 792 793config SPI_NPCM_PSPI 794 tristate "Nuvoton NPCM PSPI Controller" 795 depends on ARCH_NPCM || COMPILE_TEST 796 help 797 This driver provides support for Nuvoton NPCM BMC 798 Peripheral SPI controller in master mode. 799 800config SPI_LANTIQ_SSC 801 tristate "Lantiq SSC SPI controller" 802 depends on LANTIQ || X86 || COMPILE_TEST 803 help 804 This driver supports the Lantiq SSC SPI controller in master 805 mode. This controller is found on Intel (former Lantiq) SoCs like 806 the Danube, Falcon, xRX200, xRX300, Lightning Mountain. 807 808config SPI_OC_TINY 809 tristate "OpenCores tiny SPI" 810 depends on GPIOLIB || COMPILE_TEST 811 select SPI_BITBANG 812 help 813 This is the driver for OpenCores tiny SPI master controller. 814 815config SPI_OCTEON 816 tristate "Cavium OCTEON SPI controller" 817 depends on CAVIUM_OCTEON_SOC 818 help 819 SPI host driver for the hardware found on some Cavium OCTEON 820 SOCs. 821 822config SPI_OMAP_UWIRE 823 tristate "OMAP1 MicroWire" 824 depends on ARCH_OMAP1 || (ARM && COMPILE_TEST) 825 select SPI_BITBANG 826 help 827 This hooks up to the MicroWire controller on OMAP1 chips. 828 829config SPI_OMAP24XX 830 tristate "McSPI driver for OMAP" 831 depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST 832 select SG_SPLIT 833 help 834 SPI master controller for OMAP24XX and later Multichannel SPI 835 (McSPI) modules. 836 837config SPI_TI_QSPI 838 tristate "DRA7xxx QSPI controller support" 839 depends on ARCH_OMAP2PLUS || COMPILE_TEST 840 help 841 QSPI master controller for DRA7xxx used for flash devices. 842 This device supports single, dual and quad read support, while 843 it only supports single write mode. 844 845config SPI_ORION 846 tristate "Orion SPI master" 847 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 848 help 849 This enables using the SPI master controller on the Orion 850 and MVEBU chips. 851 852config SPI_PCI1XXXX 853 tristate "PCI1XXXX SPI Bus support" 854 depends on PCI 855 help 856 Say "yes" to Enable the SPI Bus support for the PCI1xxxx card 857 This is a PCI to SPI Bus driver 858 This driver can be built as module. If so, the module will be 859 called as spi-pci1xxxx. 860 861config SPI_PIC32 862 tristate "Microchip PIC32 series SPI" 863 depends on MACH_PIC32 || COMPILE_TEST 864 help 865 SPI driver for Microchip PIC32 SPI master controller. 866 867config SPI_PIC32_SQI 868 tristate "Microchip PIC32 Quad SPI driver" 869 depends on MACH_PIC32 || COMPILE_TEST 870 help 871 SPI driver for PIC32 Quad SPI controller. 872 873config SPI_PL022 874 tristate "ARM AMBA PL022 SSP controller" 875 depends on ARM_AMBA 876 default y if ARCH_REALVIEW 877 default y if INTEGRATOR_IMPD1 878 default y if ARCH_VERSATILE 879 help 880 This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 881 controller. If you have an embedded system with an AMBA(R) 882 bus and a PL022 controller, say Y or M here. 883 884config SPI_POLARFIRE_SOC 885 tristate "Microchip FPGA SPI controllers" 886 depends on SPI_MASTER 887 depends on ARCH_MICROCHIP || COMPILE_TEST 888 help 889 This enables the SPI driver for Microchip FPGA SPI controllers. 890 Say Y or M here if you want to use the "hard" controllers on 891 PolarFire SoC. 892 If built as a module, it will be called spi-mpfs. 893 894config SPI_PPC4xx 895 tristate "PPC4xx SPI Controller" 896 depends on PPC32 && 4xx 897 select SPI_BITBANG 898 help 899 This selects a driver for the PPC4xx SPI Controller. 900 901config SPI_PXA2XX 902 tristate "PXA2xx SSP SPI master" 903 depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST 904 select PXA_SSP if ARCH_PXA || ARCH_MMP 905 help 906 This enables using a PXA2xx or Sodaville SSP port as a SPI master 907 controller. The driver can be configured to use any SSP port. 908 909config SPI_PXA2XX_PCI 910 def_tristate SPI_PXA2XX && PCI && COMMON_CLK 911 912config SPI_REALTEK_SNAND 913 tristate "Realtek SPI-NAND Flash Controller" 914 depends on MACH_REALTEK_RTL || COMPILE_TEST 915 select REGMAP 916 help 917 This enables support for the SPI-NAND Flash controller on 918 Realtek SoCs. 919 920 This driver does not support generic SPI. The implementation 921 only supports the spi-mem interface. 922 923config SPI_ROCKCHIP 924 tristate "Rockchip SPI controller driver" 925 depends on ARCH_ROCKCHIP || COMPILE_TEST 926 help 927 This selects a driver for Rockchip SPI controller. 928 929 If you say yes to this option, support will be included for 930 RK3066, RK3188 and RK3288 families of SPI controller. 931 Rockchip SPI controller support DMA transport and PIO mode. 932 The main usecase of this controller is to use spi flash as boot 933 device. 934 935config SPI_ROCKCHIP_SFC 936 tristate "Rockchip Serial Flash Controller (SFC)" 937 depends on ARCH_ROCKCHIP || COMPILE_TEST 938 depends on HAS_IOMEM && HAS_DMA 939 help 940 This enables support for Rockchip serial flash controller. This 941 is a specialized controller used to access SPI flash on some 942 Rockchip SOCs. 943 944 ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available, 945 the driver automatically falls back to PIO mode. 946 947config SPI_RB4XX 948 tristate "Mikrotik RB4XX SPI master" 949 depends on SPI_MASTER && (ATH79 || COMPILE_TEST) 950 depends on OF 951 help 952 SPI controller driver for the Mikrotik RB4xx series boards. 953 954config SPI_RPCIF 955 tristate "Renesas RPC-IF SPI driver" 956 depends on RENESAS_RPCIF 957 help 958 SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF. 959 960config SPI_RSPI 961 tristate "Renesas RSPI/QSPI controller" 962 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 963 help 964 SPI driver for Renesas RSPI and QSPI blocks. 965 966config SPI_RZV2H_RSPI 967 tristate "Renesas RZ/V2H RSPI controller" 968 depends on ARCH_RENESAS || COMPILE_TEST 969 help 970 RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI). 971 RSPI supports both SPI host and SPI target roles. This option only 972 enables the SPI host role. 973 974config SPI_RZV2M_CSI 975 tristate "Renesas RZ/V2M CSI controller" 976 depends on ARCH_RENESAS || COMPILE_TEST 977 help 978 SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI). 979 CSI supports both SPI host and SPI target roles. 980 981config SPI_QCOM_QSPI 982 tristate "QTI QSPI controller" 983 depends on ARCH_QCOM || COMPILE_TEST 984 help 985 QSPI(Quad SPI) driver for Qualcomm QSPI controller. 986 987config SPI_QPIC_SNAND 988 tristate "QPIC SNAND controller" 989 depends on ARCH_QCOM || COMPILE_TEST 990 depends on MTD 991 help 992 QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller. 993 QPIC controller supports both parallel nand and serial nand. 994 This config will enable serial nand driver for QPIC controller. 995 996config SPI_QUP 997 tristate "Qualcomm SPI controller with QUP interface" 998 depends on ARCH_QCOM || COMPILE_TEST 999 help 1000 Qualcomm Universal Peripheral (QUP) core is an AHB slave that 1001 provides a common data path (an output FIFO and an input FIFO) 1002 for serial peripheral interface (SPI) mini-core. SPI in master 1003 mode supports up to 50MHz, up to four chip selects, programmable 1004 data path from 4 bits to 32 bits and numerous protocol variants. 1005 1006 This driver can also be built as a module. If so, the module 1007 will be called spi_qup. 1008 1009config SPI_QCOM_GENI 1010 tristate "Qualcomm GENI based SPI controller" 1011 depends on QCOM_GENI_SE 1012 help 1013 This driver supports GENI serial engine based SPI controller in 1014 master mode on the Qualcomm Technologies Inc.'s SoCs. If you say 1015 yes to this option, support will be included for the built-in SPI 1016 interface on the Qualcomm Technologies Inc.'s SoCs. 1017 1018 This driver can also be built as a module. If so, the module 1019 will be called spi-geni-qcom. 1020 1021config SPI_S3C64XX 1022 tristate "Samsung S3C64XX/Exynos SoC series type SPI" 1023 depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST) 1024 help 1025 SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs. 1026 Choose Y/M here only if you build for such Samsung SoC. 1027 1028config SPI_SC18IS602 1029 tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 1030 depends on I2C 1031 help 1032 SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 1033 1034config SPI_SH_MSIOF 1035 tristate "SuperH MSIOF SPI controller" 1036 depends on HAVE_CLK 1037 depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 1038 help 1039 SPI driver for SuperH and SH Mobile MSIOF blocks. 1040 1041config SPI_SH 1042 tristate "SuperH SPI controller" 1043 depends on SUPERH || COMPILE_TEST 1044 help 1045 SPI driver for SuperH SPI blocks. 1046 1047config SPI_SH_SCI 1048 tristate "SuperH SCI SPI controller" 1049 depends on SUPERH 1050 select SPI_BITBANG 1051 help 1052 SPI driver for SuperH SCI blocks. 1053 1054config SPI_SH_HSPI 1055 tristate "SuperH HSPI controller" 1056 depends on ARCH_RENESAS || COMPILE_TEST 1057 help 1058 SPI driver for SuperH HSPI blocks. 1059 1060config SPI_SIFIVE 1061 tristate "SiFive SPI controller" 1062 depends on HAS_IOMEM 1063 help 1064 This exposes the SPI controller IP from SiFive. 1065 1066config SPI_SLAVE_MT27XX 1067 tristate "MediaTek SPI slave device" 1068 depends on ARCH_MEDIATEK || COMPILE_TEST 1069 depends on SPI_SLAVE 1070 help 1071 This selects the MediaTek(R) SPI slave device driver. 1072 If you want to use MediaTek(R) SPI slave interface, 1073 say Y or M here.If you are not sure, say N. 1074 SPI slave drivers for Mediatek MT27XX series ARM SoCs. 1075 1076config SPI_SN_F_OSPI 1077 tristate "Socionext F_OSPI SPI flash controller" 1078 depends on OF && HAS_IOMEM 1079 depends on SPI_MEM 1080 help 1081 This enables support for the Socionext F_OSPI controller 1082 for connecting an SPI Flash memory over up to 8-bit wide bus. 1083 It supports indirect access mode only. 1084 1085config SPI_SG2044_NOR 1086 tristate "SG2044 SPI NOR Controller" 1087 depends on ARCH_SOPHGO || COMPILE_TEST 1088 help 1089 This enables support for the SG2044 SPI NOR controller, 1090 which supports Dual/Quad read and write operations while 1091 also supporting 3Byte address devices and 4Byte address 1092 devices. 1093 1094config SPI_SPRD 1095 tristate "Spreadtrum SPI controller" 1096 depends on ARCH_SPRD || COMPILE_TEST 1097 help 1098 SPI driver for Spreadtrum SoCs. 1099 1100config SPI_SPRD_ADI 1101 tristate "Spreadtrum ADI controller" 1102 depends on ARCH_SPRD || COMPILE_TEST 1103 depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 1104 help 1105 ADI driver based on SPI for Spreadtrum SoCs. 1106 1107config SPI_STM32 1108 tristate "STMicroelectronics STM32 SPI controller" 1109 depends on ARCH_STM32 || COMPILE_TEST 1110 select SPI_SLAVE 1111 help 1112 SPI driver for STMicroelectronics STM32 SoCs. 1113 1114 STM32 SPI controller supports DMA and PIO modes. When DMA 1115 is not available, the driver automatically falls back to 1116 PIO mode. 1117 1118config SPI_STM32_OSPI 1119 tristate "STMicroelectronics STM32 OCTO SPI controller" 1120 depends on ARCH_STM32 || COMPILE_TEST 1121 depends on OF 1122 depends on SPI_MEM 1123 help 1124 This enables support for the Octo SPI controller in master mode. 1125 This driver does not support generic SPI. The implementation only 1126 supports spi-mem interface. 1127 1128config SPI_STM32_QSPI 1129 tristate "STMicroelectronics STM32 QUAD SPI controller" 1130 depends on ARCH_STM32 || COMPILE_TEST 1131 depends on OF 1132 depends on SPI_MEM 1133 help 1134 This enables support for the Quad SPI controller in master mode. 1135 This driver does not support generic SPI. The implementation only 1136 supports spi-mem interface. 1137 1138config SPI_ST_SSC4 1139 tristate "STMicroelectronics SPI SSC-based driver" 1140 depends on ARCH_STI || COMPILE_TEST 1141 help 1142 STMicroelectronics SoCs support for SPI. If you say yes to 1143 this option, support will be included for the SSC driven SPI. 1144 1145config SPI_SUN4I 1146 tristate "Allwinner A10 SoCs SPI controller" 1147 depends on ARCH_SUNXI || COMPILE_TEST 1148 help 1149 SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 1150 1151config SPI_SUN6I 1152 tristate "Allwinner A31 SPI controller" 1153 depends on ARCH_SUNXI || COMPILE_TEST 1154 depends on RESET_CONTROLLER 1155 help 1156 This enables using the SPI controller on the Allwinner A31 SoCs. 1157 1158config SPI_SUNPLUS_SP7021 1159 tristate "Sunplus SP7021 SPI controller" 1160 depends on SOC_SP7021 || COMPILE_TEST 1161 help 1162 This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs. 1163 This driver can also be built as a module. If so, the module will be 1164 called as spi-sunplus-sp7021. 1165 1166 If you have a Sunplus SP7021 platform say Y here. 1167 If unsure, say N. 1168 1169config SPI_SYNQUACER 1170 tristate "Socionext's SynQuacer HighSpeed SPI controller" 1171 depends on ARCH_SYNQUACER || COMPILE_TEST 1172 help 1173 SPI driver for Socionext's High speed SPI controller which provides 1174 various operating modes for interfacing to serial peripheral devices 1175 that use the de-facto standard SPI protocol. 1176 1177 It also supports the new dual-bit and quad-bit SPI protocol. 1178 1179config SPI_MXIC 1180 tristate "Macronix MX25F0A SPI controller" 1181 depends on SPI_MASTER 1182 imply MTD_NAND_ECC_MXIC 1183 help 1184 This selects the Macronix MX25F0A SPI controller driver. 1185 1186config SPI_MXS 1187 tristate "Freescale MXS SPI controller" 1188 depends on ARCH_MXS 1189 select STMP_DEVICE 1190 help 1191 SPI driver for Freescale MXS devices. 1192 1193config SPI_TEGRA210_QUAD 1194 tristate "NVIDIA Tegra QSPI Controller" 1195 depends on ARCH_TEGRA || COMPILE_TEST 1196 depends on RESET_CONTROLLER 1197 help 1198 QSPI driver for NVIDIA Tegra QSPI Controller interface. This 1199 controller is different from the SPI controller and is available 1200 on Tegra SoCs starting from Tegra210. 1201 1202config SPI_TEGRA114 1203 tristate "NVIDIA Tegra114 SPI Controller" 1204 depends on ARCH_TEGRA || COMPILE_TEST 1205 depends on RESET_CONTROLLER 1206 help 1207 SPI controller driver for NVIDIA Tegra114 and later SoCs. This controller 1208 is different than the older SoCs SPI controller and also register interface 1209 get changed with this controller. 1210 1211config SPI_TEGRA20_SFLASH 1212 tristate "Nvidia Tegra20 Serial flash Controller" 1213 depends on ARCH_TEGRA || COMPILE_TEST 1214 depends on RESET_CONTROLLER 1215 help 1216 SPI driver for Nvidia Tegra20 Serial flash Controller interface. 1217 The main usecase of this controller is to use spi flash as boot 1218 device. 1219 1220config SPI_TEGRA20_SLINK 1221 tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 1222 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 1223 depends on RESET_CONTROLLER 1224 help 1225 SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 1226 1227config SPI_THUNDERX 1228 tristate "Cavium ThunderX SPI controller" 1229 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 1230 help 1231 SPI host driver for the hardware found on Cavium ThunderX 1232 SOCs. 1233 1234config SPI_TOPCLIFF_PCH 1235 tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 1236 depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 1237 help 1238 SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 1239 used in some x86 embedded processors. 1240 1241 This driver also supports the ML7213/ML7223/ML7831, a companion chip 1242 for the Atom E6xx series and compatible with the Intel EG20T PCH. 1243 1244config SPI_UNIPHIER 1245 tristate "Socionext UniPhier SPI Controller" 1246 depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 1247 depends on HAS_IOMEM 1248 help 1249 This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 1250 1251 UniPhier SoCs have SCSSI and MCSSI SPI controllers. 1252 Every UniPhier SoC has SCSSI which supports single channel. 1253 Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 1254 This driver supports SCSSI only. 1255 1256 If your SoC supports SCSSI, say Y here. 1257 1258config SPI_VIRTIO 1259 tristate "Virtio SPI Controller" 1260 depends on SPI_MASTER && VIRTIO 1261 help 1262 If you say yes to this option, support will be included for the virtio 1263 SPI controller driver. The hardware can be emulated by any device model 1264 software according to the virtio protocol. 1265 1266 This driver can also be built as a module. If so, the module 1267 will be called spi-virtio. 1268 1269config SPI_XCOMM 1270 tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 1271 depends on I2C 1272 help 1273 Support for the SPI-I2C bridge found on the Analog Devices 1274 AD-FMCOMMS1-EBZ board. 1275 1276config SPI_XILINX 1277 tristate "Xilinx SPI controller common module" 1278 depends on HAS_IOMEM 1279 select SPI_BITBANG 1280 help 1281 This exposes the SPI controller IP from the Xilinx EDK. 1282 1283 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 1284 Product Specification document (DS464) for hardware details. 1285 1286 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 1287 1288config SPI_XLP 1289 tristate "Cavium ThunderX2 SPI controller driver" 1290 depends on ARCH_THUNDER2 || COMPILE_TEST 1291 help 1292 Enable support for the SPI controller on the Cavium ThunderX2. 1293 (Originally on Netlogic XLP SoCs.) 1294 1295 If you have a Cavium ThunderX2 platform say Y here. 1296 If unsure, say N. 1297 1298config SPI_XTENSA_XTFPGA 1299 tristate "Xtensa SPI controller for xtfpga" 1300 depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 1301 select SPI_BITBANG 1302 help 1303 SPI driver for xtfpga SPI master controller. 1304 1305 This simple SPI master controller is built into xtfpga bitstreams 1306 and is used to control daughterboard audio codec. It always transfers 1307 16 bit words in SPI mode 0, automatically asserting CS on transfer 1308 start and deasserting on end. 1309 1310config SPI_ZYNQ_QSPI 1311 tristate "Xilinx Zynq QSPI controller" 1312 depends on ARCH_ZYNQ || COMPILE_TEST 1313 depends on SPI_MEM 1314 help 1315 This enables support for the Zynq Quad SPI controller 1316 in master mode. 1317 This controller only supports SPI memory interface. 1318 1319config SPI_ZYNQMP_GQSPI 1320 tristate "Xilinx ZynqMP GQSPI controller" 1321 depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST 1322 help 1323 Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 1324 This controller only supports SPI memory interface. 1325 1326config SPI_AMD 1327 tristate "AMD SPI controller" 1328 depends on PCI 1329 depends on SPI_MASTER || X86 || COMPILE_TEST 1330 depends on SPI_MEM 1331 help 1332 Enables SPI controller driver for AMD SoC. 1333 1334# 1335# Add new SPI master controllers in alphabetical order above this line 1336# 1337 1338comment "SPI Multiplexer support" 1339 1340config SPI_MUX 1341 tristate "SPI multiplexer support" 1342 select MULTIPLEXER 1343 help 1344 This adds support for SPI multiplexers. Each SPI mux will be 1345 accessible as a SPI controller, the devices behind the mux will appear 1346 to be chip selects on this controller. It is still necessary to 1347 select one or more specific mux-controller drivers. 1348 1349# 1350# There are lots of SPI device types, with sensors and memory 1351# being probably the most widely used ones. 1352# 1353comment "SPI Protocol Masters" 1354 1355config SPI_SPIDEV 1356 tristate "User mode SPI device driver support" 1357 help 1358 This supports user mode SPI protocol drivers. 1359 1360config SPI_LOOPBACK_TEST 1361 tristate "spi loopback test framework support" 1362 depends on m 1363 help 1364 This enables the SPI loopback testing framework driver 1365 1366 primarily used for development of spi_master drivers 1367 and to detect regressions 1368 1369config SPI_TLE62X0 1370 tristate "Infineon TLE62X0 (for power switching)" 1371 depends on SYSFS 1372 help 1373 SPI driver for Infineon TLE62X0 series line driver chips, 1374 such as the TLE6220, TLE6230 and TLE6240. This provides a 1375 sysfs interface, with each line presented as a kind of GPIO 1376 exposing both switch control and diagnostic feedback. 1377 1378# 1379# Add new SPI protocol masters in alphabetical order above this line 1380# 1381 1382endif # SPI_MASTER 1383 1384# 1385# SLAVE side ... listening to other SPI masters 1386# 1387 1388config SPI_SLAVE 1389 bool "SPI slave protocol handlers" 1390 help 1391 If your system has a slave-capable SPI controller, you can enable 1392 slave protocol handlers. 1393 1394if SPI_SLAVE 1395 1396config SPI_SLAVE_TIME 1397 tristate "SPI slave handler reporting boot up time" 1398 help 1399 SPI slave handler responding with the time of reception of the last 1400 SPI message. 1401 1402config SPI_SLAVE_SYSTEM_CONTROL 1403 tristate "SPI slave handler controlling system state" 1404 help 1405 SPI slave handler to allow remote control of system reboot, power 1406 off, halt, and suspend. 1407 1408endif # SPI_SLAVE 1409 1410config SPI_DYNAMIC 1411 def_bool ACPI || OF_DYNAMIC || SPI_SLAVE 1412 1413if SPI_OFFLOAD 1414 1415comment "SPI Offload triggers" 1416 1417config SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD 1418 tristate "SPI offload trigger using ADI sigma-delta utility" 1419 help 1420 SPI offload trigger from ADI sigma-delta utility FPGA IP block. 1421 1422config SPI_OFFLOAD_TRIGGER_PWM 1423 tristate "SPI offload trigger using PWM" 1424 depends on PWM 1425 help 1426 Generic SPI offload trigger implemented using PWM output. 1427 1428endif # SPI_OFFLOAD 1429 1430endif # SPI 1431