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