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