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_MICROCHIP || 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 || COMPILE_TEST) 930 depends on OF 931 help 932 SPI controller driver for the Mikrotik RB4xx series boards. 933 934config SPI_RPCIF 935 tristate "Renesas RPC-IF SPI driver" 936 depends on RENESAS_RPCIF 937 help 938 SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF. 939 940config SPI_RSPI 941 tristate "Renesas RSPI/QSPI controller" 942 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 943 help 944 SPI driver for Renesas RSPI and QSPI blocks. 945 946config SPI_RZV2H_RSPI 947 tristate "Renesas RZ/V2H RSPI controller" 948 depends on ARCH_RENESAS || COMPILE_TEST 949 help 950 RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI). 951 RSPI supports both SPI host and SPI target roles. This option only 952 enables the SPI host role. 953 954config SPI_RZV2M_CSI 955 tristate "Renesas RZ/V2M CSI controller" 956 depends on ARCH_RENESAS || COMPILE_TEST 957 help 958 SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI). 959 CSI supports both SPI host and SPI target roles. 960 961config SPI_QCOM_QSPI 962 tristate "QTI QSPI controller" 963 depends on ARCH_QCOM || COMPILE_TEST 964 help 965 QSPI(Quad SPI) driver for Qualcomm QSPI controller. 966 967config SPI_QPIC_SNAND 968 tristate "QPIC SNAND controller" 969 depends on ARCH_QCOM || COMPILE_TEST 970 depends on MTD 971 help 972 QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller. 973 QPIC controller supports both parallel nand and serial nand. 974 This config will enable serial nand driver for QPIC controller. 975 976config SPI_QUP 977 tristate "Qualcomm SPI controller with QUP interface" 978 depends on ARCH_QCOM || COMPILE_TEST 979 help 980 Qualcomm Universal Peripheral (QUP) core is an AHB slave that 981 provides a common data path (an output FIFO and an input FIFO) 982 for serial peripheral interface (SPI) mini-core. SPI in master 983 mode supports up to 50MHz, up to four chip selects, programmable 984 data path from 4 bits to 32 bits and numerous protocol variants. 985 986 This driver can also be built as a module. If so, the module 987 will be called spi_qup. 988 989config SPI_QCOM_GENI 990 tristate "Qualcomm GENI based SPI controller" 991 depends on QCOM_GENI_SE 992 help 993 This driver supports GENI serial engine based SPI controller in 994 master mode on the Qualcomm Technologies Inc.'s SoCs. If you say 995 yes to this option, support will be included for the built-in SPI 996 interface on the Qualcomm Technologies Inc.'s SoCs. 997 998 This driver can also be built as a module. If so, the module 999 will be called spi-geni-qcom. 1000 1001config SPI_S3C64XX 1002 tristate "Samsung S3C64XX/Exynos SoC series type SPI" 1003 depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST) 1004 help 1005 SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs. 1006 Choose Y/M here only if you build for such Samsung SoC. 1007 1008config SPI_SC18IS602 1009 tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 1010 depends on I2C 1011 help 1012 SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 1013 1014config SPI_SH_MSIOF 1015 tristate "SuperH MSIOF SPI controller" 1016 depends on HAVE_CLK 1017 depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 1018 help 1019 SPI driver for SuperH and SH Mobile MSIOF blocks. 1020 1021config SPI_SH 1022 tristate "SuperH SPI controller" 1023 depends on SUPERH || COMPILE_TEST 1024 help 1025 SPI driver for SuperH SPI blocks. 1026 1027config SPI_SH_SCI 1028 tristate "SuperH SCI SPI controller" 1029 depends on SUPERH 1030 select SPI_BITBANG 1031 help 1032 SPI driver for SuperH SCI blocks. 1033 1034config SPI_SH_HSPI 1035 tristate "SuperH HSPI controller" 1036 depends on ARCH_RENESAS || COMPILE_TEST 1037 help 1038 SPI driver for SuperH HSPI blocks. 1039 1040config SPI_SIFIVE 1041 tristate "SiFive SPI controller" 1042 depends on HAS_IOMEM 1043 help 1044 This exposes the SPI controller IP from SiFive. 1045 1046config SPI_SLAVE_MT27XX 1047 tristate "MediaTek SPI slave device" 1048 depends on ARCH_MEDIATEK || COMPILE_TEST 1049 depends on SPI_SLAVE 1050 help 1051 This selects the MediaTek(R) SPI slave device driver. 1052 If you want to use MediaTek(R) SPI slave interface, 1053 say Y or M here.If you are not sure, say N. 1054 SPI slave drivers for Mediatek MT27XX series ARM SoCs. 1055 1056config SPI_SN_F_OSPI 1057 tristate "Socionext F_OSPI SPI flash controller" 1058 depends on OF && HAS_IOMEM 1059 depends on SPI_MEM 1060 help 1061 This enables support for the Socionext F_OSPI controller 1062 for connecting an SPI Flash memory over up to 8-bit wide bus. 1063 It supports indirect access mode only. 1064 1065config SPI_SG2044_NOR 1066 tristate "SG2044 SPI NOR Controller" 1067 depends on ARCH_SOPHGO || COMPILE_TEST 1068 help 1069 This enables support for the SG2044 SPI NOR controller, 1070 which supports Dual/Quad read and write operations while 1071 also supporting 3Byte address devices and 4Byte address 1072 devices. 1073 1074config SPI_SPRD 1075 tristate "Spreadtrum SPI controller" 1076 depends on ARCH_SPRD || COMPILE_TEST 1077 help 1078 SPI driver for Spreadtrum SoCs. 1079 1080config SPI_SPRD_ADI 1081 tristate "Spreadtrum ADI controller" 1082 depends on ARCH_SPRD || COMPILE_TEST 1083 depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 1084 help 1085 ADI driver based on SPI for Spreadtrum SoCs. 1086 1087config SPI_STM32 1088 tristate "STMicroelectronics STM32 SPI controller" 1089 depends on ARCH_STM32 || COMPILE_TEST 1090 select SPI_SLAVE 1091 help 1092 SPI driver for STMicroelectronics STM32 SoCs. 1093 1094 STM32 SPI controller supports DMA and PIO modes. When DMA 1095 is not available, the driver automatically falls back to 1096 PIO mode. 1097 1098config SPI_STM32_OSPI 1099 tristate "STMicroelectronics STM32 OCTO SPI controller" 1100 depends on ARCH_STM32 || COMPILE_TEST 1101 depends on OF 1102 depends on SPI_MEM 1103 help 1104 This enables support for the Octo SPI controller in master mode. 1105 This driver does not support generic SPI. The implementation only 1106 supports spi-mem interface. 1107 1108config SPI_STM32_QSPI 1109 tristate "STMicroelectronics STM32 QUAD SPI controller" 1110 depends on ARCH_STM32 || COMPILE_TEST 1111 depends on OF 1112 depends on SPI_MEM 1113 help 1114 This enables support for the Quad SPI controller in master mode. 1115 This driver does not support generic SPI. The implementation only 1116 supports spi-mem interface. 1117 1118config SPI_ST_SSC4 1119 tristate "STMicroelectronics SPI SSC-based driver" 1120 depends on ARCH_STI || COMPILE_TEST 1121 help 1122 STMicroelectronics SoCs support for SPI. If you say yes to 1123 this option, support will be included for the SSC driven SPI. 1124 1125config SPI_SUN4I 1126 tristate "Allwinner A10 SoCs SPI controller" 1127 depends on ARCH_SUNXI || COMPILE_TEST 1128 help 1129 SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 1130 1131config SPI_SUN6I 1132 tristate "Allwinner A31 SPI controller" 1133 depends on ARCH_SUNXI || COMPILE_TEST 1134 depends on RESET_CONTROLLER 1135 help 1136 This enables using the SPI controller on the Allwinner A31 SoCs. 1137 1138config SPI_SUNPLUS_SP7021 1139 tristate "Sunplus SP7021 SPI controller" 1140 depends on SOC_SP7021 || COMPILE_TEST 1141 help 1142 This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs. 1143 This driver can also be built as a module. If so, the module will be 1144 called as spi-sunplus-sp7021. 1145 1146 If you have a Sunplus SP7021 platform say Y here. 1147 If unsure, say N. 1148 1149config SPI_SYNQUACER 1150 tristate "Socionext's SynQuacer HighSpeed SPI controller" 1151 depends on ARCH_SYNQUACER || COMPILE_TEST 1152 help 1153 SPI driver for Socionext's High speed SPI controller which provides 1154 various operating modes for interfacing to serial peripheral devices 1155 that use the de-facto standard SPI protocol. 1156 1157 It also supports the new dual-bit and quad-bit SPI protocol. 1158 1159config SPI_MXIC 1160 tristate "Macronix MX25F0A SPI controller" 1161 depends on SPI_MASTER 1162 imply MTD_NAND_ECC_MXIC 1163 help 1164 This selects the Macronix MX25F0A SPI controller driver. 1165 1166config SPI_MXS 1167 tristate "Freescale MXS SPI controller" 1168 depends on ARCH_MXS 1169 select STMP_DEVICE 1170 help 1171 SPI driver for Freescale MXS devices. 1172 1173config SPI_TEGRA210_QUAD 1174 tristate "NVIDIA Tegra QSPI Controller" 1175 depends on ARCH_TEGRA || COMPILE_TEST 1176 depends on RESET_CONTROLLER 1177 help 1178 QSPI driver for NVIDIA Tegra QSPI Controller interface. This 1179 controller is different from the SPI controller and is available 1180 on Tegra SoCs starting from Tegra210. 1181 1182config SPI_TEGRA114 1183 tristate "NVIDIA Tegra114 SPI Controller" 1184 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 1185 depends on RESET_CONTROLLER 1186 help 1187 SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 1188 is different than the older SoCs SPI controller and also register interface 1189 get changed with this controller. 1190 1191config SPI_TEGRA20_SFLASH 1192 tristate "Nvidia Tegra20 Serial flash Controller" 1193 depends on ARCH_TEGRA || COMPILE_TEST 1194 depends on RESET_CONTROLLER 1195 help 1196 SPI driver for Nvidia Tegra20 Serial flash Controller interface. 1197 The main usecase of this controller is to use spi flash as boot 1198 device. 1199 1200config SPI_TEGRA20_SLINK 1201 tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 1202 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 1203 depends on RESET_CONTROLLER 1204 help 1205 SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 1206 1207config SPI_THUNDERX 1208 tristate "Cavium ThunderX SPI controller" 1209 depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 1210 help 1211 SPI host driver for the hardware found on Cavium ThunderX 1212 SOCs. 1213 1214config SPI_TOPCLIFF_PCH 1215 tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 1216 depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 1217 help 1218 SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 1219 used in some x86 embedded processors. 1220 1221 This driver also supports the ML7213/ML7223/ML7831, a companion chip 1222 for the Atom E6xx series and compatible with the Intel EG20T PCH. 1223 1224config SPI_UNIPHIER 1225 tristate "Socionext UniPhier SPI Controller" 1226 depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 1227 depends on HAS_IOMEM 1228 help 1229 This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 1230 1231 UniPhier SoCs have SCSSI and MCSSI SPI controllers. 1232 Every UniPhier SoC has SCSSI which supports single channel. 1233 Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 1234 This driver supports SCSSI only. 1235 1236 If your SoC supports SCSSI, say Y here. 1237 1238config SPI_VIRTIO 1239 tristate "Virtio SPI Controller" 1240 depends on SPI_MASTER && VIRTIO 1241 help 1242 If you say yes to this option, support will be included for the virtio 1243 SPI controller driver. The hardware can be emulated by any device model 1244 software according to the virtio protocol. 1245 1246 This driver can also be built as a module. If so, the module 1247 will be called spi-virtio. 1248 1249config SPI_XCOMM 1250 tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 1251 depends on I2C 1252 help 1253 Support for the SPI-I2C bridge found on the Analog Devices 1254 AD-FMCOMMS1-EBZ board. 1255 1256config SPI_XILINX 1257 tristate "Xilinx SPI controller common module" 1258 depends on HAS_IOMEM 1259 select SPI_BITBANG 1260 help 1261 This exposes the SPI controller IP from the Xilinx EDK. 1262 1263 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 1264 Product Specification document (DS464) for hardware details. 1265 1266 Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 1267 1268config SPI_XLP 1269 tristate "Cavium ThunderX2 SPI controller driver" 1270 depends on ARCH_THUNDER2 || COMPILE_TEST 1271 help 1272 Enable support for the SPI controller on the Cavium ThunderX2. 1273 (Originally on Netlogic XLP SoCs.) 1274 1275 If you have a Cavium ThunderX2 platform say Y here. 1276 If unsure, say N. 1277 1278config SPI_XTENSA_XTFPGA 1279 tristate "Xtensa SPI controller for xtfpga" 1280 depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 1281 select SPI_BITBANG 1282 help 1283 SPI driver for xtfpga SPI master controller. 1284 1285 This simple SPI master controller is built into xtfpga bitstreams 1286 and is used to control daughterboard audio codec. It always transfers 1287 16 bit words in SPI mode 0, automatically asserting CS on transfer 1288 start and deasserting on end. 1289 1290config SPI_ZYNQ_QSPI 1291 tristate "Xilinx Zynq QSPI controller" 1292 depends on ARCH_ZYNQ || COMPILE_TEST 1293 depends on SPI_MEM 1294 help 1295 This enables support for the Zynq Quad SPI controller 1296 in master mode. 1297 This controller only supports SPI memory interface. 1298 1299config SPI_ZYNQMP_GQSPI 1300 tristate "Xilinx ZynqMP GQSPI controller" 1301 depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST 1302 help 1303 Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 1304 This controller only supports SPI memory interface. 1305 1306config SPI_AMD 1307 tristate "AMD SPI controller" 1308 depends on PCI 1309 depends on SPI_MASTER || X86 || COMPILE_TEST 1310 depends on SPI_MEM 1311 help 1312 Enables SPI controller driver for AMD SoC. 1313 1314# 1315# Add new SPI master controllers in alphabetical order above this line 1316# 1317 1318comment "SPI Multiplexer support" 1319 1320config SPI_MUX 1321 tristate "SPI multiplexer support" 1322 select MULTIPLEXER 1323 help 1324 This adds support for SPI multiplexers. Each SPI mux will be 1325 accessible as a SPI controller, the devices behind the mux will appear 1326 to be chip selects on this controller. It is still necessary to 1327 select one or more specific mux-controller drivers. 1328 1329# 1330# There are lots of SPI device types, with sensors and memory 1331# being probably the most widely used ones. 1332# 1333comment "SPI Protocol Masters" 1334 1335config SPI_SPIDEV 1336 tristate "User mode SPI device driver support" 1337 help 1338 This supports user mode SPI protocol drivers. 1339 1340config SPI_LOOPBACK_TEST 1341 tristate "spi loopback test framework support" 1342 depends on m 1343 help 1344 This enables the SPI loopback testing framework driver 1345 1346 primarily used for development of spi_master drivers 1347 and to detect regressions 1348 1349config SPI_TLE62X0 1350 tristate "Infineon TLE62X0 (for power switching)" 1351 depends on SYSFS 1352 help 1353 SPI driver for Infineon TLE62X0 series line driver chips, 1354 such as the TLE6220, TLE6230 and TLE6240. This provides a 1355 sysfs interface, with each line presented as a kind of GPIO 1356 exposing both switch control and diagnostic feedback. 1357 1358# 1359# Add new SPI protocol masters in alphabetical order above this line 1360# 1361 1362endif # SPI_MASTER 1363 1364# 1365# SLAVE side ... listening to other SPI masters 1366# 1367 1368config SPI_SLAVE 1369 bool "SPI slave protocol handlers" 1370 help 1371 If your system has a slave-capable SPI controller, you can enable 1372 slave protocol handlers. 1373 1374if SPI_SLAVE 1375 1376config SPI_SLAVE_TIME 1377 tristate "SPI slave handler reporting boot up time" 1378 help 1379 SPI slave handler responding with the time of reception of the last 1380 SPI message. 1381 1382config SPI_SLAVE_SYSTEM_CONTROL 1383 tristate "SPI slave handler controlling system state" 1384 help 1385 SPI slave handler to allow remote control of system reboot, power 1386 off, halt, and suspend. 1387 1388endif # SPI_SLAVE 1389 1390config SPI_DYNAMIC 1391 def_bool ACPI || OF_DYNAMIC || SPI_SLAVE 1392 1393if SPI_OFFLOAD 1394 1395comment "SPI Offload triggers" 1396 1397config SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD 1398 tristate "SPI offload trigger using ADI sigma-delta utility" 1399 help 1400 SPI offload trigger from ADI sigma-delta utility FPGA IP block. 1401 1402config SPI_OFFLOAD_TRIGGER_PWM 1403 tristate "SPI offload trigger using PWM" 1404 depends on PWM 1405 help 1406 Generic SPI offload trigger implemented using PWM output. 1407 1408endif # SPI_OFFLOAD 1409 1410endif # SPI 1411