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 588ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers" 598ae12a0dSDavid Brownell 600b782531SThomas Chouconfig SPI_ALTERA 610b782531SThomas Chou tristate "Altera SPI Controller" 620b782531SThomas Chou help 630b782531SThomas Chou This is the driver for the Altera SPI Controller. 640b782531SThomas Chou 65047980c5SChuanhong Guoconfig SPI_AR934X 66047980c5SChuanhong Guo tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" 67047980c5SChuanhong Guo depends on ATH79 || COMPILE_TEST 68047980c5SChuanhong Guo help 69047980c5SChuanhong Guo This enables support for the SPI controller present on the 70047980c5SChuanhong Guo Qualcomm Atheros AR934X/QCA95XX SoCs. 71047980c5SChuanhong Guo 728efaef4dSGabor Juhosconfig SPI_ATH79 738efaef4dSGabor Juhos tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 74b172fd0cSAlban Bedel depends on ATH79 || COMPILE_TEST 758efaef4dSGabor Juhos select SPI_BITBANG 768efaef4dSGabor Juhos help 778efaef4dSGabor Juhos This enables support for the SPI controller present on the 788efaef4dSGabor Juhos Atheros AR71XX/AR724X/AR913X SoCs. 798efaef4dSGabor Juhos 805762ab71SRomain Perierconfig SPI_ARMADA_3700 815762ab71SRomain Perier tristate "Marvell Armada 3700 SPI Controller" 825762ab71SRomain Perier depends on (ARCH_MVEBU && OF) || COMPILE_TEST 835762ab71SRomain Perier help 845762ab71SRomain Perier This enables support for the SPI controller present on the 855762ab71SRomain Perier Marvell Armada 3700 SoCs. 865762ab71SRomain Perier 87754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 88754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 89a687a533SArnd Bergmann depends on ARCH_AT91 || COMPILE_TEST 901cb84b02SGregory CLEMENT depends on OF 91754ce4f2SHaavard Skinnemoen help 92754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 93a687a533SArnd Bergmann many AT91 ARM chips. 94754ce4f2SHaavard Skinnemoen 95e1892546SRadu Pireaconfig SPI_AT91_USART 96e1892546SRadu Pirea tristate "Atmel USART Controller SPI driver" 97e1892546SRadu Pirea depends on (ARCH_AT91 || COMPILE_TEST) 98e1892546SRadu Pirea depends on MFD_AT91_USART 99e1892546SRadu Pirea help 100e1892546SRadu Pirea This selects a driver for the AT91 USART Controller as SPI Master, 101e1892546SRadu Pirea present on AT91 and SAMA5 SoC series. 102e1892546SRadu Pirea 1030e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI 1040e6aae08SPiotr Bugalski tristate "Atmel Quad SPI Controller" 1052a9d92fbSArnd Bergmann depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110) 1060e6aae08SPiotr Bugalski depends on OF && HAS_IOMEM 1070e6aae08SPiotr Bugalski help 1080e6aae08SPiotr Bugalski This enables support for the Quad SPI controller in master mode. 1090e6aae08SPiotr Bugalski This driver does not support generic SPI. The implementation only 1100e6aae08SPiotr Bugalski supports spi-mem interface. 1110e6aae08SPiotr Bugalski 112e32bb870SMark Brownconfig SPI_AU1550 113e32bb870SMark Brown tristate "Au1550/Au1200/Au1300 SPI Controller" 114e32bb870SMark Brown depends on MIPS_ALCHEMY 115e32bb870SMark Brown select SPI_BITBANG 116e32bb870SMark Brown help 117e32bb870SMark Brown If you say yes to this option, support will be included for the 118e32bb870SMark Brown PSC SPI controller found on Au1550, Au1200 and Au1300 series. 119e32bb870SMark Brown 120b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE 121b1353d1cSLars-Peter Clausen tristate "Analog Devices AXI SPI Engine controller" 122b1353d1cSLars-Peter Clausen depends on HAS_IOMEM 123b1353d1cSLars-Peter Clausen help 124b1353d1cSLars-Peter Clausen This enables support for the Analog Devices AXI SPI Engine SPI controller. 125b1353d1cSLars-Peter Clausen It is part of the SPI Engine framework that is used in some Analog Devices 126b1353d1cSLars-Peter Clausen reference designs for FPGAs. 127b1353d1cSLars-Peter Clausen 128f8043872SChris Bootconfig SPI_BCM2835 129f8043872SChris Boot tristate "BCM2835 SPI controller" 130e0d58cdcSYoshinori Sato depends on GPIOLIB 13135ceb675SFlorian Fainelli depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST 132f8043872SChris Boot help 133f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 134f8043872SChris Boot 135f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 136f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 137f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 138f8043872SChris Boot not supported. 139f8043872SChris Boot 1401ea29b39SMartin Sperlconfig SPI_BCM2835AUX 1411ea29b39SMartin Sperl tristate "BCM2835 SPI auxiliary controller" 14235ceb675SFlorian Fainelli depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST 1431ea29b39SMartin Sperl help 1441ea29b39SMartin Sperl This selects a driver for the Broadcom BCM2835 SPI aux master. 1451ea29b39SMartin Sperl 1461ea29b39SMartin Sperl The BCM2835 contains two types of SPI master controller; the 1471ea29b39SMartin Sperl "universal SPI master", and the regular SPI controller. 1481ea29b39SMartin Sperl This driver is for the universal/auxiliary SPI controller. 1491ea29b39SMartin Sperl 150b42dfed8SFlorian Fainelliconfig SPI_BCM63XX 151b42dfed8SFlorian Fainelli tristate "Broadcom BCM63xx SPI controller" 15244d8fb30SJonas Gorski depends on BCM63XX || COMPILE_TEST 153b42dfed8SFlorian Fainelli help 154b42dfed8SFlorian Fainelli Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 155b42dfed8SFlorian Fainelli 156142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI 157142168ebSJonas Gorski tristate "Broadcom BCM63XX HS SPI controller driver" 15879a15f49SFlorian Fainelli depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST 159142168ebSJonas Gorski help 160142168ebSJonas Gorski This enables support for the High Speed SPI controller present on 161142168ebSJonas Gorski newer Broadcom BCM63XX SoCs. 162142168ebSJonas Gorski 163fa236a7eSKamal Dasuconfig SPI_BCM_QSPI 164fa236a7eSKamal Dasu tristate "Broadcom BSPI and MSPI controller support" 165279e4af7SJaedon Shin depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 166279e4af7SJaedon Shin BMIPS_GENERIC || COMPILE_TEST 167fa236a7eSKamal Dasu default ARCH_BCM_IPROC 168fa236a7eSKamal Dasu help 169fa236a7eSKamal Dasu Enables support for the Broadcom SPI flash and MSPI controller. 170fa236a7eSKamal Dasu Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs 171fa236a7eSKamal Dasu based platforms. This driver works for both SPI master for spi-nor 172fa236a7eSKamal Dasu flash device as well as MSPI device. 173fa236a7eSKamal Dasu 1749904f22aSDavid Brownellconfig SPI_BITBANG 175d29389deSDavid Brownell tristate "Utilities for Bitbanging SPI masters" 1769904f22aSDavid Brownell help 1779904f22aSDavid Brownell With a few GPIO pins, your system can bitbang the SPI protocol. 1789904f22aSDavid Brownell Select this to get SPI support through I/O pins (GPIO, parallel 1799904f22aSDavid Brownell port, etc). Or, some systems' SPI master controller drivers use 1809904f22aSDavid Brownell this code to manage the per-word or per-transfer accesses to the 1819904f22aSDavid Brownell hardware shift registers. 1829904f22aSDavid Brownell 1839904f22aSDavid Brownell This is library code, and is automatically selected by drivers that 1849904f22aSDavid Brownell need it. You only need to select this explicitly to support driver 1859904f22aSDavid Brownell modules that aren't part of this kernel tree. 1868ae12a0dSDavid Brownell 1877111763dSDavid Brownellconfig SPI_BUTTERFLY 1887111763dSDavid Brownell tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 1896291fe2aSRobert P. J. Day depends on PARPORT 1907111763dSDavid Brownell select SPI_BITBANG 1917111763dSDavid Brownell help 1927111763dSDavid Brownell This uses a custom parallel port cable to connect to an AVR 1937111763dSDavid Brownell Butterfly <http://www.atmel.com/products/avr/butterfly>, an 1947111763dSDavid Brownell inexpensive battery powered microcontroller evaluation board. 1957111763dSDavid Brownell This same cable can be used to flash new firmware. 1967111763dSDavid Brownell 197c474b386SHarini Katakamconfig SPI_CADENCE 198c474b386SHarini Katakam tristate "Cadence SPI controller" 199c474b386SHarini Katakam help 200c474b386SHarini Katakam This selects the Cadence SPI controller master driver 20138b6484eSMichal Simek used by Xilinx Zynq and ZynqMP. 202c474b386SHarini Katakam 203161b96c3SAlexander Shiyanconfig SPI_CLPS711X 204161b96c3SAlexander Shiyan tristate "CLPS711X host SPI controller" 2055634dd8bSAxel Lin depends on ARCH_CLPS711X || COMPILE_TEST 206161b96c3SAlexander Shiyan help 207161b96c3SAlexander Shiyan This enables dedicated general purpose SPI/Microwire1-compatible 208161b96c3SAlexander Shiyan master mode interface (SSI1) for CLPS711X-based CPUs. 209161b96c3SAlexander Shiyan 21034b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI 21134b8c661SSteven King tristate "Freescale Coldfire QSPI controller" 212bce4d12bSSteven King depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 21334b8c661SSteven King help 21434b8c661SSteven King This enables support for the Coldfire QSPI controller in master 21534b8c661SSteven King mode. 21634b8c661SSteven King 217358934a6SSandeep Paulrajconfig SPI_DAVINCI 21823ce17adSSekhar Nori tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 21978848914SSantosh Shilimkar depends on ARCH_DAVINCI || ARCH_KEYSTONE 220358934a6SSandeep Paulraj select SPI_BITBANG 221358934a6SSandeep Paulraj help 22223ce17adSSekhar Nori SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 22323ce17adSSekhar Nori 224e32bb870SMark Brownconfig SPI_DESIGNWARE 225e32bb870SMark Brown tristate "DesignWare SPI controller core support" 226e32bb870SMark Brown help 227e32bb870SMark Brown general driver for SPI controller core from DesignWare 228e32bb870SMark Brown 229e32bb870SMark Brownconfig SPI_DW_PCI 230e32bb870SMark Brown tristate "PCI interface driver for DW SPI core" 231e32bb870SMark Brown depends on SPI_DESIGNWARE && PCI 232e32bb870SMark Brown 233e32bb870SMark Brownconfig SPI_DW_MID_DMA 234e32bb870SMark Brown bool "DMA support for DW SPI controller on Intel MID platform" 235e32bb870SMark Brown depends on SPI_DW_PCI && DW_DMAC_PCI 236e32bb870SMark Brown 237e32bb870SMark Brownconfig SPI_DW_MMIO 238e32bb870SMark Brown tristate "Memory-mapped io interface driver for DW SPI core" 239e32bb870SMark Brown depends on SPI_DESIGNWARE 240e32bb870SMark Brown 2413d8c0d74SLaurentiu Palcuconfig SPI_DLN2 2423d8c0d74SLaurentiu Palcu tristate "Diolan DLN-2 USB SPI adapter" 2433d8c0d74SLaurentiu Palcu depends on MFD_DLN2 2443d8c0d74SLaurentiu Palcu help 2453d8c0d74SLaurentiu Palcu If you say yes to this option, support will be included for Diolan 2463d8c0d74SLaurentiu Palcu DLN2, a USB to SPI interface. 2473d8c0d74SLaurentiu Palcu 2483d8c0d74SLaurentiu Palcu This driver can also be built as a module. If so, the module 2493d8c0d74SLaurentiu Palcu will be called spi-dln2. 2503d8c0d74SLaurentiu Palcu 25186f8973cSUwe Kleine-Königconfig SPI_EFM32 25286f8973cSUwe Kleine-König tristate "EFM32 SPI controller" 25386f8973cSUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 25486f8973cSUwe Kleine-König select SPI_BITBANG 25586f8973cSUwe Kleine-König help 25686f8973cSUwe Kleine-König Driver for the spi controller found on Energy Micro's EFM32 SoCs. 25786f8973cSUwe Kleine-König 258011f23a3SMika Westerbergconfig SPI_EP93XX 259011f23a3SMika Westerberg tristate "Cirrus Logic EP93xx SPI controller" 260dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 261011f23a3SMika Westerberg help 262011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 263011f23a3SMika Westerberg mode. 264011f23a3SMika Westerberg 2656cd3c7e2SThomas Langerconfig SPI_FALCON 2669c6a3af0SHauke Mehrtens bool "Falcon SPI controller support" 2676cd3c7e2SThomas Langer depends on SOC_FALCON 2686cd3c7e2SThomas Langer help 2696cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 2706cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 2716cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 2726cd3c7e2SThomas Langer support for other types of SPI peripherals. 2736cd3c7e2SThomas Langer 274bbb6b2f9SEddie Jamesconfig SPI_FSI 275bbb6b2f9SEddie James tristate "FSI SPI driver" 276bbb6b2f9SEddie James depends on FSI 277bbb6b2f9SEddie James help 278bbb6b2f9SEddie James This enables support for the driver for FSI bus attached SPI 279bbb6b2f9SEddie James controllers. 280bbb6b2f9SEddie James 2815314987dSGao Panconfig SPI_FSL_LPSPI 2825314987dSGao Pan tristate "Freescale i.MX LPSPI controller" 2835314987dSGao Pan depends on ARCH_MXC || COMPILE_TEST 2845314987dSGao Pan help 2855314987dSGao Pan This enables Freescale i.MX LPSPI controllers in master mode. 2865314987dSGao Pan 28784d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI 28884d04318SFrieder Schrempf tristate "Freescale QSPI controller" 28984d04318SFrieder Schrempf depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST 29084d04318SFrieder Schrempf depends on HAS_IOMEM 29184d04318SFrieder Schrempf help 29284d04318SFrieder Schrempf This enables support for the Quad SPI controller in master mode. 29384d04318SFrieder Schrempf Up to four flash chips can be connected on two buses with two 29484d04318SFrieder Schrempf chipselects each. 29584d04318SFrieder Schrempf This controller does not support generic SPI messages. It only 29684d04318SFrieder Schrempf supports the high-level SPI memory interface. 29784d04318SFrieder Schrempf 298a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX 299a2ca53b5SJohn Garry tristate "HiSilicon SPI-NOR Flash Controller for Hi16XX chipsets" 300a2ca53b5SJohn Garry depends on (ARM64 && ACPI) || COMPILE_TEST 301a2ca53b5SJohn Garry depends on HAS_IOMEM 302a2ca53b5SJohn Garry help 303a2ca53b5SJohn Garry This enables support for HiSilicon v3xx SPI-NOR flash controller 304a2ca53b5SJohn Garry found in hi16xx chipsets. 305a2ca53b5SJohn Garry 306a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI 307a5356aefSYogesh Narayan Gaur tristate "NXP Flex SPI controller" 308a5356aefSYogesh Narayan Gaur depends on ARCH_LAYERSCAPE || HAS_IOMEM 309a5356aefSYogesh Narayan Gaur help 310a5356aefSYogesh Narayan Gaur This enables support for the Flex SPI controller in master mode. 311a5356aefSYogesh Narayan Gaur Up to four slave devices can be connected on two buses with two 312a5356aefSYogesh Narayan Gaur chipselects each. 313a5356aefSYogesh Narayan Gaur This controller does not support generic SPI messages and only 314a5356aefSYogesh Narayan Gaur supports the high-level SPI memory interface. 315a5356aefSYogesh Narayan Gaur 316d29389deSDavid Brownellconfig SPI_GPIO 317d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 3185c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 319d29389deSDavid Brownell select SPI_BITBANG 320d29389deSDavid Brownell help 321d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 322d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 323d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 324d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 325d29389deSDavid Brownell for the chipselect used by this controller driver. 326d29389deSDavid Brownell 327d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 328d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 329d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 330d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 331d29389deSDavid Brownell 332deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 333deba2580SAndrew Bresticker tristate "IMG SPFI controller" 334deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 335deba2580SAndrew Bresticker help 336deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 337deba2580SAndrew Bresticker IMG SoCs. 338deba2580SAndrew Bresticker 339b5f3294fSSascha Hauerconfig SPI_IMX 340b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 341dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 342b5f3294fSSascha Hauer select SPI_BITBANG 343b5f3294fSSascha Hauer help 3442e236bafSFabio Estevam This enables support for the Freescale i.MX SPI controllers. 345b5f3294fSSascha Hauer 3462cb1b3b3SRich Felkerconfig SPI_JCORE 3472cb1b3b3SRich Felker tristate "J-Core SPI Master" 3482cb1b3b3SRich Felker depends on OF && (SUPERH || COMPILE_TEST) 3492cb1b3b3SRich Felker help 3502cb1b3b3SRich Felker This enables support for the SPI master controller in the J-Core 3512cb1b3b3SRich Felker synthesizable, open source SoC. 3522cb1b3b3SRich Felker 35378961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 35478961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 3556d1f56aaSKees Cook depends on PARPORT 35678961a57SKaiwan N Billimoria select SPI_BITBANG 35778961a57SKaiwan N Billimoria help 35878961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 35978961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 36078961a57SKaiwan N Billimoria a parallel port. 36178961a57SKaiwan N Billimoria 3627ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC 3637ecbfff6SSergei Ianovich tristate "ICP DAS LP-8841 SPI Controller for RTC" 3647ecbfff6SSergei Ianovich depends on MACH_PXA27X_DT || COMPILE_TEST 3657ecbfff6SSergei Ianovich help 3667ecbfff6SSergei Ianovich This driver provides an SPI master device to drive Maxim 3677ecbfff6SSergei Ianovich DS-1302 real time clock. 3687ecbfff6SSergei Ianovich 3697ecbfff6SSergei Ianovich Say N here unless you plan to run the kernel on an ICP DAS 3707ecbfff6SSergei Ianovich LP-8x4x industrial computer. 3717ecbfff6SSergei Ianovich 37242bbb709SGrant Likelyconfig SPI_MPC52xx 37342bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 3747433f2b7SPaul Bolle depends on PPC_MPC52xx 37542bbb709SGrant Likely help 37642bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 37742bbb709SGrant Likely mode. 37842bbb709SGrant Likely 37900b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 38000b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 3816d1f56aaSKees Cook depends on PPC_MPC52xx 38200b8fd23SDragos Carp help 38300b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 38400b8fd23SDragos Carp Controller in master SPI mode. 38500b8fd23SDragos Carp 3866e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 3876e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 3885e8afa34SUwe Kleine-König depends on PPC_MPC512x 3896e27388fSAnatolij Gustschin help 3906e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 3916e27388fSAnatolij Gustschin Controller in SPI master mode. 3926e27388fSAnatolij Gustschin 393b36ece83SMingkai Huconfig SPI_FSL_LIB 394b36ece83SMingkai Hu tristate 395e8beacbbSAndreas Larsson depends on OF 396e8beacbbSAndreas Larsson 397e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 398e8beacbbSAndreas Larsson tristate 399b36ece83SMingkai Hu depends on FSL_SOC 400b36ece83SMingkai Hu 4013272029fSMingkai Huconfig SPI_FSL_SPI 40238455d7aSEsben Haabendal tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 403e8beacbbSAndreas Larsson depends on OF 404b36ece83SMingkai Hu select SPI_FSL_LIB 405e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 406ccf06998SKumar Gala help 4073272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 4083272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 4093272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 410447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 411447b0c7bSAndreas Larsson master mode. 412ccf06998SKumar Gala 413349ad66cSChao Fuconfig SPI_FSL_DSPI 414349ad66cSChao Fu tristate "Freescale DSPI controller" 4151acbdeb9SChao Fu select REGMAP_MMIO 416ec7ed770SAngelo Dureghello depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST 417349ad66cSChao Fu help 418349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 4190dcdcd0eSAngelo Dureghello mode. VF610, LS1021A and ColdFire platforms uses the controller. 420349ad66cSChao Fu 4218b60d6c2SMingkai Huconfig SPI_FSL_ESPI 42238455d7aSEsben Haabendal tristate "Freescale eSPI controller" 4238b60d6c2SMingkai Hu depends on FSL_SOC 4248b60d6c2SMingkai Hu help 4258b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 4268b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 4278b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 4288b60d6c2SMingkai Hu 429454fa271SNeil Armstrongconfig SPI_MESON_SPICC 430454fa271SNeil Armstrong tristate "Amlogic Meson SPICC controller" 4313e0cf4d3SSunny Luo depends on COMMON_CLK 432454fa271SNeil Armstrong depends on ARCH_MESON || COMPILE_TEST 433454fa271SNeil Armstrong help 434454fa271SNeil Armstrong This enables master mode support for the SPICC (SPI communication 435454fa271SNeil Armstrong controller) available in Amlogic Meson SoCs. 436454fa271SNeil Armstrong 437c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 438c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 439c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 4401327ecd4SBeniamino Galvani select REGMAP_MMIO 441c3e4bc54SBeniamino Galvani help 442c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 443c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 444c3e4bc54SBeniamino Galvani 445a568231fSLeilk Liuconfig SPI_MT65XX 446a568231fSLeilk Liu tristate "MediaTek SPI controller" 447a568231fSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 448a568231fSLeilk Liu help 449a568231fSLeilk Liu This selects the MediaTek(R) SPI bus driver. 450a568231fSLeilk Liu If you want to use MediaTek(R) SPI interface, 451a568231fSLeilk Liu say Y or M here.If you are not sure, say N. 452a568231fSLeilk Liu SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 453a568231fSLeilk Liu 454cbd66c62SStefan Roeseconfig SPI_MT7621 455cbd66c62SStefan Roese tristate "MediaTek MT7621 SPI Controller" 456cbd66c62SStefan Roese depends on RALINK || COMPILE_TEST 457cbd66c62SStefan Roese help 458cbd66c62SStefan Roese This selects a driver for the MediaTek MT7621 SPI Controller. 459cbd66c62SStefan Roese 460881d1ee9SChuanhong Guoconfig SPI_MTK_NOR 461881d1ee9SChuanhong Guo tristate "MediaTek SPI NOR controller" 462881d1ee9SChuanhong Guo depends on ARCH_MEDIATEK || COMPILE_TEST 463881d1ee9SChuanhong Guo help 464881d1ee9SChuanhong Guo This enables support for SPI NOR controller found on MediaTek 465881d1ee9SChuanhong Guo ARM SoCs. This is a controller specifically for SPI-NOR flash. 466881d1ee9SChuanhong Guo It can perform generic SPI transfers up to 6 bytes via generic 467881d1ee9SChuanhong Guo SPI interface as well as several SPI-NOR specific instructions 468881d1ee9SChuanhong Guo via SPI MEM interface. 469881d1ee9SChuanhong Guo 470ace55c41STomer Maimonconfig SPI_NPCM_FIU 471ace55c41STomer Maimon tristate "Nuvoton NPCM FLASH Interface Unit" 472ace55c41STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 473ace55c41STomer Maimon depends on OF && HAS_IOMEM 474ace55c41STomer Maimon help 475ace55c41STomer Maimon This enables support for the Flash Interface Unit SPI controller 476ace55c41STomer Maimon in master mode. 477ace55c41STomer Maimon This driver does not support generic SPI. The implementation only 478ace55c41STomer Maimon supports spi-mem interface. 479ace55c41STomer Maimon 4802a22f1b3STomer Maimonconfig SPI_NPCM_PSPI 4812a22f1b3STomer Maimon tristate "Nuvoton NPCM PSPI Controller" 4822a22f1b3STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 4832a22f1b3STomer Maimon help 4842a22f1b3STomer Maimon This driver provides support for Nuvoton NPCM BMC 4852a22f1b3STomer Maimon Peripheral SPI controller in master mode. 4862a22f1b3STomer Maimon 48717f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC 48817f84b79SHauke Mehrtens tristate "Lantiq SSC SPI controller" 489582c97f6SHauke Mehrtens depends on LANTIQ || COMPILE_TEST 49017f84b79SHauke Mehrtens help 49117f84b79SHauke Mehrtens This driver supports the Lantiq SSC SPI controller in master 49217f84b79SHauke Mehrtens mode. This controller is found on Intel (former Lantiq) SoCs like 49317f84b79SHauke Mehrtens the Danube, Falcon, xRX200, xRX300. 49417f84b79SHauke Mehrtens 495ce792580SThomas Chouconfig SPI_OC_TINY 496ce792580SThomas Chou tristate "OpenCores tiny SPI" 4975c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 498ce792580SThomas Chou select SPI_BITBANG 499ce792580SThomas Chou help 500ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 501ce792580SThomas Chou 5026b52c00fSDavid Daneyconfig SPI_OCTEON 5036b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 5049ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 5056b52c00fSDavid Daney help 5066b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 5076b52c00fSDavid Daney SOCs. 5086b52c00fSDavid Daney 509fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 510fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 5116291fe2aSRobert P. J. Day depends on ARCH_OMAP1 512fdb3c18dSDavid Brownell select SPI_BITBANG 513fdb3c18dSDavid Brownell help 514fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 515fdb3c18dSDavid Brownell 516ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 5178ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 51881df42d1SVignesh R depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST 5192b32e987SFranklin S Cooper Jr select SG_SPLIT 520ccdc7bf9SSamuel Ortiz help 5218ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 522ccdc7bf9SSamuel Ortiz (McSPI) modules. 52369c202afSAndrea Paterniani 524505a1495SSourav Poddarconfig SPI_TI_QSPI 525505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 526505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 527505a1495SSourav Poddar help 528505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 529505a1495SSourav Poddar This device supports single, dual and quad read support, while 530505a1495SSourav Poddar it only supports single write mode. 531505a1495SSourav Poddar 53235c9049bSCory Maccarroneconfig SPI_OMAP_100K 53335c9049bSCory Maccarrone tristate "OMAP SPI 100K" 534dd1053a9SMark Brown depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 53535c9049bSCory Maccarrone help 53635c9049bSCory Maccarrone OMAP SPI 100K master controller for omap7xx boards. 53735c9049bSCory Maccarrone 53860cadec9SShadi Ammouriconfig SPI_ORION 5396d1f56aaSKees Cook tristate "Orion SPI master" 540710a1d54SThomas Petazzoni depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 54160cadec9SShadi Ammouri help 54273482910SUwe Kleine-König This enables using the SPI master controller on the Orion 54373482910SUwe Kleine-König and MVEBU chips. 54460cadec9SShadi Ammouri 5451bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32 5461bcb9f8cSPurna Chandra Mandal tristate "Microchip PIC32 series SPI" 5471bcb9f8cSPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 5481bcb9f8cSPurna Chandra Mandal help 5491bcb9f8cSPurna Chandra Mandal SPI driver for Microchip PIC32 SPI master controller. 5501bcb9f8cSPurna Chandra Mandal 5513270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI 5523270ac23SPurna Chandra Mandal tristate "Microchip PIC32 Quad SPI driver" 5533270ac23SPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 5543270ac23SPurna Chandra Mandal help 5553270ac23SPurna Chandra Mandal SPI driver for PIC32 Quad SPI controller. 5563270ac23SPurna Chandra Mandal 557b43d65f7SLinus Walleijconfig SPI_PL022 5587f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 5597f9a4b97SLinus Walleij depends on ARM_AMBA 560b43d65f7SLinus Walleij default y if MACH_U300 561f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 562f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 563f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 564b43d65f7SLinus Walleij help 565b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 566b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 567b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 568b43d65f7SLinus Walleij 56944dab88eSSteven A. Falcoconfig SPI_PPC4xx 57044dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 5715e8afa34SUwe Kleine-König depends on PPC32 && 4xx 57244dab88eSSteven A. Falco select SPI_BITBANG 57344dab88eSSteven A. Falco help 57444dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 57544dab88eSSteven A. Falco 576e0c9905eSStephen Streetconfig SPI_PXA2XX 577e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 5780d441644SGeert Uytterhoeven depends on ARCH_PXA || ARCH_MMP || PCI || ACPI || COMPILE_TEST 579128345b1SArnd Bergmann select PXA_SSP if ARCH_PXA || ARCH_MMP 580e0c9905eSStephen Street help 581d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 582d6ea3df0SSebastian Andrzej Siewior controller. The driver can be configured to use any SSP port and 5839cdd273eSMauro Carvalho Chehab additional documentation can be found a Documentation/spi/pxa2xx.rst. 584d6ea3df0SSebastian Andrzej Siewior 585d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 586afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 587e0c9905eSStephen Street 58864e36824Saddy keconfig SPI_ROCKCHIP 58964e36824Saddy ke tristate "Rockchip SPI controller driver" 59064e36824Saddy ke help 59164e36824Saddy ke This selects a driver for Rockchip SPI controller. 59264e36824Saddy ke 59364e36824Saddy ke If you say yes to this option, support will be included for 59464e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 59564e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 59664e36824Saddy ke The main usecase of this controller is to use spi flash as boot 59764e36824Saddy ke device. 59864e36824Saddy ke 59905aec357SBert Vermeulenconfig SPI_RB4XX 60005aec357SBert Vermeulen tristate "Mikrotik RB4XX SPI master" 60105aec357SBert Vermeulen depends on SPI_MASTER && ATH79 60205aec357SBert Vermeulen help 60305aec357SBert Vermeulen SPI controller driver for the Mikrotik RB4xx series boards. 60405aec357SBert Vermeulen 6050b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 606e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 6073aec3166SSimon Horman depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 6080b2182ddSShimoda, Yoshihiro help 609e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 6100b2182ddSShimoda, Yoshihiro 61104000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI 61204000dc6SGirish Mahadevan tristate "QTI QSPI controller" 61304000dc6SGirish Mahadevan depends on ARCH_QCOM 61404000dc6SGirish Mahadevan help 61504000dc6SGirish Mahadevan QSPI(Quad SPI) driver for Qualcomm QSPI controller. 61604000dc6SGirish Mahadevan 61764ff247aSIvan T. Ivanovconfig SPI_QUP 61864ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 619058f11c8SPaul Bolle depends on ARCH_QCOM || (ARM && COMPILE_TEST) 62064ff247aSIvan T. Ivanov help 62164ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 62264ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 62364ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 62464ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 62564ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 62664ff247aSIvan T. Ivanov 62764ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 62864ff247aSIvan T. Ivanov will be called spi_qup. 6298ae12a0dSDavid Brownell 630561de45fSGirish Mahadevanconfig SPI_QCOM_GENI 631561de45fSGirish Mahadevan tristate "Qualcomm GENI based SPI controller" 632561de45fSGirish Mahadevan depends on QCOM_GENI_SE 633561de45fSGirish Mahadevan help 634561de45fSGirish Mahadevan This driver supports GENI serial engine based SPI controller in 635561de45fSGirish Mahadevan master mode on the Qualcomm Technologies Inc.'s SoCs. If you say 636561de45fSGirish Mahadevan yes to this option, support will be included for the built-in SPI 637561de45fSGirish Mahadevan interface on the Qualcomm Technologies Inc.'s SoCs. 638561de45fSGirish Mahadevan 639561de45fSGirish Mahadevan This driver can also be built as a module. If so, the module 640561de45fSGirish Mahadevan will be called spi-geni-qcom. 641561de45fSGirish Mahadevan 64285abfaa7SDavid Brownellconfig SPI_S3C24XX 64385abfaa7SDavid Brownell tristate "Samsung S3C24XX series SPI" 6446d1f56aaSKees Cook depends on ARCH_S3C24XX 645da0abc27SDavid Brownell select SPI_BITBANG 64685abfaa7SDavid Brownell help 64785abfaa7SDavid Brownell SPI driver for Samsung S3C24XX series ARM SoCs 64885abfaa7SDavid Brownell 649bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ 650bec0806cSBen Dooks bool "S3C24XX driver with FIQ pseudo-DMA" 651bec0806cSBen Dooks depends on SPI_S3C24XX 652bec0806cSBen Dooks select FIQ 653bec0806cSBen Dooks help 654bec0806cSBen Dooks Enable FIQ support for the S3C24XX SPI driver to provide pseudo 655bec0806cSBen Dooks DMA by using the fast-interrupt request framework, This allows 656bec0806cSBen Dooks the driver to get DMA-like performance when there are either 657bec0806cSBen Dooks no free DMA channels, or when doing transfers that required both 658bec0806cSBen Dooks TX and RX data paths. 659bec0806cSBen Dooks 660230d42d4SJassi Brarconfig SPI_S3C64XX 661230d42d4SJassi Brar tristate "Samsung S3C64XX series type SPI" 662b099b131SJavier Martinez Canillas depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) 663230d42d4SJassi Brar help 664230d42d4SJassi Brar SPI driver for Samsung S3C64XX and newer SoCs. 665230d42d4SJassi Brar 6663ce8859eSGuenter Roeckconfig SPI_SC18IS602 6673ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 6683ce8859eSGuenter Roeck depends on I2C 6693ce8859eSGuenter Roeck help 6703ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 6713ce8859eSGuenter Roeck 6728051effcSMagnus Dammconfig SPI_SH_MSIOF 6738051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 674e5b43ed2SGeert Uytterhoeven depends on HAVE_CLK 6756ffc84ddSGeert Uytterhoeven depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 6768051effcSMagnus Damm help 677746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 6788051effcSMagnus Damm 6795c05dd07SYoshihiro Shimodaconfig SPI_SH 6805c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 681dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 6825c05dd07SYoshihiro Shimoda help 6835c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 6845c05dd07SYoshihiro Shimoda 68537e46640SMagnus Dammconfig SPI_SH_SCI 68637e46640SMagnus Damm tristate "SuperH SCI SPI controller" 6876291fe2aSRobert P. J. Day depends on SUPERH 68837e46640SMagnus Damm select SPI_BITBANG 68937e46640SMagnus Damm help 69037e46640SMagnus Damm SPI driver for SuperH SCI blocks. 69137e46640SMagnus Damm 692d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 693d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 6943aec3166SSimon Horman depends on ARCH_RENESAS || COMPILE_TEST 695d1c8bbd7SKuninori Morimoto help 696d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 697d1c8bbd7SKuninori Morimoto 698484a9a68SYash Shahconfig SPI_SIFIVE 699484a9a68SYash Shah tristate "SiFive SPI controller" 700484a9a68SYash Shah depends on HAS_IOMEM 701484a9a68SYash Shah help 702484a9a68SYash Shah This exposes the SPI controller IP from SiFive. 703484a9a68SYash Shah 7041cc2df9dSZhiwu Songconfig SPI_SIRF 7051cc2df9dSZhiwu Song tristate "CSR SiRFprimaII SPI controller" 7067668c294SMark Brown depends on SIRF_DMA 7071cc2df9dSZhiwu Song select SPI_BITBANG 7081cc2df9dSZhiwu Song help 7091cc2df9dSZhiwu Song SPI driver for CSR SiRFprimaII SoCs 7101cc2df9dSZhiwu Song 711805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX 712805be7ddSLeilk Liu tristate "MediaTek SPI slave device" 713805be7ddSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 714805be7ddSLeilk Liu depends on SPI_SLAVE 715805be7ddSLeilk Liu help 716805be7ddSLeilk Liu This selects the MediaTek(R) SPI slave device driver. 717805be7ddSLeilk Liu If you want to use MediaTek(R) SPI slave interface, 718805be7ddSLeilk Liu say Y or M here.If you are not sure, say N. 719805be7ddSLeilk Liu SPI slave drivers for Mediatek MT27XX series ARM SoCs. 720805be7ddSLeilk Liu 721e7d973a3SLanqing Liuconfig SPI_SPRD 722e7d973a3SLanqing Liu tristate "Spreadtrum SPI controller" 723e7d973a3SLanqing Liu depends on ARCH_SPRD || COMPILE_TEST 724e7d973a3SLanqing Liu help 725e7d973a3SLanqing Liu SPI driver for Spreadtrum SoCs. 726e7d973a3SLanqing Liu 7277e2903cbSBaolin Wangconfig SPI_SPRD_ADI 7287e2903cbSBaolin Wang tristate "Spreadtrum ADI controller" 7297e2903cbSBaolin Wang depends on ARCH_SPRD || COMPILE_TEST 730e83f3742SArnd Bergmann depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 7317e2903cbSBaolin Wang help 7327e2903cbSBaolin Wang ADI driver based on SPI for Spreadtrum SoCs. 7337e2903cbSBaolin Wang 734dcbe0d84SAmelie Delaunayconfig SPI_STM32 735dcbe0d84SAmelie Delaunay tristate "STMicroelectronics STM32 SPI controller" 736dcbe0d84SAmelie Delaunay depends on ARCH_STM32 || COMPILE_TEST 737dcbe0d84SAmelie Delaunay help 738bb35c9f9SCezary Gapinski SPI driver for STMicroelectronics STM32 SoCs. 739dcbe0d84SAmelie Delaunay 740dcbe0d84SAmelie Delaunay STM32 SPI controller supports DMA and PIO modes. When DMA 741dcbe0d84SAmelie Delaunay is not available, the driver automatically falls back to 742dcbe0d84SAmelie Delaunay PIO mode. 743dcbe0d84SAmelie Delaunay 744c530cd1dSLudovic Barreconfig SPI_STM32_QSPI 745c530cd1dSLudovic Barre tristate "STMicroelectronics STM32 QUAD SPI controller" 746c530cd1dSLudovic Barre depends on ARCH_STM32 || COMPILE_TEST 747c530cd1dSLudovic Barre depends on OF 748c530cd1dSLudovic Barre help 749c530cd1dSLudovic Barre This enables support for the Quad SPI controller in master mode. 750c530cd1dSLudovic Barre This driver does not support generic SPI. The implementation only 751c530cd1dSLudovic Barre supports spi-mem interface. 752c530cd1dSLudovic Barre 7539e862375SLee Jonesconfig SPI_ST_SSC4 7549e862375SLee Jones tristate "STMicroelectronics SPI SSC-based driver" 75583fefd2dSAxel Lin depends on ARCH_STI || COMPILE_TEST 7569e862375SLee Jones help 7579e862375SLee Jones STMicroelectronics SoCs support for SPI. If you say yes to 7589e862375SLee Jones this option, support will be included for the SSC driven SPI. 7599e862375SLee Jones 760b5f65179SMaxime Ripardconfig SPI_SUN4I 761b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 762b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 763b5f65179SMaxime Ripard help 764b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 765b5f65179SMaxime Ripard 7663558fe90SMaxime Ripardconfig SPI_SUN6I 7673558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 7683558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 7697961656aSMark Brown depends on RESET_CONTROLLER 7703558fe90SMaxime Ripard help 7713558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 7723558fe90SMaxime Ripard 773b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER 774b0823ee3SMasahisa Kojima tristate "Socionext's SynQuacer HighSpeed SPI controller" 775b0823ee3SMasahisa Kojima depends on ARCH_SYNQUACER || COMPILE_TEST 776b0823ee3SMasahisa Kojima help 777b0823ee3SMasahisa Kojima SPI driver for Socionext's High speed SPI controller which provides 778b0823ee3SMasahisa Kojima various operating modes for interfacing to serial peripheral devices 779b0823ee3SMasahisa Kojima that use the de-facto standard SPI protocol. 780b0823ee3SMasahisa Kojima 781b0823ee3SMasahisa Kojima It also supports the new dual-bit and quad-bit SPI protocol. 782b0823ee3SMasahisa Kojima 783b942d80bSMason Yangconfig SPI_MXIC 784b942d80bSMason Yang tristate "Macronix MX25F0A SPI controller" 785b942d80bSMason Yang depends on SPI_MASTER 786b942d80bSMason Yang help 787b942d80bSMason Yang This selects the Macronix MX25F0A SPI controller driver. 788b942d80bSMason Yang 789646781d3SMarek Vasutconfig SPI_MXS 790646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 791646781d3SMarek Vasut depends on ARCH_MXS 792646781d3SMarek Vasut select STMP_DEVICE 793646781d3SMarek Vasut help 794646781d3SMarek Vasut SPI driver for Freescale MXS devices. 795646781d3SMarek Vasut 796f333a331SLaxman Dewanganconfig SPI_TEGRA114 797f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 798dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 799e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 800f333a331SLaxman Dewangan help 801f333a331SLaxman Dewangan SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 802f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 803f333a331SLaxman Dewangan get changed with this controller. 804f333a331SLaxman Dewangan 8058528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 8068528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 807dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 808ff2251e3SStephen Warren depends on RESET_CONTROLLER 8098528547bSLaxman Dewangan help 8108528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 8118528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 8128528547bSLaxman Dewangan device. 8138528547bSLaxman Dewangan 814dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 815dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 816dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 817e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 818dc4dc360SLaxman Dewangan help 819dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 820dc4dc360SLaxman Dewangan 8217347a6c7SJan Glauberconfig SPI_THUNDERX 8227347a6c7SJan Glauber tristate "Cavium ThunderX SPI controller" 8237347a6c7SJan Glauber depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 8247347a6c7SJan Glauber help 8257347a6c7SJan Glauber SPI host driver for the hardware found on Cavium ThunderX 8267347a6c7SJan Glauber SOCs. 8277347a6c7SJan Glauber 828e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 82992b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 830f05ca854SPaul Burton depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 831e8b17b5bSMasayuki Ohtake help 832cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 833cdbc8f04SGrant Likely used in some x86 embedded processors. 834e8b17b5bSMasayuki Ohtake 83592b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 83692b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 837f016aeb6STomoya MORINAGA 838f2cac67dSAtsushi Nemotoconfig SPI_TXX9 839f2cac67dSAtsushi Nemoto tristate "Toshiba TXx9 SPI controller" 840dd1053a9SMark Brown depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 841f2cac67dSAtsushi Nemoto help 842f2cac67dSAtsushi Nemoto SPI driver for Toshiba TXx9 MIPS SoCs 843f2cac67dSAtsushi Nemoto 8445ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER 8455ba155a4SKeiji Hayashibara tristate "Socionext UniPhier SPI Controller" 8465ba155a4SKeiji Hayashibara depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 8475ba155a4SKeiji Hayashibara help 8485ba155a4SKeiji Hayashibara This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 8495ba155a4SKeiji Hayashibara 8505ba155a4SKeiji Hayashibara UniPhier SoCs have SCSSI and MCSSI SPI controllers. 8515ba155a4SKeiji Hayashibara Every UniPhier SoC has SCSSI which supports single channel. 8525ba155a4SKeiji Hayashibara Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 8535ba155a4SKeiji Hayashibara This driver supports SCSSI only. 8545ba155a4SKeiji Hayashibara 8555ba155a4SKeiji Hayashibara If your SoC supports SCSSI, say Y here. 8565ba155a4SKeiji Hayashibara 857b3165900SLars-Peter Clausenconfig SPI_XCOMM 858b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 859b3165900SLars-Peter Clausen depends on I2C 860b3165900SLars-Peter Clausen help 861b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 862b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 863b3165900SLars-Peter Clausen 864ae918c02SAndrei Konovalovconfig SPI_XILINX 865c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 8666d1f56aaSKees Cook depends on HAS_IOMEM 867ae918c02SAndrei Konovalov select SPI_BITBANG 868ae918c02SAndrei Konovalov help 869ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 870ae918c02SAndrei Konovalov 871ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 872ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 873ae918c02SAndrei Konovalov 874c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 875c9da2e12SRichard Röjfors 876d8c80d49SKamlakant Patelconfig SPI_XLP 877d8c80d49SKamlakant Patel tristate "Netlogic XLP SPI controller driver" 878251831bdSJayachandran C depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST 879d8c80d49SKamlakant Patel help 880d8c80d49SKamlakant Patel Enable support for the SPI controller on the Netlogic XLP SoCs. 881d8c80d49SKamlakant Patel Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX 882d8c80d49SKamlakant Patel and XLP5XX. 883d8c80d49SKamlakant Patel 884d8c80d49SKamlakant Patel If you have a Netlogic XLP platform say Y here. 885d8c80d49SKamlakant Patel If unsure, say N. 886d8c80d49SKamlakant Patel 8876840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 8886840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 889be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 8906840cc29SMax Filippov select SPI_BITBANG 8916840cc29SMax Filippov help 8926840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 8936840cc29SMax Filippov 8946840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 8956840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 8966840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 8976840cc29SMax Filippov start and deasserting on end. 8986840cc29SMax Filippov 89967dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI 90067dca5e5SNaga Sureshkumar Relli tristate "Xilinx Zynq QSPI controller" 90167dca5e5SNaga Sureshkumar Relli depends on ARCH_ZYNQ || COMPILE_TEST 90267dca5e5SNaga Sureshkumar Relli help 90367dca5e5SNaga Sureshkumar Relli This enables support for the Zynq Quad SPI controller 90467dca5e5SNaga Sureshkumar Relli in master mode. 90567dca5e5SNaga Sureshkumar Relli This controller only supports SPI memory interface. 90667dca5e5SNaga Sureshkumar Relli 907dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI 908dfe11a11SRanjit Waghmode tristate "Xilinx ZynqMP GQSPI controller" 90967dca5e5SNaga Sureshkumar Relli depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST 910dfe11a11SRanjit Waghmode help 911dfe11a11SRanjit Waghmode Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 912dfe11a11SRanjit Waghmode 913*bbb336f3SSanjay R Mehtaconfig SPI_AMD 914*bbb336f3SSanjay R Mehta tristate "AMD SPI controller" 915*bbb336f3SSanjay R Mehta depends on SPI_MASTER || COMPILE_TEST 916*bbb336f3SSanjay R Mehta help 917*bbb336f3SSanjay R Mehta Enables SPI controller driver for AMD SoC. 918*bbb336f3SSanjay R Mehta 9198ae12a0dSDavid Brownell# 9208ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 9218ae12a0dSDavid Brownell# 9228ae12a0dSDavid Brownell 923e9e40543SChris Packhamcomment "SPI Multiplexer support" 924e9e40543SChris Packham 925e9e40543SChris Packhamconfig SPI_MUX 926e9e40543SChris Packham tristate "SPI multiplexer support" 927e9e40543SChris Packham select MULTIPLEXER 928e9e40543SChris Packham help 929e9e40543SChris Packham This adds support for SPI multiplexers. Each SPI mux will be 930e9e40543SChris Packham accessible as a SPI controller, the devices behind the mux will appear 931e9e40543SChris Packham to be chip selects on this controller. It is still necessary to 932e9e40543SChris Packham select one or more specific mux-controller drivers. 933e9e40543SChris Packham 9348ae12a0dSDavid Brownell# 9358ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 9368ae12a0dSDavid Brownell# being probably the most widely used ones. 9378ae12a0dSDavid Brownell# 9388ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 9398ae12a0dSDavid Brownell 940814a8d50SAndrea Paternianiconfig SPI_SPIDEV 941814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 942814a8d50SAndrea Paterniani help 943814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 944814a8d50SAndrea Paterniani 945814a8d50SAndrea Paterniani Note that this application programming interface is EXPERIMENTAL 946814a8d50SAndrea Paterniani and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. 947814a8d50SAndrea Paterniani 94897896195SMartin Sperlconfig SPI_LOOPBACK_TEST 94997896195SMartin Sperl tristate "spi loopback test framework support" 95097896195SMartin Sperl depends on m 95197896195SMartin Sperl help 95297896195SMartin Sperl This enables the SPI loopback testing framework driver 95397896195SMartin Sperl 95497896195SMartin Sperl primarily used for development of spi_master drivers 95597896195SMartin Sperl and to detect regressions 95697896195SMartin Sperl 957447aef1aSBen Dooksconfig SPI_TLE62X0 958447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 9596291fe2aSRobert P. J. Day depends on SYSFS 960447aef1aSBen Dooks help 961447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 962447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 963447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 964447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 965447aef1aSBen Dooks 9668ae12a0dSDavid Brownell# 9678ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 9688ae12a0dSDavid Brownell# 9698ae12a0dSDavid Brownell 9706291fe2aSRobert P. J. Dayendif # SPI_MASTER 9716291fe2aSRobert P. J. Day 9726c364062SGeert Uytterhoeven# 9736c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters 9746c364062SGeert Uytterhoeven# 9756c364062SGeert Uytterhoeven 9766c364062SGeert Uytterhoevenconfig SPI_SLAVE 9776c364062SGeert Uytterhoeven bool "SPI slave protocol handlers" 9786c364062SGeert Uytterhoeven help 9796c364062SGeert Uytterhoeven If your system has a slave-capable SPI controller, you can enable 9806c364062SGeert Uytterhoeven slave protocol handlers. 9816c364062SGeert Uytterhoeven 9826c364062SGeert Uytterhoevenif SPI_SLAVE 9836c364062SGeert Uytterhoeven 98429f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME 98529f9ffa0SGeert Uytterhoeven tristate "SPI slave handler reporting boot up time" 98629f9ffa0SGeert Uytterhoeven help 98729f9ffa0SGeert Uytterhoeven SPI slave handler responding with the time of reception of the last 98829f9ffa0SGeert Uytterhoeven SPI message. 98929f9ffa0SGeert Uytterhoeven 990ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL 991ce70e06cSGeert Uytterhoeven tristate "SPI slave handler controlling system state" 992ce70e06cSGeert Uytterhoeven help 993ce70e06cSGeert Uytterhoeven SPI slave handler to allow remote control of system reboot, power 994ce70e06cSGeert Uytterhoeven off, halt, and suspend. 995ce70e06cSGeert Uytterhoeven 9966c364062SGeert Uytterhoevenendif # SPI_SLAVE 9978ae12a0dSDavid Brownell 99879d8c7a8SAlessandro Guidoendif # SPI 999