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