1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 28ae12a0dSDavid Brownell# 38ae12a0dSDavid Brownell# SPI driver configuration 48ae12a0dSDavid Brownell# 579d8c7a8SAlessandro Guidomenuconfig SPI 68ae12a0dSDavid Brownell bool "SPI support" 779d8c7a8SAlessandro Guido depends on HAS_IOMEM 88ae12a0dSDavid Brownell help 98ae12a0dSDavid Brownell The "Serial Peripheral Interface" is a low level synchronous 108ae12a0dSDavid Brownell protocol. Chips that support SPI can have data transfer rates 118ae12a0dSDavid Brownell up to several tens of Mbit/sec. Chips are addressed with a 128ae12a0dSDavid Brownell controller and a chipselect. Most SPI slaves don't support 138ae12a0dSDavid Brownell dynamic device discovery; some are even write-only or read-only. 148ae12a0dSDavid Brownell 153cb2fcccSMatt LaPlante SPI is widely used by microcontrollers to talk with sensors, 168ae12a0dSDavid Brownell eeprom and flash memory, codecs and various other controller 178ae12a0dSDavid Brownell chips, analog to digital (and d-to-a) converters, and more. 188ae12a0dSDavid Brownell MMC and SD cards can be accessed using SPI protocol; and for 198ae12a0dSDavid Brownell DataFlash cards used in MMC sockets, SPI must always be used. 208ae12a0dSDavid Brownell 218ae12a0dSDavid Brownell SPI is one of a family of similar protocols using a four wire 228ae12a0dSDavid Brownell interface (select, clock, data in, data out) including Microwire 238ae12a0dSDavid Brownell (half duplex), SSP, SSI, and PSP. This driver framework should 248ae12a0dSDavid Brownell work with most such devices and controllers. 258ae12a0dSDavid Brownell 2679d8c7a8SAlessandro Guidoif SPI 2779d8c7a8SAlessandro Guido 288ae12a0dSDavid Brownellconfig SPI_DEBUG 296341e62bSChristoph Jaeger bool "Debug support for SPI drivers" 3079d8c7a8SAlessandro Guido depends on DEBUG_KERNEL 318ae12a0dSDavid Brownell help 328ae12a0dSDavid Brownell Say "yes" to enable debug messaging (like dev_dbg and pr_debug), 338ae12a0dSDavid Brownell sysfs, and debugfs support in SPI controller and protocol drivers. 348ae12a0dSDavid Brownell 358ae12a0dSDavid Brownell# 368ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers 378ae12a0dSDavid Brownell# 388ae12a0dSDavid Brownell 398ae12a0dSDavid Brownellconfig SPI_MASTER 406341e62bSChristoph Jaeger# bool "SPI Master Support" 416341e62bSChristoph Jaeger bool 428ae12a0dSDavid Brownell default SPI 438ae12a0dSDavid Brownell help 448ae12a0dSDavid Brownell If your system has an master-capable SPI controller (which 458ae12a0dSDavid Brownell provides the clock and chipselect), you can enable that 468ae12a0dSDavid Brownell controller and the protocol drivers for the SPI slave chips 478ae12a0dSDavid Brownell that are connected. 488ae12a0dSDavid Brownell 496291fe2aSRobert P. J. Dayif SPI_MASTER 506291fe2aSRobert P. J. Day 51c36ff266SBoris Brezillonconfig SPI_MEM 52c36ff266SBoris Brezillon bool "SPI memory extension" 53c36ff266SBoris Brezillon help 54c36ff266SBoris Brezillon Enable this option if you want to enable the SPI memory extension. 55c36ff266SBoris Brezillon This extension is meant to simplify interaction with SPI memories 5629e795caSFabio Estevam by providing a high-level interface to send memory-like commands. 57c36ff266SBoris Brezillon 588e02d188SDavid Lechnerconfig SPI_OFFLOAD 598e02d188SDavid Lechner bool 608e02d188SDavid Lechner 618ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers" 628ae12a0dSDavid Brownell 63a403997cSLorenzo Bianconiconfig SPI_AIROHA_SNFI 64a403997cSLorenzo Bianconi tristate "Airoha SPI NAND Flash Interface" 65a403997cSLorenzo Bianconi depends on ARCH_AIROHA || COMPILE_TEST 66a403997cSLorenzo Bianconi depends on SPI_MASTER 67a403997cSLorenzo Bianconi select REGMAP_MMIO 68a403997cSLorenzo Bianconi help 69a403997cSLorenzo Bianconi This enables support for SPI-NAND mode on the Airoha NAND 70a403997cSLorenzo Bianconi Flash Interface found on Airoha ARM SoCs. This controller 71a403997cSLorenzo Bianconi is implemented as a SPI-MEM controller. 72a403997cSLorenzo Bianconi 730b782531SThomas Chouconfig SPI_ALTERA 74b0c3d935SMatthew Gerlach tristate "Altera SPI Controller platform driver" 75b0c3d935SMatthew Gerlach select SPI_ALTERA_CORE 763c651973SXu Yilun select REGMAP_MMIO 770b782531SThomas Chou help 780b782531SThomas Chou This is the driver for the Altera SPI Controller. 790b782531SThomas Chou 80b0c3d935SMatthew Gerlachconfig SPI_ALTERA_CORE 8141f48a29SGeert Uytterhoeven tristate "Altera SPI Controller core code" if COMPILE_TEST 82b0c3d935SMatthew Gerlach select REGMAP 83b0c3d935SMatthew Gerlach help 84b0c3d935SMatthew Gerlach "The core code for the Altera SPI Controller" 85b0c3d935SMatthew Gerlach 86ba2fc167SMatthew Gerlachconfig SPI_ALTERA_DFL 87ba2fc167SMatthew Gerlach tristate "DFL bus driver for Altera SPI Controller" 88ba2fc167SMatthew Gerlach depends on FPGA_DFL 89ba2fc167SMatthew Gerlach select SPI_ALTERA_CORE 90ba2fc167SMatthew Gerlach help 91ba2fc167SMatthew Gerlach This is a Device Feature List (DFL) bus driver for the 92ba2fc167SMatthew Gerlach Altera SPI master controller. The SPI master is connected 93ba2fc167SMatthew Gerlach to a SPI slave to Avalon bridge in a Intel MAX BMC. 94ba2fc167SMatthew Gerlach 95909fac05SMartin Kurbanovconfig SPI_AMLOGIC_SPIFC_A1 96909fac05SMartin Kurbanov tristate "Amlogic A1 SPIFC controller" 97909fac05SMartin Kurbanov depends on ARCH_MESON || COMPILE_TEST 98909fac05SMartin Kurbanov help 99909fac05SMartin Kurbanov This enables master mode support for the SPIFC (SPI flash 100909fac05SMartin Kurbanov controller) available in Amlogic A1 (A113L SoC). 101909fac05SMartin Kurbanov 1024670db6fSFeng Chenconfig SPI_AMLOGIC_SPIFC_A4 1034670db6fSFeng Chen tristate "Amlogic A4 SPI Flash controller" 1044670db6fSFeng Chen depends on ARCH_MESON || COMPILE_TEST 1054670db6fSFeng Chen select REGMAP_MMIO 1064670db6fSFeng Chen help 1074670db6fSFeng Chen This enables SPI mode on the NAND Flash Controller of Amlogic 1084670db6fSFeng Chen ARM SoCs. It supports SPI Nor Flash and SPI NAND Flash (Could 1094670db6fSFeng Chen enable Host ECC HW engine). The controller implements the 1104670db6fSFeng Chen SPI-MEM interface, it doesn't support generic SPI. 1114670db6fSFeng Chen 112cef9991eSSunny Luoconfig SPI_AMLOGIC_SPISG 113cef9991eSSunny Luo tristate "Amlogic SPISG controller" 114cef9991eSSunny Luo depends on COMMON_CLK 115cef9991eSSunny Luo depends on ARCH_MESON || COMPILE_TEST 116cef9991eSSunny Luo help 117cef9991eSSunny Luo This enables master mode support for the SPISG (SPI scatter-gather 118cef9991eSSunny Luo communication controller), which is available on platforms such as 119cef9991eSSunny Luo Amlogic A4 SoCs. 120cef9991eSSunny Luo 121c36212b2SHector Martinconfig SPI_APPLE 122c36212b2SHector Martin tristate "Apple SoC SPI Controller platform driver" 123c36212b2SHector Martin depends on ARCH_APPLE || COMPILE_TEST 124c36212b2SHector Martin help 125c36212b2SHector Martin This enables support for the SPI controller present on 126c36212b2SHector Martin many Apple SoCs, including the t8103 (M1), t8112 (M2) 127c36212b2SHector Martin and t600x (M1 Pro/Max/Ultra). Multiple SPI controller 128c36212b2SHector Martin instances are present on the SoC and each connects usually 129c36212b2SHector Martin to a single device like spi-nor (nvram), input device controller 130c36212b2SHector Martin or fingerprint sensor. 131c36212b2SHector Martin 132047980c5SChuanhong Guoconfig SPI_AR934X 133047980c5SChuanhong Guo tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" 134047980c5SChuanhong Guo depends on ATH79 || COMPILE_TEST 135047980c5SChuanhong Guo help 136047980c5SChuanhong Guo This enables support for the SPI controller present on the 137047980c5SChuanhong Guo Qualcomm Atheros AR934X/QCA95XX SoCs. 138047980c5SChuanhong Guo 13934e3815eSCL Wangconfig SPI_ATCSPI200 14034e3815eSCL Wang tristate "Andes ATCSPI200 SPI controller" 14134e3815eSCL Wang depends on ARCH_ANDES 14234e3815eSCL Wang help 14334e3815eSCL Wang SPI driver for Andes ATCSPI200 SPI controller. 14434e3815eSCL Wang ATCSPI200 controller supports DMA and PIO modes. When DMA 14534e3815eSCL Wang is not available, the driver automatically falls back to 14634e3815eSCL Wang PIO mode. 14734e3815eSCL Wang 1488efaef4dSGabor Juhosconfig SPI_ATH79 1498efaef4dSGabor Juhos tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 150b172fd0cSAlban Bedel depends on ATH79 || COMPILE_TEST 1518efaef4dSGabor Juhos select SPI_BITBANG 1528efaef4dSGabor Juhos help 1538efaef4dSGabor Juhos This enables support for the SPI controller present on the 1548efaef4dSGabor Juhos Atheros AR71XX/AR724X/AR913X SoCs. 1558efaef4dSGabor Juhos 1565762ab71SRomain Perierconfig SPI_ARMADA_3700 1575762ab71SRomain Perier tristate "Marvell Armada 3700 SPI Controller" 1585762ab71SRomain Perier depends on (ARCH_MVEBU && OF) || COMPILE_TEST 1595762ab71SRomain Perier help 1605762ab71SRomain Perier This enables support for the SPI controller present on the 1615762ab71SRomain Perier Marvell Armada 3700 SoCs. 1625762ab71SRomain Perier 163e3228ed9SCédric Le Goaterconfig SPI_ASPEED_SMC 164e3228ed9SCédric Le Goater tristate "Aspeed flash controllers in SPI mode" 165e3228ed9SCédric Le Goater depends on ARCH_ASPEED || COMPILE_TEST 166e3228ed9SCédric Le Goater depends on OF 167e3228ed9SCédric Le Goater help 168e3228ed9SCédric Le Goater This enables support for the Firmware Memory controller (FMC) 169e3228ed9SCédric Le Goater in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached 170e3228ed9SCédric Le Goater to SPI NOR chips, and support for the SPI flash memory 171e3228ed9SCédric Le Goater controller (SPI) for the host firmware. The implementation 172e3228ed9SCédric Le Goater only supports SPI NOR. 173e3228ed9SCédric Le Goater 174754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 175754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 176cb6f687eSRobert Marko depends on ARCH_MICROCHIP || COMPILE_TEST 1771cb84b02SGregory CLEMENT depends on OF 178754ce4f2SHaavard Skinnemoen help 179754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 180a687a533SArnd Bergmann many AT91 ARM chips. 181754ce4f2SHaavard Skinnemoen 182e1892546SRadu Pireaconfig SPI_AT91_USART 183e1892546SRadu Pirea tristate "Atmel USART Controller SPI driver" 184e1892546SRadu Pirea depends on (ARCH_AT91 || COMPILE_TEST) 185e1892546SRadu Pirea depends on MFD_AT91_USART 186e1892546SRadu Pirea help 187e1892546SRadu Pirea This selects a driver for the AT91 USART Controller as SPI Master, 188e1892546SRadu Pirea present on AT91 and SAMA5 SoC series. 189e1892546SRadu Pirea 1900e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI 1910e6aae08SPiotr Bugalski tristate "Atmel Quad SPI Controller" 192b780c3f3STudor Ambarus depends on ARCH_AT91 || COMPILE_TEST 1930e6aae08SPiotr Bugalski depends on OF && HAS_IOMEM 1940e6aae08SPiotr Bugalski help 1950e6aae08SPiotr Bugalski This enables support for the Quad SPI controller in master mode. 1960e6aae08SPiotr Bugalski This driver does not support generic SPI. The implementation only 1970e6aae08SPiotr Bugalski supports spi-mem interface. 1980e6aae08SPiotr Bugalski 199e32bb870SMark Brownconfig SPI_AU1550 200e32bb870SMark Brown tristate "Au1550/Au1200/Au1300 SPI Controller" 201e32bb870SMark Brown depends on MIPS_ALCHEMY 202e32bb870SMark Brown select SPI_BITBANG 203e32bb870SMark Brown help 204e32bb870SMark Brown If you say yes to this option, support will be included for the 205e32bb870SMark Brown PSC SPI controller found on Au1550, Au1200 and Au1300 series. 206e32bb870SMark Brown 207b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE 208b1353d1cSLars-Peter Clausen tristate "Analog Devices AXI SPI Engine controller" 209b1353d1cSLars-Peter Clausen depends on HAS_IOMEM 2105a19e198SDavid Lechner select SPI_OFFLOAD 211b1353d1cSLars-Peter Clausen help 212b1353d1cSLars-Peter Clausen This enables support for the Analog Devices AXI SPI Engine SPI controller. 213b1353d1cSLars-Peter Clausen It is part of the SPI Engine framework that is used in some Analog Devices 214b1353d1cSLars-Peter Clausen reference designs for FPGAs. 215b1353d1cSLars-Peter Clausen 216e75a6b00SVladimir Moravcevicconfig SPI_AXIADO 217e75a6b00SVladimir Moravcevic tristate "Axiado DB-H SPI controller" 218e75a6b00SVladimir Moravcevic depends on SPI_MEM 219*e540be7dSGeert Uytterhoeven depends on ARCH_AXIADO || COMPILE_TEST 220e75a6b00SVladimir Moravcevic help 221e75a6b00SVladimir Moravcevic Enable support for the SPI controller present on Axiado AX3000 SoCs. 222e75a6b00SVladimir Moravcevic 223e75a6b00SVladimir Moravcevic The implementation supports host-only mode and does not provide target 224e75a6b00SVladimir Moravcevic functionality. It is intended for use cases where the SoC acts as the SPI 225e75a6b00SVladimir Moravcevic host, communicating with peripheral devices such as flash memory. 226e75a6b00SVladimir Moravcevic 227f8043872SChris Bootconfig SPI_BCM2835 228f8043872SChris Boot tristate "BCM2835 SPI controller" 229e0d58cdcSYoshinori Sato depends on GPIOLIB 23035ceb675SFlorian Fainelli depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST 231f8043872SChris Boot help 232f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 233f8043872SChris Boot 234f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 235f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 236f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 237f8043872SChris Boot not supported. 238f8043872SChris Boot 2391ea29b39SMartin Sperlconfig SPI_BCM2835AUX 2401ea29b39SMartin Sperl tristate "BCM2835 SPI auxiliary controller" 24135ceb675SFlorian Fainelli depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST 2421ea29b39SMartin Sperl help 2431ea29b39SMartin Sperl This selects a driver for the Broadcom BCM2835 SPI aux master. 2441ea29b39SMartin Sperl 2451ea29b39SMartin Sperl The BCM2835 contains two types of SPI master controller; the 2461ea29b39SMartin Sperl "universal SPI master", and the regular SPI controller. 2471ea29b39SMartin Sperl This driver is for the universal/auxiliary SPI controller. 2481ea29b39SMartin Sperl 249b42dfed8SFlorian Fainelliconfig SPI_BCM63XX 250b42dfed8SFlorian Fainelli tristate "Broadcom BCM63xx SPI controller" 2513a521450SÁlvaro Fernández Rojas depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST 252b42dfed8SFlorian Fainelli help 253b42dfed8SFlorian Fainelli Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 254b42dfed8SFlorian Fainelli 255142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI 256142168ebSJonas Gorski tristate "Broadcom BCM63XX HS SPI controller driver" 25716f3c221SWilliam Zhang depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST 258142168ebSJonas Gorski help 259142168ebSJonas Gorski This enables support for the High Speed SPI controller present on 260142168ebSJonas Gorski newer Broadcom BCM63XX SoCs. 261142168ebSJonas Gorski 262fa236a7eSKamal Dasuconfig SPI_BCM_QSPI 263fa236a7eSKamal Dasu tristate "Broadcom BSPI and MSPI controller support" 264279e4af7SJaedon Shin depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 265279e4af7SJaedon Shin BMIPS_GENERIC || COMPILE_TEST 266fa236a7eSKamal Dasu default ARCH_BCM_IPROC 267fa236a7eSKamal Dasu help 268fa236a7eSKamal Dasu Enables support for the Broadcom SPI flash and MSPI controller. 269fa236a7eSKamal Dasu Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs 2703e84cdd4STudor Ambarus based platforms. This driver works for both SPI master for SPI NOR 271fa236a7eSKamal Dasu flash device as well as MSPI device. 272fa236a7eSKamal Dasu 273a38a2233SWilliam Zhangconfig SPI_BCMBCA_HSSPI 274a38a2233SWilliam Zhang tristate "Broadcom BCMBCA HS SPI controller driver" 275a38a2233SWilliam Zhang depends on ARCH_BCMBCA || COMPILE_TEST 276a38a2233SWilliam Zhang help 277a38a2233SWilliam Zhang This enables support for the High Speed SPI controller present on 278a38a2233SWilliam Zhang newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller 279a38a2233SWilliam Zhang that adds the capability to allow the driver to control chip select 280a38a2233SWilliam Zhang explicitly. 281a38a2233SWilliam Zhang 2829904f22aSDavid Brownellconfig SPI_BITBANG 2838ee46db1SAndy Shevchenko tristate "Utilities for Bitbanging SPI host controllers" 2849904f22aSDavid Brownell help 2859904f22aSDavid Brownell With a few GPIO pins, your system can bitbang the SPI protocol. 2869904f22aSDavid Brownell Select this to get SPI support through I/O pins (GPIO, parallel 2878ee46db1SAndy Shevchenko port, etc). Or, some systems' SPI host controller drivers use 2889904f22aSDavid Brownell this code to manage the per-word or per-transfer accesses to the 2899904f22aSDavid Brownell hardware shift registers. 2909904f22aSDavid Brownell 2919904f22aSDavid Brownell This is library code, and is automatically selected by drivers that 2929904f22aSDavid Brownell need it. You only need to select this explicitly to support driver 2939904f22aSDavid Brownell modules that aren't part of this kernel tree. 2948ae12a0dSDavid Brownell 2957111763dSDavid Brownellconfig SPI_BUTTERFLY 2967111763dSDavid Brownell tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 2976291fe2aSRobert P. J. Day depends on PARPORT 2987111763dSDavid Brownell select SPI_BITBANG 2997111763dSDavid Brownell help 3007111763dSDavid Brownell This uses a custom parallel port cable to connect to an AVR 3017111763dSDavid Brownell Butterfly <http://www.atmel.com/products/avr/butterfly>, an 3027111763dSDavid Brownell inexpensive battery powered microcontroller evaluation board. 3037111763dSDavid Brownell This same cable can be used to flash new firmware. 3047111763dSDavid Brownell 305c474b386SHarini Katakamconfig SPI_CADENCE 306c474b386SHarini Katakam tristate "Cadence SPI controller" 307c474b386SHarini Katakam help 308c474b386SHarini Katakam This selects the Cadence SPI controller master driver 30938b6484eSMichal Simek used by Xilinx Zynq and ZynqMP. 310c474b386SHarini Katakam 31131fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE_QUADSPI 31231fb632bSRamuthevar Vadivel Murugan tristate "Cadence Quad SPI controller" 313708eafebSThéo Lebrun depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST) 31431fb632bSRamuthevar Vadivel Murugan help 31531fb632bSRamuthevar Vadivel Murugan Enable support for the Cadence Quad SPI Flash controller. 31631fb632bSRamuthevar Vadivel Murugan 31731fb632bSRamuthevar Vadivel Murugan Cadence QSPI is a specialized controller for connecting an SPI 31831fb632bSRamuthevar Vadivel Murugan Flash over 1/2/4-bit wide bus. Enable this option if you have a 31931fb632bSRamuthevar Vadivel Murugan device with a Cadence QSPI controller and want to access the 32031fb632bSRamuthevar Vadivel Murugan Flash as an MTD device. 32131fb632bSRamuthevar Vadivel Murugan 322a16cc807SParshuram Thombareconfig SPI_CADENCE_XSPI 323a16cc807SParshuram Thombare tristate "Cadence XSPI controller" 324d58ecc54SWitold Sadowski depends on OF && HAS_IOMEM && 64BIT 325a16cc807SParshuram Thombare depends on SPI_MEM 326a16cc807SParshuram Thombare help 327a16cc807SParshuram Thombare Enable support for the Cadence XSPI Flash controller. 328a16cc807SParshuram Thombare 329a16cc807SParshuram Thombare Cadence XSPI is a specialized controller for connecting an SPI 33022913a63SRandy Dunlap Flash over up to 8-bit wide bus. Enable this option if you have a 331a16cc807SParshuram Thombare device with a Cadence XSPI controller and want to access the 332a16cc807SParshuram Thombare Flash as an MTD device. 333a16cc807SParshuram Thombare 3348846739fSJohannes Thumshirnconfig SPI_CH341 3358846739fSJohannes Thumshirn tristate "CH341 USB2SPI adapter" 3368846739fSJohannes Thumshirn depends on SPI_MASTER && USB 3378846739fSJohannes Thumshirn help 3388846739fSJohannes Thumshirn Enables the SPI controller on the CH341a USB to serial chip 3398846739fSJohannes Thumshirn 340161b96c3SAlexander Shiyanconfig SPI_CLPS711X 341161b96c3SAlexander Shiyan tristate "CLPS711X host SPI controller" 3425634dd8bSAxel Lin depends on ARCH_CLPS711X || COMPILE_TEST 343161b96c3SAlexander Shiyan help 344161b96c3SAlexander Shiyan This enables dedicated general purpose SPI/Microwire1-compatible 345161b96c3SAlexander Shiyan master mode interface (SSI1) for CLPS711X-based CPUs. 346161b96c3SAlexander Shiyan 34734b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI 34834b8c661SSteven King tristate "Freescale Coldfire QSPI controller" 349bce4d12bSSteven King depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 35034b8c661SSteven King help 35134b8c661SSteven King This enables support for the Coldfire QSPI controller in master 35234b8c661SSteven King mode. 35334b8c661SSteven King 354ef75e767SLucas Tanureconfig SPI_CS42L43 355ef75e767SLucas Tanure tristate "Cirrus Logic CS42L43 SPI controller" 356ef75e767SLucas Tanure depends on MFD_CS42L43 && PINCTRL_CS42L43 357439fbc97SMaciej Strozek select GPIO_SWNODE_UNDEFINED 358ef75e767SLucas Tanure help 359ef75e767SLucas Tanure This enables support for the SPI controller inside the Cirrus Logic 360ef75e767SLucas Tanure CS42L43 audio codec. 361ef75e767SLucas Tanure 362358934a6SSandeep Paulrajconfig SPI_DAVINCI 36323ce17adSSekhar Nori tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 364e48d57d7SMark Brown depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST 365358934a6SSandeep Paulraj select SPI_BITBANG 366358934a6SSandeep Paulraj help 36723ce17adSSekhar Nori SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 36823ce17adSSekhar Nori 369e32bb870SMark Brownconfig SPI_DESIGNWARE 370e32bb870SMark Brown tristate "DesignWare SPI controller core support" 3716423207eSSerge Semin imply SPI_MEM 372e32bb870SMark Brown help 373e32bb870SMark Brown general driver for SPI controller core from DesignWare 374e32bb870SMark Brown 375ecb3a67eSSerge Seminif SPI_DESIGNWARE 376ecb3a67eSSerge Semin 3776c710c0cSSerge Seminconfig SPI_DW_DMA 3786c710c0cSSerge Semin bool "DMA support for DW SPI controller" 3796c710c0cSSerge Semin 380e32bb870SMark Brownconfig SPI_DW_PCI 381e32bb870SMark Brown tristate "PCI interface driver for DW SPI core" 382ecb3a67eSSerge Semin depends on PCI 383e32bb870SMark Brown 384e32bb870SMark Brownconfig SPI_DW_MMIO 385e32bb870SMark Brown tristate "Memory-mapped io interface driver for DW SPI core" 386ecb3a67eSSerge Semin depends on HAS_IOMEM 387ecb3a67eSSerge Semin 388ecb3a67eSSerge Seminendif 389e32bb870SMark Brown 3903d8c0d74SLaurentiu Palcuconfig SPI_DLN2 3913d8c0d74SLaurentiu Palcu tristate "Diolan DLN-2 USB SPI adapter" 3923d8c0d74SLaurentiu Palcu depends on MFD_DLN2 3933d8c0d74SLaurentiu Palcu help 3943d8c0d74SLaurentiu Palcu If you say yes to this option, support will be included for Diolan 3953d8c0d74SLaurentiu Palcu DLN2, a USB to SPI interface. 3963d8c0d74SLaurentiu Palcu 3973d8c0d74SLaurentiu Palcu This driver can also be built as a module. If so, the module 3983d8c0d74SLaurentiu Palcu will be called spi-dln2. 3993d8c0d74SLaurentiu Palcu 400011f23a3SMika Westerbergconfig SPI_EP93XX 401011f23a3SMika Westerberg tristate "Cirrus Logic EP93xx SPI controller" 402dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 403011f23a3SMika Westerberg help 404011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 405011f23a3SMika Westerberg mode. 406011f23a3SMika Westerberg 4076cd3c7e2SThomas Langerconfig SPI_FALCON 4089c6a3af0SHauke Mehrtens bool "Falcon SPI controller support" 4096cd3c7e2SThomas Langer depends on SOC_FALCON 4106cd3c7e2SThomas Langer help 4116cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 4126cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 4136cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 4146cd3c7e2SThomas Langer support for other types of SPI peripherals. 4156cd3c7e2SThomas Langer 416bbb6b2f9SEddie Jamesconfig SPI_FSI 417bbb6b2f9SEddie James tristate "FSI SPI driver" 418bae4ae83SArnd Bergmann depends on FSI 419bbb6b2f9SEddie James help 420bbb6b2f9SEddie James This enables support for the driver for FSI bus attached SPI 421bbb6b2f9SEddie James controllers. 422bbb6b2f9SEddie James 4235314987dSGao Panconfig SPI_FSL_LPSPI 4245314987dSGao Pan tristate "Freescale i.MX LPSPI controller" 4255314987dSGao Pan depends on ARCH_MXC || COMPILE_TEST 4265314987dSGao Pan help 4275314987dSGao Pan This enables Freescale i.MX LPSPI controllers in master mode. 4285314987dSGao Pan 42984d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI 43084d04318SFrieder Schrempf tristate "Freescale QSPI controller" 431abc9a349SAlex Elder depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || \ 432abc9a349SAlex Elder ARCH_SPACEMIT || COMPILE_TEST 43384d04318SFrieder Schrempf depends on HAS_IOMEM 43484d04318SFrieder Schrempf help 43584d04318SFrieder Schrempf This enables support for the Quad SPI controller in master mode. 43684d04318SFrieder Schrempf Up to four flash chips can be connected on two buses with two 43784d04318SFrieder Schrempf chipselects each. 43884d04318SFrieder Schrempf This controller does not support generic SPI messages. It only 43984d04318SFrieder Schrempf supports the high-level SPI memory interface. 44084d04318SFrieder Schrempf 441730bc8baSNick Hawkinsconfig SPI_GXP 442730bc8baSNick Hawkins tristate "GXP SPI driver" 443730bc8baSNick Hawkins depends on ARCH_HPE || COMPILE_TEST 444730bc8baSNick Hawkins help 445730bc8baSNick Hawkins This enables support for the driver for GXP bus attached SPI 446730bc8baSNick Hawkins controllers. 447730bc8baSNick Hawkins 448c770d863SJay Fangconfig SPI_HISI_KUNPENG 449c770d863SJay Fang tristate "HiSilicon SPI Controller for Kunpeng SoCs" 450c770d863SJay Fang depends on (ARM64 && ACPI) || COMPILE_TEST 451c770d863SJay Fang help 452c770d863SJay Fang This enables support for HiSilicon SPI controller found on 453c770d863SJay Fang Kunpeng SoCs. 454c770d863SJay Fang 455c770d863SJay Fang This driver can also be built as a module. If so, the module 456c770d863SJay Fang will be called hisi-kunpeng-spi. 457c770d863SJay Fang 458a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX 4593e84cdd4STudor Ambarus tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets" 460a2ca53b5SJohn Garry depends on (ARM64 && ACPI) || COMPILE_TEST 461a2ca53b5SJohn Garry depends on HAS_IOMEM 462a2ca53b5SJohn Garry help 4633e84cdd4STudor Ambarus This enables support for HiSilicon v3xx SPI NOR flash controller 464a2ca53b5SJohn Garry found in hi16xx chipsets. 465a2ca53b5SJohn Garry 466a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI 467a5356aefSYogesh Narayan Gaur tristate "NXP Flex SPI controller" 46807628756SAlexander Stein depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST 469c6b15b24SMark Brown depends on HAS_IOMEM 470a5356aefSYogesh Narayan Gaur help 471a5356aefSYogesh Narayan Gaur This enables support for the Flex SPI controller in master mode. 472a5356aefSYogesh Narayan Gaur Up to four slave devices can be connected on two buses with two 473a5356aefSYogesh Narayan Gaur chipselects each. 474a5356aefSYogesh Narayan Gaur This controller does not support generic SPI messages and only 475a5356aefSYogesh Narayan Gaur supports the high-level SPI memory interface. 476a5356aefSYogesh Narayan Gaur 47729c8c00dSHaibo Chenconfig SPI_NXP_XSPI 47829c8c00dSHaibo Chen tristate "NXP xSPI controller" 47929c8c00dSHaibo Chen depends on ARCH_MXC || COMPILE_TEST 48029c8c00dSHaibo Chen depends on HAS_IOMEM 48129c8c00dSHaibo Chen help 48229c8c00dSHaibo Chen This enables support for the xSPI controller. Up to two devices 48329c8c00dSHaibo Chen can be connected to one host. 48429c8c00dSHaibo Chen This controller does not support generic SPI messages and only 48529c8c00dSHaibo Chen supports the high-level SPI memory interface. 48629c8c00dSHaibo Chen 487d29389deSDavid Brownellconfig SPI_GPIO 488d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 4895c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 490d29389deSDavid Brownell select SPI_BITBANG 491d29389deSDavid Brownell help 492d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 493d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 494d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 495d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 496d29389deSDavid Brownell for the chipselect used by this controller driver. 497d29389deSDavid Brownell 498d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 499d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 500d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 501d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 502d29389deSDavid Brownell 503deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 504deba2580SAndrew Bresticker tristate "IMG SPFI controller" 505deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 506deba2580SAndrew Bresticker help 507deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 508deba2580SAndrew Bresticker IMG SoCs. 509deba2580SAndrew Bresticker 510b5f3294fSSascha Hauerconfig SPI_IMX 511b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 512dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 513b5f3294fSSascha Hauer help 5142e236bafSFabio Estevam This enables support for the Freescale i.MX SPI controllers. 515b5f3294fSSascha Hauer 516ae5f94ccSArtur Rojekconfig SPI_INGENIC 5176d72b114S周琰杰 (Zhou Yanjie) tristate "Ingenic SoCs SPI controller" 518ae5f94ccSArtur Rojek depends on MACH_INGENIC || COMPILE_TEST 519ae5f94ccSArtur Rojek help 5206d72b114S周琰杰 (Zhou Yanjie) This enables support for the Ingenic SoCs SPI controller. 521ae5f94ccSArtur Rojek 522ae5f94ccSArtur Rojek To compile this driver as a module, choose M here: the module 523ae5f94ccSArtur Rojek will be called spi-ingenic. 524ae5f94ccSArtur Rojek 525e23e5a05SMika Westerbergconfig SPI_INTEL 526e23e5a05SMika Westerberg tristate 527e23e5a05SMika Westerberg 528e23e5a05SMika Westerbergconfig SPI_INTEL_PCI 5297db738b5SMauro Lima tristate "Intel PCH/PCU SPI flash PCI driver" 530e23e5a05SMika Westerberg depends on PCI 531e23e5a05SMika Westerberg depends on X86 || COMPILE_TEST 532e23e5a05SMika Westerberg depends on SPI_MEM 533e23e5a05SMika Westerberg select SPI_INTEL 534e23e5a05SMika Westerberg help 535e23e5a05SMika Westerberg This enables PCI support for the Intel PCH/PCU SPI controller in 5362ea9b08aSMauro Lima master mode. This controller is used to hold BIOS and other 5372ea9b08aSMauro Lima persistent settings. Controllers present in modern Intel hardware 5382ea9b08aSMauro Lima only work in hardware sequencing mode, this means that the 5392ea9b08aSMauro Lima controller exposes a subset of operations that makes it safer to 5402ea9b08aSMauro Lima use. Using this driver it is possible to upgrade BIOS directly 5412ea9b08aSMauro Lima from Linux. 542e23e5a05SMika Westerberg 543e23e5a05SMika Westerberg To compile this driver as a module, choose M here: the module 544e23e5a05SMika Westerberg will be called spi-intel-pci. 545e23e5a05SMika Westerberg 546e23e5a05SMika Westerbergconfig SPI_INTEL_PLATFORM 547e23e5a05SMika Westerberg tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)" 548e23e5a05SMika Westerberg depends on X86 || COMPILE_TEST 549e23e5a05SMika Westerberg depends on SPI_MEM 550e23e5a05SMika Westerberg select SPI_INTEL 551e23e5a05SMika Westerberg help 552e23e5a05SMika Westerberg This enables platform support for the Intel PCH/PCU SPI 5537db738b5SMauro Lima controller in master mode that is used to hold BIOS and other 5542ea9b08aSMauro Lima persistent settings. Most of these controllers work in 5552ea9b08aSMauro Lima software sequencing mode, which means that the controller 5562ea9b08aSMauro Lima exposes the low level SPI-NOR opcodes to the software. Using 5572ea9b08aSMauro Lima this driver it is possible to upgrade BIOS directly from Linux. 558e23e5a05SMika Westerberg 559e23e5a05SMika Westerberg Say N here unless you know what you are doing. Overwriting the 560e23e5a05SMika Westerberg SPI flash may render the system unbootable. 561e23e5a05SMika Westerberg 562e23e5a05SMika Westerberg To compile this driver as a module, choose M here: the module 563e23e5a05SMika Westerberg will be called spi-intel-platform. 564e23e5a05SMika Westerberg 5652cb1b3b3SRich Felkerconfig SPI_JCORE 5662cb1b3b3SRich Felker tristate "J-Core SPI Master" 5672cb1b3b3SRich Felker depends on OF && (SUPERH || COMPILE_TEST) 5682cb1b3b3SRich Felker help 5692cb1b3b3SRich Felker This enables support for the SPI master controller in the J-Core 5702cb1b3b3SRich Felker synthesizable, open source SoC. 5712cb1b3b3SRich Felker 5721a90aae3SGerhard Englederconfig SPI_KSPI2 5731a90aae3SGerhard Engleder tristate "Support for KEBA SPI master type 2 hardware" 5741a90aae3SGerhard Engleder depends on HAS_IOMEM 5751a90aae3SGerhard Engleder depends on KEBA_CP500 || COMPILE_TEST 5761a90aae3SGerhard Engleder select AUXILIARY_BUS 5771a90aae3SGerhard Engleder help 5781a90aae3SGerhard Engleder This driver supports KEBA SPI master type 2 FPGA implementation, 5791a90aae3SGerhard Engleder as found on CP500 devices for example. 5801a90aae3SGerhard Engleder 5811a90aae3SGerhard Engleder This driver can also be built as a module. If so, the module 5821a90aae3SGerhard Engleder will be called spi-kspi2. 5831a90aae3SGerhard Engleder 58478961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 58578961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 5866d1f56aaSKees Cook depends on PARPORT 58778961a57SKaiwan N Billimoria select SPI_BITBANG 58878961a57SKaiwan N Billimoria help 58978961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 59078961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 59178961a57SKaiwan N Billimoria a parallel port. 59278961a57SKaiwan N Billimoria 5936c7a8640SYinbo Zhuconfig SPI_LOONGSON_CORE 5946c7a8640SYinbo Zhu tristate 5956c7a8640SYinbo Zhu depends on LOONGARCH || COMPILE_TEST 5966c7a8640SYinbo Zhu 5976c7a8640SYinbo Zhuconfig SPI_LOONGSON_PCI 5986c7a8640SYinbo Zhu tristate "Loongson SPI Controller PCI Driver Support" 5996c7a8640SYinbo Zhu select SPI_LOONGSON_CORE 6006c7a8640SYinbo Zhu depends on PCI && (LOONGARCH || COMPILE_TEST) 6016c7a8640SYinbo Zhu help 6026c7a8640SYinbo Zhu This bus driver supports the Loongson SPI hardware controller in 6036c7a8640SYinbo Zhu the Loongson platforms and supports to use PCI framework to 6046c7a8640SYinbo Zhu register SPI device resources. 6056c7a8640SYinbo Zhu Say Y or M here if you want to use the SPI controller on 6066c7a8640SYinbo Zhu Loongson platform. 6076c7a8640SYinbo Zhu 6086c7a8640SYinbo Zhuconfig SPI_LOONGSON_PLATFORM 6096c7a8640SYinbo Zhu tristate "Loongson SPI Controller Platform Driver Support" 6106c7a8640SYinbo Zhu select SPI_LOONGSON_CORE 6116c7a8640SYinbo Zhu depends on OF && (LOONGARCH || COMPILE_TEST) 6126c7a8640SYinbo Zhu help 6136c7a8640SYinbo Zhu This bus driver supports the Loongson SPI hardware controller in 6146c7a8640SYinbo Zhu the Loongson platforms and supports to use DTS framework to 6156c7a8640SYinbo Zhu register SPI device resources. 6166c7a8640SYinbo Zhu Say Y or M here if you want to use the SPI controller on 6176c7a8640SYinbo Zhu Loongson platform. 6186c7a8640SYinbo Zhu 6197ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC 6207ecbfff6SSergei Ianovich tristate "ICP DAS LP-8841 SPI Controller for RTC" 6217ecbfff6SSergei Ianovich depends on MACH_PXA27X_DT || COMPILE_TEST 6227ecbfff6SSergei Ianovich help 6237ecbfff6SSergei Ianovich This driver provides an SPI master device to drive Maxim 6247ecbfff6SSergei Ianovich DS-1302 real time clock. 6257ecbfff6SSergei Ianovich 6267ecbfff6SSergei Ianovich Say N here unless you plan to run the kernel on an ICP DAS 6277ecbfff6SSergei Ianovich LP-8x4x industrial computer. 6287ecbfff6SSergei Ianovich 62942bbb709SGrant Likelyconfig SPI_MPC52xx 63042bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 6317433f2b7SPaul Bolle depends on PPC_MPC52xx 63242bbb709SGrant Likely help 63342bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 63442bbb709SGrant Likely mode. 63542bbb709SGrant Likely 63600b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 63700b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 6386d1f56aaSKees Cook depends on PPC_MPC52xx 63900b8fd23SDragos Carp help 64000b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 64100b8fd23SDragos Carp Controller in master SPI mode. 64200b8fd23SDragos Carp 6436e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 6446e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 6455e8afa34SUwe Kleine-König depends on PPC_MPC512x 6466e27388fSAnatolij Gustschin help 6476e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 6486e27388fSAnatolij Gustschin Controller in SPI master mode. 6496e27388fSAnatolij Gustschin 650b36ece83SMingkai Huconfig SPI_FSL_LIB 651b36ece83SMingkai Hu tristate 652e8beacbbSAndreas Larsson depends on OF 653e8beacbbSAndreas Larsson 654e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 655e8beacbbSAndreas Larsson tristate 656b36ece83SMingkai Hu depends on FSL_SOC 657b36ece83SMingkai Hu 6583272029fSMingkai Huconfig SPI_FSL_SPI 65938455d7aSEsben Haabendal tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 660e8beacbbSAndreas Larsson depends on OF 661b36ece83SMingkai Hu select SPI_FSL_LIB 662e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 663ccf06998SKumar Gala help 6643272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 6653272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 6663272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 667447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 668447b0c7bSAndreas Larsson master mode. 669ccf06998SKumar Gala 670349ad66cSChao Fuconfig SPI_FSL_DSPI 671349ad66cSChao Fu tristate "Freescale DSPI controller" 6721acbdeb9SChao Fu select REGMAP_MMIO 673dce4bc30SLukas Bulwahn depends on ARCH_MXC || ARCH_NXP || M5441x || COMPILE_TEST 674349ad66cSChao Fu help 675349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 6769a30e332SCiprian Marian Costea mode. S32, VF610, LS1021A and ColdFire platforms uses the controller. 677349ad66cSChao Fu 6788b60d6c2SMingkai Huconfig SPI_FSL_ESPI 67938455d7aSEsben Haabendal tristate "Freescale eSPI controller" 6808b60d6c2SMingkai Hu depends on FSL_SOC 6818b60d6c2SMingkai Hu help 6828b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 6838b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 6848b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 6858b60d6c2SMingkai Hu 686caee8e38SWentong Wuconfig SPI_LJCA 687caee8e38SWentong Wu tristate "Intel La Jolla Cove Adapter SPI support" 688caee8e38SWentong Wu depends on USB_LJCA 689caee8e38SWentong Wu default USB_LJCA 690caee8e38SWentong Wu help 691caee8e38SWentong Wu Select this option to enable SPI driver for the Intel 692caee8e38SWentong Wu La Jolla Cove Adapter (LJCA) board. 693caee8e38SWentong Wu 694caee8e38SWentong Wu This driver can also be built as a module. If so, the module 695caee8e38SWentong Wu will be called spi-ljca. 696caee8e38SWentong Wu 697454fa271SNeil Armstrongconfig SPI_MESON_SPICC 698454fa271SNeil Armstrong tristate "Amlogic Meson SPICC controller" 6993e0cf4d3SSunny Luo depends on COMMON_CLK 700454fa271SNeil Armstrong depends on ARCH_MESON || COMPILE_TEST 701454fa271SNeil Armstrong help 702454fa271SNeil Armstrong This enables master mode support for the SPICC (SPI communication 703454fa271SNeil Armstrong controller) available in Amlogic Meson SoCs. 704454fa271SNeil Armstrong 705c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 706c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 707c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 7081327ecd4SBeniamino Galvani select REGMAP_MMIO 709c3e4bc54SBeniamino Galvani help 710c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 711c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 712c3e4bc54SBeniamino Galvani 7138596124cSNaga Sureshkumar Relliconfig SPI_MICROCHIP_CORE_QSPI 7148596124cSNaga Sureshkumar Relli tristate "Microchip FPGA QSPI controllers" 7158596124cSNaga Sureshkumar Relli depends on SPI_MASTER 7168596124cSNaga Sureshkumar Relli help 7178596124cSNaga Sureshkumar Relli This enables the QSPI driver for Microchip FPGA QSPI controllers. 7188596124cSNaga Sureshkumar Relli Say Y or M here if you want to use the QSPI controllers on 7198596124cSNaga Sureshkumar Relli PolarFire SoC. 7208596124cSNaga Sureshkumar Relli If built as a module, it will be called spi-microchip-core-qspi. 7218596124cSNaga Sureshkumar Relli 722059f5458SPrajna Rajendra Kumarconfig SPI_MICROCHIP_CORE_SPI 723059f5458SPrajna Rajendra Kumar tristate "Microchip FPGA CoreSPI controller" 724059f5458SPrajna Rajendra Kumar depends on SPI_MASTER 725059f5458SPrajna Rajendra Kumar help 726059f5458SPrajna Rajendra Kumar This enables the SPI driver for Microchip FPGA CoreSPI controller. 727059f5458SPrajna Rajendra Kumar Say Y or M here if you want to use the "soft" controllers on 728059f5458SPrajna Rajendra Kumar PolarFire SoC. 729059f5458SPrajna Rajendra Kumar If built as a module, it will be called spi-microchip-core-spi. 730059f5458SPrajna Rajendra Kumar 731a568231fSLeilk Liuconfig SPI_MT65XX 732a568231fSLeilk Liu tristate "MediaTek SPI controller" 733a568231fSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 734a568231fSLeilk Liu help 735a568231fSLeilk Liu This selects the MediaTek(R) SPI bus driver. 736a568231fSLeilk Liu If you want to use MediaTek(R) SPI interface, 737a568231fSLeilk Liu say Y or M here.If you are not sure, say N. 738a568231fSLeilk Liu SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 739a568231fSLeilk Liu 740cbd66c62SStefan Roeseconfig SPI_MT7621 741cbd66c62SStefan Roese tristate "MediaTek MT7621 SPI Controller" 742cbd66c62SStefan Roese depends on RALINK || COMPILE_TEST 743cbd66c62SStefan Roese help 744cbd66c62SStefan Roese This selects a driver for the MediaTek MT7621 SPI Controller. 745cbd66c62SStefan Roese 746881d1ee9SChuanhong Guoconfig SPI_MTK_NOR 747881d1ee9SChuanhong Guo tristate "MediaTek SPI NOR controller" 748881d1ee9SChuanhong Guo depends on ARCH_MEDIATEK || COMPILE_TEST 749881d1ee9SChuanhong Guo help 750881d1ee9SChuanhong Guo This enables support for SPI NOR controller found on MediaTek 7513e84cdd4STudor Ambarus ARM SoCs. This is a controller specifically for SPI NOR flash. 752881d1ee9SChuanhong Guo It can perform generic SPI transfers up to 6 bytes via generic 7533e84cdd4STudor Ambarus SPI interface as well as several SPI NOR specific instructions 754881d1ee9SChuanhong Guo via SPI MEM interface. 755881d1ee9SChuanhong Guo 756764f1b74SChuanhong Guoconfig SPI_MTK_SNFI 757764f1b74SChuanhong Guo tristate "MediaTek SPI NAND Flash Interface" 758764f1b74SChuanhong Guo depends on ARCH_MEDIATEK || COMPILE_TEST 759764f1b74SChuanhong Guo depends on MTD_NAND_ECC_MEDIATEK 760764f1b74SChuanhong Guo help 761764f1b74SChuanhong Guo This enables support for SPI-NAND mode on the MediaTek NAND 762764f1b74SChuanhong Guo Flash Interface found on MediaTek ARM SoCs. This controller 763764f1b74SChuanhong Guo is implemented as a SPI-MEM controller with pipelined ECC 7648613dda6SAhelenia Ziemiańska capability. 765764f1b74SChuanhong Guo 7661f8811a2SJonathan Neuschäferconfig SPI_WPCM_FIU 7671f8811a2SJonathan Neuschäfer tristate "Nuvoton WPCM450 Flash Interface Unit" 7681f8811a2SJonathan Neuschäfer depends on ARCH_NPCM || COMPILE_TEST 7691f8811a2SJonathan Neuschäfer select REGMAP 7701f8811a2SJonathan Neuschäfer help 7711f8811a2SJonathan Neuschäfer This enables support got the Flash Interface Unit SPI controller 7721f8811a2SJonathan Neuschäfer present in the Nuvoton WPCM450 SoC. 7731f8811a2SJonathan Neuschäfer 7741f8811a2SJonathan Neuschäfer This driver does not support generic SPI. The implementation only 7751f8811a2SJonathan Neuschäfer supports the spi-mem interface. 7761f8811a2SJonathan Neuschäfer 777ace55c41STomer Maimonconfig SPI_NPCM_FIU 778ace55c41STomer Maimon tristate "Nuvoton NPCM FLASH Interface Unit" 779ace55c41STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 780ace55c41STomer Maimon depends on OF && HAS_IOMEM 781ace55c41STomer Maimon help 782ace55c41STomer Maimon This enables support for the Flash Interface Unit SPI controller 783ace55c41STomer Maimon in master mode. 784ace55c41STomer Maimon This driver does not support generic SPI. The implementation only 785ace55c41STomer Maimon supports spi-mem interface. 786ace55c41STomer Maimon 7872a22f1b3STomer Maimonconfig SPI_NPCM_PSPI 7882a22f1b3STomer Maimon tristate "Nuvoton NPCM PSPI Controller" 7892a22f1b3STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 7902a22f1b3STomer Maimon help 7912a22f1b3STomer Maimon This driver provides support for Nuvoton NPCM BMC 7922a22f1b3STomer Maimon Peripheral SPI controller in master mode. 7932a22f1b3STomer Maimon 79417f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC 79517f84b79SHauke Mehrtens tristate "Lantiq SSC SPI controller" 796040f7f97SDilip Kota depends on LANTIQ || X86 || COMPILE_TEST 79717f84b79SHauke Mehrtens help 79817f84b79SHauke Mehrtens This driver supports the Lantiq SSC SPI controller in master 79917f84b79SHauke Mehrtens mode. This controller is found on Intel (former Lantiq) SoCs like 800040f7f97SDilip Kota the Danube, Falcon, xRX200, xRX300, Lightning Mountain. 80117f84b79SHauke Mehrtens 802ce792580SThomas Chouconfig SPI_OC_TINY 803ce792580SThomas Chou tristate "OpenCores tiny SPI" 8045c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 805ce792580SThomas Chou select SPI_BITBANG 806ce792580SThomas Chou help 807ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 808ce792580SThomas Chou 8096b52c00fSDavid Daneyconfig SPI_OCTEON 8106b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 8119ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 8126b52c00fSDavid Daney help 8136b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 8146b52c00fSDavid Daney SOCs. 8156b52c00fSDavid Daney 816fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 817fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 81858d37dc1SArnd Bergmann depends on ARCH_OMAP1 || (ARM && COMPILE_TEST) 819fdb3c18dSDavid Brownell select SPI_BITBANG 820fdb3c18dSDavid Brownell help 821fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 822fdb3c18dSDavid Brownell 823ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 8248ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 82581df42d1SVignesh R depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST 8262b32e987SFranklin S Cooper Jr select SG_SPLIT 827ccdc7bf9SSamuel Ortiz help 8288ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 829ccdc7bf9SSamuel Ortiz (McSPI) modules. 83069c202afSAndrea Paterniani 831505a1495SSourav Poddarconfig SPI_TI_QSPI 832505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 833505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 834505a1495SSourav Poddar help 835505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 836505a1495SSourav Poddar This device supports single, dual and quad read support, while 837505a1495SSourav Poddar it only supports single write mode. 838505a1495SSourav Poddar 83960cadec9SShadi Ammouriconfig SPI_ORION 8406d1f56aaSKees Cook tristate "Orion SPI master" 841710a1d54SThomas Petazzoni depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 84260cadec9SShadi Ammouri help 84373482910SUwe Kleine-König This enables using the SPI master controller on the Orion 84473482910SUwe Kleine-König and MVEBU chips. 84560cadec9SShadi Ammouri 8461cc0cbeaSTharun Kumar Pconfig SPI_PCI1XXXX 8471cc0cbeaSTharun Kumar P tristate "PCI1XXXX SPI Bus support" 8481cc0cbeaSTharun Kumar P depends on PCI 8491cc0cbeaSTharun Kumar P help 8501cc0cbeaSTharun Kumar P Say "yes" to Enable the SPI Bus support for the PCI1xxxx card 8511cc0cbeaSTharun Kumar P This is a PCI to SPI Bus driver 8521cc0cbeaSTharun Kumar P This driver can be built as module. If so, the module will be 8531cc0cbeaSTharun Kumar P called as spi-pci1xxxx. 8541cc0cbeaSTharun Kumar P 8551bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32 8561bcb9f8cSPurna Chandra Mandal tristate "Microchip PIC32 series SPI" 8571bcb9f8cSPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 8581bcb9f8cSPurna Chandra Mandal help 8591bcb9f8cSPurna Chandra Mandal SPI driver for Microchip PIC32 SPI master controller. 8601bcb9f8cSPurna Chandra Mandal 8613270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI 8623270ac23SPurna Chandra Mandal tristate "Microchip PIC32 Quad SPI driver" 8633270ac23SPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 8643270ac23SPurna Chandra Mandal help 8653270ac23SPurna Chandra Mandal SPI driver for PIC32 Quad SPI controller. 8663270ac23SPurna Chandra Mandal 867b43d65f7SLinus Walleijconfig SPI_PL022 8687f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 8697f9a4b97SLinus Walleij depends on ARM_AMBA 870f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 871f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 872f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 873b43d65f7SLinus Walleij help 874b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 875b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 876b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 877b43d65f7SLinus Walleij 87871c814e9SPrajna Rajendra Kumarconfig SPI_POLARFIRE_SOC 87971c814e9SPrajna Rajendra Kumar tristate "Microchip FPGA SPI controllers" 88084b7344cSGeert Uytterhoeven depends on SPI_MASTER 88184b7344cSGeert Uytterhoeven depends on ARCH_MICROCHIP || COMPILE_TEST 88271c814e9SPrajna Rajendra Kumar help 88371c814e9SPrajna Rajendra Kumar This enables the SPI driver for Microchip FPGA SPI controllers. 88471c814e9SPrajna Rajendra Kumar Say Y or M here if you want to use the "hard" controllers on 88571c814e9SPrajna Rajendra Kumar PolarFire SoC. 88671c814e9SPrajna Rajendra Kumar If built as a module, it will be called spi-mpfs. 88771c814e9SPrajna Rajendra Kumar 88844dab88eSSteven A. Falcoconfig SPI_PPC4xx 88944dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 8905e8afa34SUwe Kleine-König depends on PPC32 && 4xx 89144dab88eSSteven A. Falco select SPI_BITBANG 89244dab88eSSteven A. Falco help 89344dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 89444dab88eSSteven A. Falco 895e0c9905eSStephen Streetconfig SPI_PXA2XX 896e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 8973af201a4SAndy Shevchenko depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST 898128345b1SArnd Bergmann select PXA_SSP if ARCH_PXA || ARCH_MMP 899e0c9905eSStephen Street help 900d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 9012d069c11SAndy Shevchenko controller. The driver can be configured to use any SSP port. 902d6ea3df0SSebastian Andrzej Siewior 903d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 904afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 905e0c9905eSStephen Street 90642d20a6aSChris Packhamconfig SPI_REALTEK_SNAND 90742d20a6aSChris Packham tristate "Realtek SPI-NAND Flash Controller" 90842d20a6aSChris Packham depends on MACH_REALTEK_RTL || COMPILE_TEST 90942d20a6aSChris Packham select REGMAP 91042d20a6aSChris Packham help 91142d20a6aSChris Packham This enables support for the SPI-NAND Flash controller on 91242d20a6aSChris Packham Realtek SoCs. 91342d20a6aSChris Packham 91442d20a6aSChris Packham This driver does not support generic SPI. The implementation 91542d20a6aSChris Packham only supports the spi-mem interface. 91642d20a6aSChris Packham 91764e36824Saddy keconfig SPI_ROCKCHIP 91864e36824Saddy ke tristate "Rockchip SPI controller driver" 919330a200dSMark Brown depends on ARCH_ROCKCHIP || COMPILE_TEST 92064e36824Saddy ke help 92164e36824Saddy ke This selects a driver for Rockchip SPI controller. 92264e36824Saddy ke 92364e36824Saddy ke If you say yes to this option, support will be included for 92464e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 92564e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 92664e36824Saddy ke The main usecase of this controller is to use spi flash as boot 92764e36824Saddy ke device. 92864e36824Saddy ke 9290b89fc0aSChris Morganconfig SPI_ROCKCHIP_SFC 9300b89fc0aSChris Morgan tristate "Rockchip Serial Flash Controller (SFC)" 9310b89fc0aSChris Morgan depends on ARCH_ROCKCHIP || COMPILE_TEST 9320b89fc0aSChris Morgan depends on HAS_IOMEM && HAS_DMA 9330b89fc0aSChris Morgan help 9340b89fc0aSChris Morgan This enables support for Rockchip serial flash controller. This 9350b89fc0aSChris Morgan is a specialized controller used to access SPI flash on some 9360b89fc0aSChris Morgan Rockchip SOCs. 9370b89fc0aSChris Morgan 9380b89fc0aSChris Morgan ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available, 9390b89fc0aSChris Morgan the driver automatically falls back to PIO mode. 9400b89fc0aSChris Morgan 94105aec357SBert Vermeulenconfig SPI_RB4XX 94205aec357SBert Vermeulen tristate "Mikrotik RB4XX SPI master" 943f18f0ac5SRosen Penev depends on SPI_MASTER && (ATH79 || COMPILE_TEST) 944c73c378dSRosen Penev depends on OF 94505aec357SBert Vermeulen help 94605aec357SBert Vermeulen SPI controller driver for the Mikrotik RB4xx series boards. 94705aec357SBert Vermeulen 948eb8d6d46SSergei Shtylyovconfig SPI_RPCIF 949eb8d6d46SSergei Shtylyov tristate "Renesas RPC-IF SPI driver" 950eb8d6d46SSergei Shtylyov depends on RENESAS_RPCIF 951eb8d6d46SSergei Shtylyov help 952f4a10fc4SAdam Ford SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF. 953eb8d6d46SSergei Shtylyov 9540b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 955e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 9563aec3166SSimon Horman depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 9570b2182ddSShimoda, Yoshihiro help 958e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 9590b2182ddSShimoda, Yoshihiro 9608b61c891SFabrizio Castroconfig SPI_RZV2H_RSPI 9618b61c891SFabrizio Castro tristate "Renesas RZ/V2H RSPI controller" 9628b61c891SFabrizio Castro depends on ARCH_RENESAS || COMPILE_TEST 9638b61c891SFabrizio Castro help 9648b61c891SFabrizio Castro RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI). 9658b61c891SFabrizio Castro RSPI supports both SPI host and SPI target roles. This option only 9668b61c891SFabrizio Castro enables the SPI host role. 9678b61c891SFabrizio Castro 96883c624d8SFabrizio Castroconfig SPI_RZV2M_CSI 969e1ef683cSGeert Uytterhoeven tristate "Renesas RZ/V2M CSI controller" 97083c624d8SFabrizio Castro depends on ARCH_RENESAS || COMPILE_TEST 97183c624d8SFabrizio Castro help 972a4f7ef6dSFabrizio Castro SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI). 973a4f7ef6dSFabrizio Castro CSI supports both SPI host and SPI target roles. 97483c624d8SFabrizio Castro 97504000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI 97604000dc6SGirish Mahadevan tristate "QTI QSPI controller" 977ada85054SMark Brown depends on ARCH_QCOM || COMPILE_TEST 97804000dc6SGirish Mahadevan help 97904000dc6SGirish Mahadevan QSPI(Quad SPI) driver for Qualcomm QSPI controller. 98004000dc6SGirish Mahadevan 9817304d190SMd Sadre Alamconfig SPI_QPIC_SNAND 982d32c4e58SGeert Uytterhoeven tristate "QPIC SNAND controller" 9837304d190SMd Sadre Alam depends on ARCH_QCOM || COMPILE_TEST 984d32c4e58SGeert Uytterhoeven depends on MTD 9857304d190SMd Sadre Alam help 9867304d190SMd Sadre Alam QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller. 9877304d190SMd Sadre Alam QPIC controller supports both parallel nand and serial nand. 9887304d190SMd Sadre Alam This config will enable serial nand driver for QPIC controller. 9897304d190SMd Sadre Alam 99064ff247aSIvan T. Ivanovconfig SPI_QUP 99164ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 9922abaad67SAlex Dewar depends on ARCH_QCOM || COMPILE_TEST 99364ff247aSIvan T. Ivanov help 99464ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 99564ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 99664ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 99764ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 99864ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 99964ff247aSIvan T. Ivanov 100064ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 100164ff247aSIvan T. Ivanov will be called spi_qup. 10028ae12a0dSDavid Brownell 1003561de45fSGirish Mahadevanconfig SPI_QCOM_GENI 1004561de45fSGirish Mahadevan tristate "Qualcomm GENI based SPI controller" 1005561de45fSGirish Mahadevan depends on QCOM_GENI_SE 1006561de45fSGirish Mahadevan help 1007561de45fSGirish Mahadevan This driver supports GENI serial engine based SPI controller in 1008561de45fSGirish Mahadevan master mode on the Qualcomm Technologies Inc.'s SoCs. If you say 1009561de45fSGirish Mahadevan yes to this option, support will be included for the built-in SPI 1010561de45fSGirish Mahadevan interface on the Qualcomm Technologies Inc.'s SoCs. 1011561de45fSGirish Mahadevan 1012561de45fSGirish Mahadevan This driver can also be built as a module. If so, the module 1013561de45fSGirish Mahadevan will be called spi-geni-qcom. 1014561de45fSGirish Mahadevan 1015230d42d4SJassi Brarconfig SPI_S3C64XX 10165b71cbf0SKrzysztof Kozlowski tristate "Samsung S3C64XX/Exynos SoC series type SPI" 1017db8230d2SArnd Bergmann depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST) 1018230d42d4SJassi Brar help 10195b71cbf0SKrzysztof Kozlowski SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs. 10205b71cbf0SKrzysztof Kozlowski Choose Y/M here only if you build for such Samsung SoC. 1021230d42d4SJassi Brar 10223ce8859eSGuenter Roeckconfig SPI_SC18IS602 10233ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 10243ce8859eSGuenter Roeck depends on I2C 10253ce8859eSGuenter Roeck help 10263ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 10273ce8859eSGuenter Roeck 10288051effcSMagnus Dammconfig SPI_SH_MSIOF 10298051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 1030e5b43ed2SGeert Uytterhoeven depends on HAVE_CLK 10316ffc84ddSGeert Uytterhoeven depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 10328051effcSMagnus Damm help 1033746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 10348051effcSMagnus Damm 10355c05dd07SYoshihiro Shimodaconfig SPI_SH 10365c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 1037dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 10385c05dd07SYoshihiro Shimoda help 10395c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 10405c05dd07SYoshihiro Shimoda 104137e46640SMagnus Dammconfig SPI_SH_SCI 104237e46640SMagnus Damm tristate "SuperH SCI SPI controller" 10436291fe2aSRobert P. J. Day depends on SUPERH 104437e46640SMagnus Damm select SPI_BITBANG 104537e46640SMagnus Damm help 104637e46640SMagnus Damm SPI driver for SuperH SCI blocks. 104737e46640SMagnus Damm 1048d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 1049d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 10503aec3166SSimon Horman depends on ARCH_RENESAS || COMPILE_TEST 1051d1c8bbd7SKuninori Morimoto help 1052d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 1053d1c8bbd7SKuninori Morimoto 1054484a9a68SYash Shahconfig SPI_SIFIVE 1055484a9a68SYash Shah tristate "SiFive SPI controller" 1056484a9a68SYash Shah depends on HAS_IOMEM 1057484a9a68SYash Shah help 1058484a9a68SYash Shah This exposes the SPI controller IP from SiFive. 1059484a9a68SYash Shah 1060805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX 1061805be7ddSLeilk Liu tristate "MediaTek SPI slave device" 1062805be7ddSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 1063805be7ddSLeilk Liu depends on SPI_SLAVE 1064805be7ddSLeilk Liu help 1065805be7ddSLeilk Liu This selects the MediaTek(R) SPI slave device driver. 1066805be7ddSLeilk Liu If you want to use MediaTek(R) SPI slave interface, 1067805be7ddSLeilk Liu say Y or M here.If you are not sure, say N. 1068805be7ddSLeilk Liu SPI slave drivers for Mediatek MT27XX series ARM SoCs. 1069805be7ddSLeilk Liu 10701b74dd64SKunihiko Hayashiconfig SPI_SN_F_OSPI 10711b74dd64SKunihiko Hayashi tristate "Socionext F_OSPI SPI flash controller" 10721b74dd64SKunihiko Hayashi depends on OF && HAS_IOMEM 10731b74dd64SKunihiko Hayashi depends on SPI_MEM 10741b74dd64SKunihiko Hayashi help 10751b74dd64SKunihiko Hayashi This enables support for the Socionext F_OSPI controller 10761b74dd64SKunihiko Hayashi for connecting an SPI Flash memory over up to 8-bit wide bus. 10771b74dd64SKunihiko Hayashi It supports indirect access mode only. 10781b74dd64SKunihiko Hayashi 1079de16c322SLongbin Liconfig SPI_SG2044_NOR 1080de16c322SLongbin Li tristate "SG2044 SPI NOR Controller" 1081de16c322SLongbin Li depends on ARCH_SOPHGO || COMPILE_TEST 1082de16c322SLongbin Li help 1083de16c322SLongbin Li This enables support for the SG2044 SPI NOR controller, 1084de16c322SLongbin Li which supports Dual/Quad read and write operations while 1085de16c322SLongbin Li also supporting 3Byte address devices and 4Byte address 1086de16c322SLongbin Li devices. 1087de16c322SLongbin Li 1088e7d973a3SLanqing Liuconfig SPI_SPRD 1089e7d973a3SLanqing Liu tristate "Spreadtrum SPI controller" 1090e7d973a3SLanqing Liu depends on ARCH_SPRD || COMPILE_TEST 1091e7d973a3SLanqing Liu help 1092e7d973a3SLanqing Liu SPI driver for Spreadtrum SoCs. 1093e7d973a3SLanqing Liu 10947e2903cbSBaolin Wangconfig SPI_SPRD_ADI 10957e2903cbSBaolin Wang tristate "Spreadtrum ADI controller" 10967e2903cbSBaolin Wang depends on ARCH_SPRD || COMPILE_TEST 1097e83f3742SArnd Bergmann depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 10987e2903cbSBaolin Wang help 10997e2903cbSBaolin Wang ADI driver based on SPI for Spreadtrum SoCs. 11007e2903cbSBaolin Wang 1101dcbe0d84SAmelie Delaunayconfig SPI_STM32 1102dcbe0d84SAmelie Delaunay tristate "STMicroelectronics STM32 SPI controller" 1103dcbe0d84SAmelie Delaunay depends on ARCH_STM32 || COMPILE_TEST 1104e40335fcSValentin Caron select SPI_SLAVE 1105dcbe0d84SAmelie Delaunay help 1106bb35c9f9SCezary Gapinski SPI driver for STMicroelectronics STM32 SoCs. 1107dcbe0d84SAmelie Delaunay 1108dcbe0d84SAmelie Delaunay STM32 SPI controller supports DMA and PIO modes. When DMA 1109dcbe0d84SAmelie Delaunay is not available, the driver automatically falls back to 1110dcbe0d84SAmelie Delaunay PIO mode. 1111dcbe0d84SAmelie Delaunay 111279b8a705SPatrice Chotardconfig SPI_STM32_OSPI 111379b8a705SPatrice Chotard tristate "STMicroelectronics STM32 OCTO SPI controller" 111479b8a705SPatrice Chotard depends on ARCH_STM32 || COMPILE_TEST 111579b8a705SPatrice Chotard depends on OF 111679b8a705SPatrice Chotard depends on SPI_MEM 111779b8a705SPatrice Chotard help 111879b8a705SPatrice Chotard This enables support for the Octo SPI controller in master mode. 111979b8a705SPatrice Chotard This driver does not support generic SPI. The implementation only 112079b8a705SPatrice Chotard supports spi-mem interface. 112179b8a705SPatrice Chotard 1122c530cd1dSLudovic Barreconfig SPI_STM32_QSPI 1123c530cd1dSLudovic Barre tristate "STMicroelectronics STM32 QUAD SPI controller" 1124c530cd1dSLudovic Barre depends on ARCH_STM32 || COMPILE_TEST 1125c530cd1dSLudovic Barre depends on OF 11266829222bSPatrice Chotard depends on SPI_MEM 1127c530cd1dSLudovic Barre help 1128c530cd1dSLudovic Barre This enables support for the Quad SPI controller in master mode. 1129c530cd1dSLudovic Barre This driver does not support generic SPI. The implementation only 1130c530cd1dSLudovic Barre supports spi-mem interface. 1131c530cd1dSLudovic Barre 11329e862375SLee Jonesconfig SPI_ST_SSC4 11339e862375SLee Jones tristate "STMicroelectronics SPI SSC-based driver" 113483fefd2dSAxel Lin depends on ARCH_STI || COMPILE_TEST 11359e862375SLee Jones help 11369e862375SLee Jones STMicroelectronics SoCs support for SPI. If you say yes to 11379e862375SLee Jones this option, support will be included for the SSC driven SPI. 11389e862375SLee Jones 1139b5f65179SMaxime Ripardconfig SPI_SUN4I 1140b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 1141b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 1142b5f65179SMaxime Ripard help 1143b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 1144b5f65179SMaxime Ripard 11453558fe90SMaxime Ripardconfig SPI_SUN6I 11463558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 11473558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 11487961656aSMark Brown depends on RESET_CONTROLLER 11493558fe90SMaxime Ripard help 11503558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 11513558fe90SMaxime Ripard 1152f62ca4e2SLi-hao Kuoconfig SPI_SUNPLUS_SP7021 1153f62ca4e2SLi-hao Kuo tristate "Sunplus SP7021 SPI controller" 1154f62ca4e2SLi-hao Kuo depends on SOC_SP7021 || COMPILE_TEST 1155f62ca4e2SLi-hao Kuo help 1156f62ca4e2SLi-hao Kuo This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs. 1157f62ca4e2SLi-hao Kuo This driver can also be built as a module. If so, the module will be 1158f62ca4e2SLi-hao Kuo called as spi-sunplus-sp7021. 1159f62ca4e2SLi-hao Kuo 1160f62ca4e2SLi-hao Kuo If you have a Sunplus SP7021 platform say Y here. 1161f62ca4e2SLi-hao Kuo If unsure, say N. 1162f62ca4e2SLi-hao Kuo 1163b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER 1164b0823ee3SMasahisa Kojima tristate "Socionext's SynQuacer HighSpeed SPI controller" 1165b0823ee3SMasahisa Kojima depends on ARCH_SYNQUACER || COMPILE_TEST 1166b0823ee3SMasahisa Kojima help 1167b0823ee3SMasahisa Kojima SPI driver for Socionext's High speed SPI controller which provides 1168b0823ee3SMasahisa Kojima various operating modes for interfacing to serial peripheral devices 1169b0823ee3SMasahisa Kojima that use the de-facto standard SPI protocol. 1170b0823ee3SMasahisa Kojima 1171b0823ee3SMasahisa Kojima It also supports the new dual-bit and quad-bit SPI protocol. 1172b0823ee3SMasahisa Kojima 1173b942d80bSMason Yangconfig SPI_MXIC 1174b942d80bSMason Yang tristate "Macronix MX25F0A SPI controller" 1175b942d80bSMason Yang depends on SPI_MASTER 117600360ebaSMiquel Raynal imply MTD_NAND_ECC_MXIC 1177b942d80bSMason Yang help 1178b942d80bSMason Yang This selects the Macronix MX25F0A SPI controller driver. 1179b942d80bSMason Yang 1180646781d3SMarek Vasutconfig SPI_MXS 1181646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 1182646781d3SMarek Vasut depends on ARCH_MXS 1183646781d3SMarek Vasut select STMP_DEVICE 1184646781d3SMarek Vasut help 1185646781d3SMarek Vasut SPI driver for Freescale MXS devices. 1186646781d3SMarek Vasut 1187921fc183SSowjanya Komatineniconfig SPI_TEGRA210_QUAD 1188921fc183SSowjanya Komatineni tristate "NVIDIA Tegra QSPI Controller" 1189921fc183SSowjanya Komatineni depends on ARCH_TEGRA || COMPILE_TEST 1190921fc183SSowjanya Komatineni depends on RESET_CONTROLLER 1191921fc183SSowjanya Komatineni help 1192921fc183SSowjanya Komatineni QSPI driver for NVIDIA Tegra QSPI Controller interface. This 1193921fc183SSowjanya Komatineni controller is different from the SPI controller and is available 1194921fc183SSowjanya Komatineni on Tegra SoCs starting from Tegra210. 1195921fc183SSowjanya Komatineni 1196f333a331SLaxman Dewanganconfig SPI_TEGRA114 1197f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 11983dcf44abSFrancesco Lavra depends on ARCH_TEGRA || COMPILE_TEST 1199e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 1200f333a331SLaxman Dewangan help 12013dcf44abSFrancesco Lavra SPI controller driver for NVIDIA Tegra114 and later SoCs. This controller 1202f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 1203f333a331SLaxman Dewangan get changed with this controller. 1204f333a331SLaxman Dewangan 12058528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 12068528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 1207dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 1208ff2251e3SStephen Warren depends on RESET_CONTROLLER 12098528547bSLaxman Dewangan help 12108528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 12118528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 12128528547bSLaxman Dewangan device. 12138528547bSLaxman Dewangan 1214dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 1215dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 1216dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 1217e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 1218dc4dc360SLaxman Dewangan help 1219dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 1220dc4dc360SLaxman Dewangan 12217347a6c7SJan Glauberconfig SPI_THUNDERX 12227347a6c7SJan Glauber tristate "Cavium ThunderX SPI controller" 12237347a6c7SJan Glauber depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 12247347a6c7SJan Glauber help 12257347a6c7SJan Glauber SPI host driver for the hardware found on Cavium ThunderX 12267347a6c7SJan Glauber SOCs. 12277347a6c7SJan Glauber 1228e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 122992b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 1230f05ca854SPaul Burton depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 1231e8b17b5bSMasayuki Ohtake help 1232cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 1233cdbc8f04SGrant Likely used in some x86 embedded processors. 1234e8b17b5bSMasayuki Ohtake 123592b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 123692b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 1237f016aeb6STomoya MORINAGA 12385ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER 12395ba155a4SKeiji Hayashibara tristate "Socionext UniPhier SPI Controller" 12405ba155a4SKeiji Hayashibara depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 12416a091404SKunihiko Hayashi depends on HAS_IOMEM 12425ba155a4SKeiji Hayashibara help 12435ba155a4SKeiji Hayashibara This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 12445ba155a4SKeiji Hayashibara 12455ba155a4SKeiji Hayashibara UniPhier SoCs have SCSSI and MCSSI SPI controllers. 12465ba155a4SKeiji Hayashibara Every UniPhier SoC has SCSSI which supports single channel. 12475ba155a4SKeiji Hayashibara Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 12485ba155a4SKeiji Hayashibara This driver supports SCSSI only. 12495ba155a4SKeiji Hayashibara 12505ba155a4SKeiji Hayashibara If your SoC supports SCSSI, say Y here. 12515ba155a4SKeiji Hayashibara 1252f98cabe3SHaixu Cuiconfig SPI_VIRTIO 1253f98cabe3SHaixu Cui tristate "Virtio SPI Controller" 1254f98cabe3SHaixu Cui depends on SPI_MASTER && VIRTIO 1255f98cabe3SHaixu Cui help 1256f98cabe3SHaixu Cui If you say yes to this option, support will be included for the virtio 1257f98cabe3SHaixu Cui SPI controller driver. The hardware can be emulated by any device model 1258f98cabe3SHaixu Cui software according to the virtio protocol. 1259f98cabe3SHaixu Cui 1260f98cabe3SHaixu Cui This driver can also be built as a module. If so, the module 1261f98cabe3SHaixu Cui will be called spi-virtio. 1262f98cabe3SHaixu Cui 1263b3165900SLars-Peter Clausenconfig SPI_XCOMM 1264b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 1265b3165900SLars-Peter Clausen depends on I2C 1266b3165900SLars-Peter Clausen help 1267b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 1268b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 1269b3165900SLars-Peter Clausen 1270ae918c02SAndrei Konovalovconfig SPI_XILINX 1271c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 12726d1f56aaSKees Cook depends on HAS_IOMEM 1273ae918c02SAndrei Konovalov select SPI_BITBANG 1274ae918c02SAndrei Konovalov help 1275ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 1276ae918c02SAndrei Konovalov 1277ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 1278ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 1279ae918c02SAndrei Konovalov 1280c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 1281c9da2e12SRichard Röjfors 1282d8c80d49SKamlakant Patelconfig SPI_XLP 1283f7d344f2SRob Herring tristate "Cavium ThunderX2 SPI controller driver" 1284f7d344f2SRob Herring depends on ARCH_THUNDER2 || COMPILE_TEST 1285d8c80d49SKamlakant Patel help 1286f7d344f2SRob Herring Enable support for the SPI controller on the Cavium ThunderX2. 1287f7d344f2SRob Herring (Originally on Netlogic XLP SoCs.) 1288d8c80d49SKamlakant Patel 1289f7d344f2SRob Herring If you have a Cavium ThunderX2 platform say Y here. 1290d8c80d49SKamlakant Patel If unsure, say N. 1291d8c80d49SKamlakant Patel 12926840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 12936840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 1294be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 12956840cc29SMax Filippov select SPI_BITBANG 12966840cc29SMax Filippov help 12976840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 12986840cc29SMax Filippov 12996840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 13006840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 13016840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 13026840cc29SMax Filippov start and deasserting on end. 13036840cc29SMax Filippov 130467dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI 130567dca5e5SNaga Sureshkumar Relli tristate "Xilinx Zynq QSPI controller" 130667dca5e5SNaga Sureshkumar Relli depends on ARCH_ZYNQ || COMPILE_TEST 1307c2ded280SAmit Kumar Mahapatra depends on SPI_MEM 130867dca5e5SNaga Sureshkumar Relli help 130967dca5e5SNaga Sureshkumar Relli This enables support for the Zynq Quad SPI controller 131067dca5e5SNaga Sureshkumar Relli in master mode. 131167dca5e5SNaga Sureshkumar Relli This controller only supports SPI memory interface. 131267dca5e5SNaga Sureshkumar Relli 1313dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI 1314dfe11a11SRanjit Waghmode tristate "Xilinx ZynqMP GQSPI controller" 1315424a8166SAmit Kumar Mahapatra depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST 1316dfe11a11SRanjit Waghmode help 1317dfe11a11SRanjit Waghmode Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 1318424a8166SAmit Kumar Mahapatra This controller only supports SPI memory interface. 1319dfe11a11SRanjit Waghmode 1320bbb336f3SSanjay R Mehtaconfig SPI_AMD 1321bbb336f3SSanjay R Mehta tristate "AMD SPI controller" 13227a978d8fSArnd Bergmann depends on PCI 1323dbb79974SRaju Rangoju depends on SPI_MASTER || X86 || COMPILE_TEST 1324dbb79974SRaju Rangoju depends on SPI_MEM 1325bbb336f3SSanjay R Mehta help 1326bbb336f3SSanjay R Mehta Enables SPI controller driver for AMD SoC. 1327bbb336f3SSanjay R Mehta 13288ae12a0dSDavid Brownell# 13298ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 13308ae12a0dSDavid Brownell# 13318ae12a0dSDavid Brownell 1332e9e40543SChris Packhamcomment "SPI Multiplexer support" 1333e9e40543SChris Packham 1334e9e40543SChris Packhamconfig SPI_MUX 1335e9e40543SChris Packham tristate "SPI multiplexer support" 1336e9e40543SChris Packham select MULTIPLEXER 1337e9e40543SChris Packham help 1338e9e40543SChris Packham This adds support for SPI multiplexers. Each SPI mux will be 1339e9e40543SChris Packham accessible as a SPI controller, the devices behind the mux will appear 1340e9e40543SChris Packham to be chip selects on this controller. It is still necessary to 1341e9e40543SChris Packham select one or more specific mux-controller drivers. 1342e9e40543SChris Packham 13438ae12a0dSDavid Brownell# 13448ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 13458ae12a0dSDavid Brownell# being probably the most widely used ones. 13468ae12a0dSDavid Brownell# 13478ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 13488ae12a0dSDavid Brownell 1349814a8d50SAndrea Paternianiconfig SPI_SPIDEV 1350814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 1351814a8d50SAndrea Paterniani help 1352814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 1353814a8d50SAndrea Paterniani 135497896195SMartin Sperlconfig SPI_LOOPBACK_TEST 135597896195SMartin Sperl tristate "spi loopback test framework support" 135697896195SMartin Sperl depends on m 135797896195SMartin Sperl help 135897896195SMartin Sperl This enables the SPI loopback testing framework driver 135997896195SMartin Sperl 136097896195SMartin Sperl primarily used for development of spi_master drivers 136197896195SMartin Sperl and to detect regressions 136297896195SMartin Sperl 1363447aef1aSBen Dooksconfig SPI_TLE62X0 1364447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 13656291fe2aSRobert P. J. Day depends on SYSFS 1366447aef1aSBen Dooks help 1367447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 1368447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 1369447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 1370447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 1371447aef1aSBen Dooks 13728ae12a0dSDavid Brownell# 13738ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 13748ae12a0dSDavid Brownell# 13758ae12a0dSDavid Brownell 13766291fe2aSRobert P. J. Dayendif # SPI_MASTER 13776291fe2aSRobert P. J. Day 13786c364062SGeert Uytterhoeven# 13796c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters 13806c364062SGeert Uytterhoeven# 13816c364062SGeert Uytterhoeven 13826c364062SGeert Uytterhoevenconfig SPI_SLAVE 13836c364062SGeert Uytterhoeven bool "SPI slave protocol handlers" 13846c364062SGeert Uytterhoeven help 13856c364062SGeert Uytterhoeven If your system has a slave-capable SPI controller, you can enable 13866c364062SGeert Uytterhoeven slave protocol handlers. 13876c364062SGeert Uytterhoeven 13886c364062SGeert Uytterhoevenif SPI_SLAVE 13896c364062SGeert Uytterhoeven 139029f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME 139129f9ffa0SGeert Uytterhoeven tristate "SPI slave handler reporting boot up time" 139229f9ffa0SGeert Uytterhoeven help 139329f9ffa0SGeert Uytterhoeven SPI slave handler responding with the time of reception of the last 139429f9ffa0SGeert Uytterhoeven SPI message. 139529f9ffa0SGeert Uytterhoeven 1396ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL 1397ce70e06cSGeert Uytterhoeven tristate "SPI slave handler controlling system state" 1398ce70e06cSGeert Uytterhoeven help 1399ce70e06cSGeert Uytterhoeven SPI slave handler to allow remote control of system reboot, power 1400ce70e06cSGeert Uytterhoeven off, halt, and suspend. 1401ce70e06cSGeert Uytterhoeven 14026c364062SGeert Uytterhoevenendif # SPI_SLAVE 14038ae12a0dSDavid Brownell 1404ddf75be4SLukas Wunnerconfig SPI_DYNAMIC 1405ddf75be4SLukas Wunner def_bool ACPI || OF_DYNAMIC || SPI_SLAVE 1406ddf75be4SLukas Wunner 1407ebb398aeSDavid Lechnerif SPI_OFFLOAD 1408ebb398aeSDavid Lechner 1409ebb398aeSDavid Lechnercomment "SPI Offload triggers" 1410ebb398aeSDavid Lechner 14113fcd3d2fSDavid Lechnerconfig SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD 14123fcd3d2fSDavid Lechner tristate "SPI offload trigger using ADI sigma-delta utility" 14133fcd3d2fSDavid Lechner help 14143fcd3d2fSDavid Lechner SPI offload trigger from ADI sigma-delta utility FPGA IP block. 14153fcd3d2fSDavid Lechner 1416ebb398aeSDavid Lechnerconfig SPI_OFFLOAD_TRIGGER_PWM 1417ebb398aeSDavid Lechner tristate "SPI offload trigger using PWM" 1418ebb398aeSDavid Lechner depends on PWM 1419ebb398aeSDavid Lechner help 1420ebb398aeSDavid Lechner Generic SPI offload trigger implemented using PWM output. 1421ebb398aeSDavid Lechner 1422ebb398aeSDavid Lechnerendif # SPI_OFFLOAD 1423ebb398aeSDavid Lechner 142479d8c7a8SAlessandro Guidoendif # SPI 1425