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