18ae12a0dSDavid Brownell# 28ae12a0dSDavid Brownell# SPI driver configuration 38ae12a0dSDavid Brownell# 48ae12a0dSDavid Brownell# NOTE: the reason this doesn't show SPI slave support is mostly that 58ae12a0dSDavid Brownell# nobody's needed a slave side API yet. The master-role API is not 68ae12a0dSDavid Brownell# fully appropriate there, so it'd need some thought to do well. 78ae12a0dSDavid Brownell# 879d8c7a8SAlessandro Guidomenuconfig SPI 98ae12a0dSDavid Brownell bool "SPI support" 1079d8c7a8SAlessandro Guido depends on HAS_IOMEM 118ae12a0dSDavid Brownell help 128ae12a0dSDavid Brownell The "Serial Peripheral Interface" is a low level synchronous 138ae12a0dSDavid Brownell protocol. Chips that support SPI can have data transfer rates 148ae12a0dSDavid Brownell up to several tens of Mbit/sec. Chips are addressed with a 158ae12a0dSDavid Brownell controller and a chipselect. Most SPI slaves don't support 168ae12a0dSDavid Brownell dynamic device discovery; some are even write-only or read-only. 178ae12a0dSDavid Brownell 183cb2fcccSMatt LaPlante SPI is widely used by microcontrollers to talk with sensors, 198ae12a0dSDavid Brownell eeprom and flash memory, codecs and various other controller 208ae12a0dSDavid Brownell chips, analog to digital (and d-to-a) converters, and more. 218ae12a0dSDavid Brownell MMC and SD cards can be accessed using SPI protocol; and for 228ae12a0dSDavid Brownell DataFlash cards used in MMC sockets, SPI must always be used. 238ae12a0dSDavid Brownell 248ae12a0dSDavid Brownell SPI is one of a family of similar protocols using a four wire 258ae12a0dSDavid Brownell interface (select, clock, data in, data out) including Microwire 268ae12a0dSDavid Brownell (half duplex), SSP, SSI, and PSP. This driver framework should 278ae12a0dSDavid Brownell work with most such devices and controllers. 288ae12a0dSDavid Brownell 2979d8c7a8SAlessandro Guidoif SPI 3079d8c7a8SAlessandro Guido 318ae12a0dSDavid Brownellconfig SPI_DEBUG 326341e62bSChristoph Jaeger bool "Debug support for SPI drivers" 3379d8c7a8SAlessandro Guido depends on DEBUG_KERNEL 348ae12a0dSDavid Brownell help 358ae12a0dSDavid Brownell Say "yes" to enable debug messaging (like dev_dbg and pr_debug), 368ae12a0dSDavid Brownell sysfs, and debugfs support in SPI controller and protocol drivers. 378ae12a0dSDavid Brownell 388ae12a0dSDavid Brownell# 398ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers 408ae12a0dSDavid Brownell# 418ae12a0dSDavid Brownell 428ae12a0dSDavid Brownellconfig SPI_MASTER 436341e62bSChristoph Jaeger# bool "SPI Master Support" 446341e62bSChristoph Jaeger bool 458ae12a0dSDavid Brownell default SPI 468ae12a0dSDavid Brownell help 478ae12a0dSDavid Brownell If your system has an master-capable SPI controller (which 488ae12a0dSDavid Brownell provides the clock and chipselect), you can enable that 498ae12a0dSDavid Brownell controller and the protocol drivers for the SPI slave chips 508ae12a0dSDavid Brownell that are connected. 518ae12a0dSDavid Brownell 526291fe2aSRobert P. J. Dayif SPI_MASTER 536291fe2aSRobert P. J. Day 548ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers" 558ae12a0dSDavid Brownell 560b782531SThomas Chouconfig SPI_ALTERA 570b782531SThomas Chou tristate "Altera SPI Controller" 580b782531SThomas Chou select SPI_BITBANG 590b782531SThomas Chou help 600b782531SThomas Chou This is the driver for the Altera SPI Controller. 610b782531SThomas Chou 628efaef4dSGabor Juhosconfig SPI_ATH79 638efaef4dSGabor Juhos tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 6476ec9d18SAlexandre Courbot depends on ATH79 && GPIOLIB 658efaef4dSGabor Juhos select SPI_BITBANG 668efaef4dSGabor Juhos help 678efaef4dSGabor Juhos This enables support for the SPI controller present on the 688efaef4dSGabor Juhos Atheros AR71XX/AR724X/AR913X SoCs. 698efaef4dSGabor Juhos 705762ab71SRomain Perierconfig SPI_ARMADA_3700 715762ab71SRomain Perier tristate "Marvell Armada 3700 SPI Controller" 725762ab71SRomain Perier depends on (ARCH_MVEBU && OF) || COMPILE_TEST 735762ab71SRomain Perier help 745762ab71SRomain Perier This enables support for the SPI controller present on the 755762ab71SRomain Perier Marvell Armada 3700 SoCs. 765762ab71SRomain Perier 77754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 78754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 79f59838a0SGeert Uytterhoeven depends on HAS_DMA 80dd1053a9SMark Brown depends on (ARCH_AT91 || AVR32 || COMPILE_TEST) 81754ce4f2SHaavard Skinnemoen help 82754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 83754ce4f2SHaavard Skinnemoen many AT32 (AVR32) and AT91 (ARM) chips. 84754ce4f2SHaavard Skinnemoen 85e32bb870SMark Brownconfig SPI_AU1550 86e32bb870SMark Brown tristate "Au1550/Au1200/Au1300 SPI Controller" 87e32bb870SMark Brown depends on MIPS_ALCHEMY 88e32bb870SMark Brown select SPI_BITBANG 89e32bb870SMark Brown help 90e32bb870SMark Brown If you say yes to this option, support will be included for the 91e32bb870SMark Brown PSC SPI controller found on Au1550, Au1200 and Au1300 series. 92e32bb870SMark Brown 93b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE 94b1353d1cSLars-Peter Clausen tristate "Analog Devices AXI SPI Engine controller" 95b1353d1cSLars-Peter Clausen depends on HAS_IOMEM 96b1353d1cSLars-Peter Clausen help 97b1353d1cSLars-Peter Clausen This enables support for the Analog Devices AXI SPI Engine SPI controller. 98b1353d1cSLars-Peter Clausen It is part of the SPI Engine framework that is used in some Analog Devices 99b1353d1cSLars-Peter Clausen reference designs for FPGAs. 100b1353d1cSLars-Peter Clausen 101f8043872SChris Bootconfig SPI_BCM2835 102f8043872SChris Boot tristate "BCM2835 SPI controller" 103e0d58cdcSYoshinori Sato depends on GPIOLIB 104dd1053a9SMark Brown depends on ARCH_BCM2835 || COMPILE_TEST 105f8043872SChris Boot help 106f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 107f8043872SChris Boot 108f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 109f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 110f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 111f8043872SChris Boot not supported. 112f8043872SChris Boot 1131ea29b39SMartin Sperlconfig SPI_BCM2835AUX 1141ea29b39SMartin Sperl tristate "BCM2835 SPI auxiliary controller" 1150697ae80SGeert Uytterhoeven depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST 1161ea29b39SMartin Sperl help 1171ea29b39SMartin Sperl This selects a driver for the Broadcom BCM2835 SPI aux master. 1181ea29b39SMartin Sperl 1191ea29b39SMartin Sperl The BCM2835 contains two types of SPI master controller; the 1201ea29b39SMartin Sperl "universal SPI master", and the regular SPI controller. 1211ea29b39SMartin Sperl This driver is for the universal/auxiliary SPI controller. 1221ea29b39SMartin Sperl 12322ac3e82SScott Jiangconfig SPI_BFIN5XX 124a5f6abd4SWu, Bryan tristate "SPI controller driver for ADI Blackfin5xx" 125fa4bd4f1SScott Jiang depends on BLACKFIN && !BF60x 126a5f6abd4SWu, Bryan help 127a5f6abd4SWu, Bryan This is the SPI controller master driver for Blackfin 5xx processor. 128a5f6abd4SWu, Bryan 129766e3721SScott Jiangconfig SPI_ADI_V3 130766e3721SScott Jiang tristate "SPI controller v3 for ADI" 131fa4bd4f1SScott Jiang depends on BF60x 132fa4bd4f1SScott Jiang help 133fa4bd4f1SScott Jiang This is the SPI controller v3 master driver 134fa4bd4f1SScott Jiang found on Blackfin 60x processor. 135fa4bd4f1SScott Jiang 1369c3e7375SCliff Caiconfig SPI_BFIN_SPORT 1379c3e7375SCliff Cai tristate "SPI bus via Blackfin SPORT" 1389c3e7375SCliff Cai depends on BLACKFIN 1399c3e7375SCliff Cai help 1409c3e7375SCliff Cai Enable support for a SPI bus via the Blackfin SPORT peripheral. 1419c3e7375SCliff Cai 1420fc6a323SRafał Miłeckiconfig SPI_BCM53XX 1430fc6a323SRafał Miłecki tristate "Broadcom BCM53xx SPI controller" 1440fc6a323SRafał Miłecki depends on ARCH_BCM_5301X 145933fc7b0SAxel Lin depends on BCMA_POSSIBLE 146933fc7b0SAxel Lin select BCMA 1470fc6a323SRafał Miłecki help 1480fc6a323SRafał Miłecki Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs. 1490fc6a323SRafał Miłecki 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" 158142168ebSJonas Gorski depends on BCM63XX || 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" 260f59838a0SGeert Uytterhoeven depends on HAS_DMA 261dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 262011f23a3SMika Westerberg help 263011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 264011f23a3SMika Westerberg mode. 265011f23a3SMika Westerberg 2666cd3c7e2SThomas Langerconfig SPI_FALCON 2679c6a3af0SHauke Mehrtens bool "Falcon SPI controller support" 2686cd3c7e2SThomas Langer depends on SOC_FALCON 2696cd3c7e2SThomas Langer help 2706cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 2716cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 2726cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 2736cd3c7e2SThomas Langer support for other types of SPI peripherals. 2746cd3c7e2SThomas Langer 2755314987dSGao Panconfig SPI_FSL_LPSPI 2765314987dSGao Pan tristate "Freescale i.MX LPSPI controller" 2775314987dSGao Pan depends on ARCH_MXC || COMPILE_TEST 2785314987dSGao Pan help 2795314987dSGao Pan This enables Freescale i.MX LPSPI controllers in master mode. 2805314987dSGao Pan 281d29389deSDavid Brownellconfig SPI_GPIO 282d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 2835c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 284d29389deSDavid Brownell select SPI_BITBANG 285d29389deSDavid Brownell help 286d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 287d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 288d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 289d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 290d29389deSDavid Brownell for the chipselect used by this controller driver. 291d29389deSDavid Brownell 292d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 293d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 294d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 295d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 296d29389deSDavid Brownell 297deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 298deba2580SAndrew Bresticker tristate "IMG SPFI controller" 299deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 300deba2580SAndrew Bresticker help 301deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 302deba2580SAndrew Bresticker IMG SoCs. 303deba2580SAndrew Bresticker 304b5f3294fSSascha Hauerconfig SPI_IMX 305b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 306dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 307b5f3294fSSascha Hauer select SPI_BITBANG 308b5f3294fSSascha Hauer help 309b5f3294fSSascha Hauer This enables using the Freescale i.MX SPI controllers in master 310b5f3294fSSascha Hauer mode. 311b5f3294fSSascha Hauer 3122cb1b3b3SRich Felkerconfig SPI_JCORE 3132cb1b3b3SRich Felker tristate "J-Core SPI Master" 3142cb1b3b3SRich Felker depends on OF && (SUPERH || COMPILE_TEST) 3152cb1b3b3SRich Felker help 3162cb1b3b3SRich Felker This enables support for the SPI master controller in the J-Core 3172cb1b3b3SRich Felker synthesizable, open source SoC. 3182cb1b3b3SRich Felker 31978961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 32078961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 3216d1f56aaSKees Cook depends on PARPORT 32278961a57SKaiwan N Billimoria select SPI_BITBANG 32378961a57SKaiwan N Billimoria help 32478961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 32578961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 32678961a57SKaiwan N Billimoria a parallel port. 32778961a57SKaiwan N Billimoria 3287ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC 3297ecbfff6SSergei Ianovich tristate "ICP DAS LP-8841 SPI Controller for RTC" 3307ecbfff6SSergei Ianovich depends on MACH_PXA27X_DT || COMPILE_TEST 3317ecbfff6SSergei Ianovich help 3327ecbfff6SSergei Ianovich This driver provides an SPI master device to drive Maxim 3337ecbfff6SSergei Ianovich DS-1302 real time clock. 3347ecbfff6SSergei Ianovich 3357ecbfff6SSergei Ianovich Say N here unless you plan to run the kernel on an ICP DAS 3367ecbfff6SSergei Ianovich LP-8x4x industrial computer. 3377ecbfff6SSergei Ianovich 33842bbb709SGrant Likelyconfig SPI_MPC52xx 33942bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 3407433f2b7SPaul Bolle depends on PPC_MPC52xx 34142bbb709SGrant Likely help 34242bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 34342bbb709SGrant Likely mode. 34442bbb709SGrant Likely 34500b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 34600b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 3476d1f56aaSKees Cook depends on PPC_MPC52xx 34800b8fd23SDragos Carp help 34900b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 35000b8fd23SDragos Carp Controller in master SPI mode. 35100b8fd23SDragos Carp 3526e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 3536e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 3545e8afa34SUwe Kleine-König depends on PPC_MPC512x 3556e27388fSAnatolij Gustschin help 3566e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 3576e27388fSAnatolij Gustschin Controller in SPI master mode. 3586e27388fSAnatolij Gustschin 359b36ece83SMingkai Huconfig SPI_FSL_LIB 360b36ece83SMingkai Hu tristate 361e8beacbbSAndreas Larsson depends on OF 362e8beacbbSAndreas Larsson 363e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 364e8beacbbSAndreas Larsson tristate 365b36ece83SMingkai Hu depends on FSL_SOC 366b36ece83SMingkai Hu 3673272029fSMingkai Huconfig SPI_FSL_SPI 36838455d7aSEsben Haabendal tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 369e8beacbbSAndreas Larsson depends on OF 370b36ece83SMingkai Hu select SPI_FSL_LIB 371e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 372ccf06998SKumar Gala help 3733272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 3743272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 3753272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 376447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 377447b0c7bSAndreas Larsson master mode. 378ccf06998SKumar Gala 379349ad66cSChao Fuconfig SPI_FSL_DSPI 380349ad66cSChao Fu tristate "Freescale DSPI controller" 3811acbdeb9SChao Fu select REGMAP_MMIO 382dadab2d4SGeert Uytterhoeven depends on HAS_DMA 3835a60adafSYuan Yao depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST 384349ad66cSChao Fu help 385349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 386349ad66cSChao Fu mode. VF610 platform uses the controller. 387349ad66cSChao Fu 3888b60d6c2SMingkai Huconfig SPI_FSL_ESPI 38938455d7aSEsben Haabendal tristate "Freescale eSPI controller" 3908b60d6c2SMingkai Hu depends on FSL_SOC 3918b60d6c2SMingkai Hu help 3928b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 3938b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 3948b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 3958b60d6c2SMingkai Hu 396c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 397c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 398c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 3991327ecd4SBeniamino Galvani select REGMAP_MMIO 400c3e4bc54SBeniamino Galvani help 401c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 402c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 403c3e4bc54SBeniamino Galvani 404a568231fSLeilk Liuconfig SPI_MT65XX 405a568231fSLeilk Liu tristate "MediaTek SPI controller" 406a568231fSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 407a568231fSLeilk Liu help 408a568231fSLeilk Liu This selects the MediaTek(R) SPI bus driver. 409a568231fSLeilk Liu If you want to use MediaTek(R) SPI interface, 410a568231fSLeilk Liu say Y or M here.If you are not sure, say N. 411a568231fSLeilk Liu SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 412a568231fSLeilk Liu 413e32bb870SMark Brownconfig SPI_NUC900 414e32bb870SMark Brown tristate "Nuvoton NUC900 series SPI" 415e32bb870SMark Brown depends on ARCH_W90X900 416e32bb870SMark Brown select SPI_BITBANG 417e32bb870SMark Brown help 418e32bb870SMark Brown SPI driver for Nuvoton NUC900 series ARM SoCs 419e32bb870SMark Brown 42017f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC 42117f84b79SHauke Mehrtens tristate "Lantiq SSC SPI controller" 422582c97f6SHauke Mehrtens depends on LANTIQ || COMPILE_TEST 42317f84b79SHauke Mehrtens help 42417f84b79SHauke Mehrtens This driver supports the Lantiq SSC SPI controller in master 42517f84b79SHauke Mehrtens mode. This controller is found on Intel (former Lantiq) SoCs like 42617f84b79SHauke Mehrtens the Danube, Falcon, xRX200, xRX300. 42717f84b79SHauke Mehrtens 428ce792580SThomas Chouconfig SPI_OC_TINY 429ce792580SThomas Chou tristate "OpenCores tiny SPI" 4305c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 431ce792580SThomas Chou select SPI_BITBANG 432ce792580SThomas Chou help 433ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 434ce792580SThomas Chou 4356b52c00fSDavid Daneyconfig SPI_OCTEON 4366b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 4379ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 4386b52c00fSDavid Daney help 4396b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 4406b52c00fSDavid Daney SOCs. 4416b52c00fSDavid Daney 442fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 443fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 4446291fe2aSRobert P. J. Day depends on ARCH_OMAP1 445fdb3c18dSDavid Brownell select SPI_BITBANG 446fdb3c18dSDavid Brownell help 447fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 448fdb3c18dSDavid Brownell 449ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 4508ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 451f59838a0SGeert Uytterhoeven depends on HAS_DMA 452dd1053a9SMark Brown depends on ARCH_OMAP2PLUS || COMPILE_TEST 4532b32e987SFranklin S Cooper Jr select SG_SPLIT 454ccdc7bf9SSamuel Ortiz help 4558ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 456ccdc7bf9SSamuel Ortiz (McSPI) modules. 45769c202afSAndrea Paterniani 458505a1495SSourav Poddarconfig SPI_TI_QSPI 459505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 460505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 461505a1495SSourav Poddar help 462505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 463505a1495SSourav Poddar This device supports single, dual and quad read support, while 464505a1495SSourav Poddar it only supports single write mode. 465505a1495SSourav Poddar 46635c9049bSCory Maccarroneconfig SPI_OMAP_100K 46735c9049bSCory Maccarrone tristate "OMAP SPI 100K" 468dd1053a9SMark Brown depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 46935c9049bSCory Maccarrone help 47035c9049bSCory Maccarrone OMAP SPI 100K master controller for omap7xx boards. 47135c9049bSCory Maccarrone 47260cadec9SShadi Ammouriconfig SPI_ORION 4736d1f56aaSKees Cook tristate "Orion SPI master" 474710a1d54SThomas Petazzoni depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 47560cadec9SShadi Ammouri help 47673482910SUwe Kleine-König This enables using the SPI master controller on the Orion 47773482910SUwe Kleine-König and MVEBU chips. 47860cadec9SShadi Ammouri 4791bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32 4801bcb9f8cSPurna Chandra Mandal tristate "Microchip PIC32 series SPI" 4811bcb9f8cSPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 4821bcb9f8cSPurna Chandra Mandal help 4831bcb9f8cSPurna Chandra Mandal SPI driver for Microchip PIC32 SPI master controller. 4841bcb9f8cSPurna Chandra Mandal 4853270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI 4863270ac23SPurna Chandra Mandal tristate "Microchip PIC32 Quad SPI driver" 4873270ac23SPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 48821825ff1SPurna Chandra Mandal depends on HAS_DMA 4893270ac23SPurna Chandra Mandal help 4903270ac23SPurna Chandra Mandal SPI driver for PIC32 Quad SPI controller. 4913270ac23SPurna Chandra Mandal 492b43d65f7SLinus Walleijconfig SPI_PL022 4937f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 4947f9a4b97SLinus Walleij depends on ARM_AMBA 495b43d65f7SLinus Walleij default y if MACH_U300 496f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 497f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 498f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 499b43d65f7SLinus Walleij help 500b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 501b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 502b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 503b43d65f7SLinus Walleij 50444dab88eSSteven A. Falcoconfig SPI_PPC4xx 50544dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 5065e8afa34SUwe Kleine-König depends on PPC32 && 4xx 50744dab88eSSteven A. Falco select SPI_BITBANG 50844dab88eSSteven A. Falco help 50944dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 51044dab88eSSteven A. Falco 511e0c9905eSStephen Streetconfig SPI_PXA2XX 512e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 5130244ad00SMartin Schwidefsky depends on (ARCH_PXA || PCI || ACPI) 514d6ea3df0SSebastian Andrzej Siewior select PXA_SSP if ARCH_PXA 515e0c9905eSStephen Street help 516d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 517d6ea3df0SSebastian Andrzej Siewior controller. The driver can be configured to use any SSP port and 518d6ea3df0SSebastian Andrzej Siewior additional documentation can be found a Documentation/spi/pxa2xx. 519d6ea3df0SSebastian Andrzej Siewior 520d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 521afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 522e0c9905eSStephen Street 52364e36824Saddy keconfig SPI_ROCKCHIP 52464e36824Saddy ke tristate "Rockchip SPI controller driver" 52564e36824Saddy ke help 52664e36824Saddy ke This selects a driver for Rockchip SPI controller. 52764e36824Saddy ke 52864e36824Saddy ke If you say yes to this option, support will be included for 52964e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 53064e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 53164e36824Saddy ke The main usecase of this controller is to use spi flash as boot 53264e36824Saddy ke device. 53364e36824Saddy ke 53405aec357SBert Vermeulenconfig SPI_RB4XX 53505aec357SBert Vermeulen tristate "Mikrotik RB4XX SPI master" 53605aec357SBert Vermeulen depends on SPI_MASTER && ATH79 53705aec357SBert Vermeulen help 53805aec357SBert Vermeulen SPI controller driver for the Mikrotik RB4xx series boards. 53905aec357SBert Vermeulen 5400b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 541e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 5423aec3166SSimon Horman depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 5430b2182ddSShimoda, Yoshihiro help 544e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 5450b2182ddSShimoda, Yoshihiro 54664ff247aSIvan T. Ivanovconfig SPI_QUP 54764ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 548058f11c8SPaul Bolle depends on ARCH_QCOM || (ARM && COMPILE_TEST) 54964ff247aSIvan T. Ivanov help 55064ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 55164ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 55264ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 55364ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 55464ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 55564ff247aSIvan T. Ivanov 55664ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 55764ff247aSIvan T. Ivanov will be called spi_qup. 5588ae12a0dSDavid Brownell 55985abfaa7SDavid Brownellconfig SPI_S3C24XX 56085abfaa7SDavid Brownell tristate "Samsung S3C24XX series SPI" 5616d1f56aaSKees Cook depends on ARCH_S3C24XX 562da0abc27SDavid Brownell select SPI_BITBANG 56385abfaa7SDavid Brownell help 56485abfaa7SDavid Brownell SPI driver for Samsung S3C24XX series ARM SoCs 56585abfaa7SDavid Brownell 566bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ 567bec0806cSBen Dooks bool "S3C24XX driver with FIQ pseudo-DMA" 568bec0806cSBen Dooks depends on SPI_S3C24XX 569bec0806cSBen Dooks select FIQ 570bec0806cSBen Dooks help 571bec0806cSBen Dooks Enable FIQ support for the S3C24XX SPI driver to provide pseudo 572bec0806cSBen Dooks DMA by using the fast-interrupt request framework, This allows 573bec0806cSBen Dooks the driver to get DMA-like performance when there are either 574bec0806cSBen Dooks no free DMA channels, or when doing transfers that required both 575bec0806cSBen Dooks TX and RX data paths. 576bec0806cSBen Dooks 577230d42d4SJassi Brarconfig SPI_S3C64XX 578230d42d4SJassi Brar tristate "Samsung S3C64XX series type SPI" 579b099b131SJavier Martinez Canillas depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) 580230d42d4SJassi Brar help 581230d42d4SJassi Brar SPI driver for Samsung S3C64XX and newer SoCs. 582230d42d4SJassi Brar 5833ce8859eSGuenter Roeckconfig SPI_SC18IS602 5843ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 5853ce8859eSGuenter Roeck depends on I2C 5863ce8859eSGuenter Roeck help 5873ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 5883ce8859eSGuenter Roeck 5898051effcSMagnus Dammconfig SPI_SH_MSIOF 5908051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 59151fd5090SGeert Uytterhoeven depends on HAVE_CLK && HAS_DMA 5926ffc84ddSGeert Uytterhoeven depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 5938051effcSMagnus Damm help 594746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 5958051effcSMagnus Damm 5965c05dd07SYoshihiro Shimodaconfig SPI_SH 5975c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 598dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 5995c05dd07SYoshihiro Shimoda help 6005c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 6015c05dd07SYoshihiro Shimoda 60237e46640SMagnus Dammconfig SPI_SH_SCI 60337e46640SMagnus Damm tristate "SuperH SCI SPI controller" 6046291fe2aSRobert P. J. Day depends on SUPERH 60537e46640SMagnus Damm select SPI_BITBANG 60637e46640SMagnus Damm help 60737e46640SMagnus Damm SPI driver for SuperH SCI blocks. 60837e46640SMagnus Damm 609d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 610d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 6113aec3166SSimon Horman depends on ARCH_RENESAS || COMPILE_TEST 612d1c8bbd7SKuninori Morimoto help 613d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 614d1c8bbd7SKuninori Morimoto 6151cc2df9dSZhiwu Songconfig SPI_SIRF 6161cc2df9dSZhiwu Song tristate "CSR SiRFprimaII SPI controller" 6177668c294SMark Brown depends on SIRF_DMA 6181cc2df9dSZhiwu Song select SPI_BITBANG 6191cc2df9dSZhiwu Song help 6201cc2df9dSZhiwu Song SPI driver for CSR SiRFprimaII SoCs 6211cc2df9dSZhiwu Song 6229e862375SLee Jonesconfig SPI_ST_SSC4 6239e862375SLee Jones tristate "STMicroelectronics SPI SSC-based driver" 62483fefd2dSAxel Lin depends on ARCH_STI || COMPILE_TEST 6259e862375SLee Jones help 6269e862375SLee Jones STMicroelectronics SoCs support for SPI. If you say yes to 6279e862375SLee Jones this option, support will be included for the SSC driven SPI. 6289e862375SLee Jones 629b5f65179SMaxime Ripardconfig SPI_SUN4I 630b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 631b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 632b5f65179SMaxime Ripard help 633b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 634b5f65179SMaxime Ripard 6353558fe90SMaxime Ripardconfig SPI_SUN6I 6363558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 6373558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 6387961656aSMark Brown depends on RESET_CONTROLLER 6393558fe90SMaxime Ripard help 6403558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 6413558fe90SMaxime Ripard 642646781d3SMarek Vasutconfig SPI_MXS 643646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 644646781d3SMarek Vasut depends on ARCH_MXS 645646781d3SMarek Vasut select STMP_DEVICE 646646781d3SMarek Vasut help 647646781d3SMarek Vasut SPI driver for Freescale MXS devices. 648646781d3SMarek Vasut 649f333a331SLaxman Dewanganconfig SPI_TEGRA114 650f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 651dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 652f59838a0SGeert Uytterhoeven depends on RESET_CONTROLLER && HAS_DMA 653f333a331SLaxman Dewangan help 654f333a331SLaxman Dewangan SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 655f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 656f333a331SLaxman Dewangan get changed with this controller. 657f333a331SLaxman Dewangan 6588528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 6598528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 660dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 661ff2251e3SStephen Warren depends on RESET_CONTROLLER 6628528547bSLaxman Dewangan help 6638528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 6648528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 6658528547bSLaxman Dewangan device. 6668528547bSLaxman Dewangan 667dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 668dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 669dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 670f59838a0SGeert Uytterhoeven depends on RESET_CONTROLLER && HAS_DMA 671dc4dc360SLaxman Dewangan help 672dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 673dc4dc360SLaxman Dewangan 6747347a6c7SJan Glauberconfig SPI_THUNDERX 6757347a6c7SJan Glauber tristate "Cavium ThunderX SPI controller" 6767347a6c7SJan Glauber depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 6777347a6c7SJan Glauber help 6787347a6c7SJan Glauber SPI host driver for the hardware found on Cavium ThunderX 6797347a6c7SJan Glauber SOCs. 6807347a6c7SJan Glauber 681e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 68292b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 683f05ca854SPaul Burton depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 684e8b17b5bSMasayuki Ohtake help 685cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 686cdbc8f04SGrant Likely used in some x86 embedded processors. 687e8b17b5bSMasayuki Ohtake 68892b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 68992b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 690f016aeb6STomoya MORINAGA 691f2cac67dSAtsushi Nemotoconfig SPI_TXX9 692f2cac67dSAtsushi Nemoto tristate "Toshiba TXx9 SPI controller" 693dd1053a9SMark Brown depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 694f2cac67dSAtsushi Nemoto help 695f2cac67dSAtsushi Nemoto SPI driver for Toshiba TXx9 MIPS SoCs 696f2cac67dSAtsushi Nemoto 697b3165900SLars-Peter Clausenconfig SPI_XCOMM 698b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 699b3165900SLars-Peter Clausen depends on I2C 700b3165900SLars-Peter Clausen help 701b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 702b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 703b3165900SLars-Peter Clausen 704ae918c02SAndrei Konovalovconfig SPI_XILINX 705c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 7066d1f56aaSKees Cook depends on HAS_IOMEM 707ae918c02SAndrei Konovalov select SPI_BITBANG 708ae918c02SAndrei Konovalov help 709ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 710ae918c02SAndrei Konovalov 711ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 712ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 713ae918c02SAndrei Konovalov 714c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 715c9da2e12SRichard Röjfors 716d8c80d49SKamlakant Patelconfig SPI_XLP 717d8c80d49SKamlakant Patel tristate "Netlogic XLP SPI controller driver" 718251831bdSJayachandran C depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST 719d8c80d49SKamlakant Patel help 720d8c80d49SKamlakant Patel Enable support for the SPI controller on the Netlogic XLP SoCs. 721d8c80d49SKamlakant Patel Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX 722d8c80d49SKamlakant Patel and XLP5XX. 723d8c80d49SKamlakant Patel 724d8c80d49SKamlakant Patel If you have a Netlogic XLP platform say Y here. 725d8c80d49SKamlakant Patel If unsure, say N. 726d8c80d49SKamlakant Patel 7276840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 7286840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 729be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 7306840cc29SMax Filippov select SPI_BITBANG 7316840cc29SMax Filippov help 7326840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 7336840cc29SMax Filippov 7346840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 7356840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 7366840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 7376840cc29SMax Filippov start and deasserting on end. 7386840cc29SMax Filippov 739dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI 740dfe11a11SRanjit Waghmode tristate "Xilinx ZynqMP GQSPI controller" 7412e1c75f4SGeert Uytterhoeven depends on SPI_MASTER && HAS_DMA 742dfe11a11SRanjit Waghmode help 743dfe11a11SRanjit Waghmode Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 744dfe11a11SRanjit Waghmode 7458ae12a0dSDavid Brownell# 7468ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 7478ae12a0dSDavid Brownell# 7488ae12a0dSDavid Brownell 7498ae12a0dSDavid Brownell# 7508ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 7518ae12a0dSDavid Brownell# being probably the most widely used ones. 7528ae12a0dSDavid Brownell# 7538ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 7548ae12a0dSDavid Brownell 755814a8d50SAndrea Paternianiconfig SPI_SPIDEV 756814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 757814a8d50SAndrea Paterniani help 758814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 759814a8d50SAndrea Paterniani 760814a8d50SAndrea Paterniani Note that this application programming interface is EXPERIMENTAL 761814a8d50SAndrea Paterniani and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. 762814a8d50SAndrea Paterniani 76397896195SMartin Sperlconfig SPI_LOOPBACK_TEST 76497896195SMartin Sperl tristate "spi loopback test framework support" 76597896195SMartin Sperl depends on m 76697896195SMartin Sperl help 76797896195SMartin Sperl This enables the SPI loopback testing framework driver 76897896195SMartin Sperl 76997896195SMartin Sperl primarily used for development of spi_master drivers 77097896195SMartin Sperl and to detect regressions 77197896195SMartin Sperl 772447aef1aSBen Dooksconfig SPI_TLE62X0 773447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 7746291fe2aSRobert P. J. Day depends on SYSFS 775447aef1aSBen Dooks help 776447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 777447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 778447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 779447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 780447aef1aSBen Dooks 7818ae12a0dSDavid Brownell# 7828ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 7838ae12a0dSDavid Brownell# 7848ae12a0dSDavid Brownell 7856291fe2aSRobert P. J. Dayendif # SPI_MASTER 7866291fe2aSRobert P. J. Day 7876c364062SGeert Uytterhoeven# 7886c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters 7896c364062SGeert Uytterhoeven# 7906c364062SGeert Uytterhoeven 7916c364062SGeert Uytterhoevenconfig SPI_SLAVE 7926c364062SGeert Uytterhoeven bool "SPI slave protocol handlers" 7936c364062SGeert Uytterhoeven help 7946c364062SGeert Uytterhoeven If your system has a slave-capable SPI controller, you can enable 7956c364062SGeert Uytterhoeven slave protocol handlers. 7966c364062SGeert Uytterhoeven 7976c364062SGeert Uytterhoevenif SPI_SLAVE 7986c364062SGeert Uytterhoeven 799*29f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME 800*29f9ffa0SGeert Uytterhoeven tristate "SPI slave handler reporting boot up time" 801*29f9ffa0SGeert Uytterhoeven help 802*29f9ffa0SGeert Uytterhoeven SPI slave handler responding with the time of reception of the last 803*29f9ffa0SGeert Uytterhoeven SPI message. 804*29f9ffa0SGeert Uytterhoeven 8056c364062SGeert Uytterhoevenendif # SPI_SLAVE 8068ae12a0dSDavid Brownell 80779d8c7a8SAlessandro Guidoendif # SPI 808