18ae12a0dSDavid Brownell# 28ae12a0dSDavid Brownell# SPI driver configuration 38ae12a0dSDavid Brownell# 479d8c7a8SAlessandro Guidomenuconfig SPI 58ae12a0dSDavid Brownell bool "SPI support" 679d8c7a8SAlessandro Guido depends on HAS_IOMEM 78ae12a0dSDavid Brownell help 88ae12a0dSDavid Brownell The "Serial Peripheral Interface" is a low level synchronous 98ae12a0dSDavid Brownell protocol. Chips that support SPI can have data transfer rates 108ae12a0dSDavid Brownell up to several tens of Mbit/sec. Chips are addressed with a 118ae12a0dSDavid Brownell controller and a chipselect. Most SPI slaves don't support 128ae12a0dSDavid Brownell dynamic device discovery; some are even write-only or read-only. 138ae12a0dSDavid Brownell 143cb2fcccSMatt LaPlante SPI is widely used by microcontrollers to talk with sensors, 158ae12a0dSDavid Brownell eeprom and flash memory, codecs and various other controller 168ae12a0dSDavid Brownell chips, analog to digital (and d-to-a) converters, and more. 178ae12a0dSDavid Brownell MMC and SD cards can be accessed using SPI protocol; and for 188ae12a0dSDavid Brownell DataFlash cards used in MMC sockets, SPI must always be used. 198ae12a0dSDavid Brownell 208ae12a0dSDavid Brownell SPI is one of a family of similar protocols using a four wire 218ae12a0dSDavid Brownell interface (select, clock, data in, data out) including Microwire 228ae12a0dSDavid Brownell (half duplex), SSP, SSI, and PSP. This driver framework should 238ae12a0dSDavid Brownell work with most such devices and controllers. 248ae12a0dSDavid Brownell 2579d8c7a8SAlessandro Guidoif SPI 2679d8c7a8SAlessandro Guido 278ae12a0dSDavid Brownellconfig SPI_DEBUG 286341e62bSChristoph Jaeger bool "Debug support for SPI drivers" 2979d8c7a8SAlessandro Guido depends on DEBUG_KERNEL 308ae12a0dSDavid Brownell help 318ae12a0dSDavid Brownell Say "yes" to enable debug messaging (like dev_dbg and pr_debug), 328ae12a0dSDavid Brownell sysfs, and debugfs support in SPI controller and protocol drivers. 338ae12a0dSDavid Brownell 348ae12a0dSDavid Brownell# 358ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers 368ae12a0dSDavid Brownell# 378ae12a0dSDavid Brownell 388ae12a0dSDavid Brownellconfig SPI_MASTER 396341e62bSChristoph Jaeger# bool "SPI Master Support" 406341e62bSChristoph Jaeger bool 418ae12a0dSDavid Brownell default SPI 428ae12a0dSDavid Brownell help 438ae12a0dSDavid Brownell If your system has an master-capable SPI controller (which 448ae12a0dSDavid Brownell provides the clock and chipselect), you can enable that 458ae12a0dSDavid Brownell controller and the protocol drivers for the SPI slave chips 468ae12a0dSDavid Brownell that are connected. 478ae12a0dSDavid Brownell 486291fe2aSRobert P. J. Dayif SPI_MASTER 496291fe2aSRobert P. J. Day 50c36ff266SBoris Brezillonconfig SPI_MEM 51c36ff266SBoris Brezillon bool "SPI memory extension" 52c36ff266SBoris Brezillon help 53c36ff266SBoris Brezillon Enable this option if you want to enable the SPI memory extension. 54c36ff266SBoris Brezillon This extension is meant to simplify interaction with SPI memories 5529e795caSFabio Estevam by providing a high-level interface to send memory-like commands. 56c36ff266SBoris Brezillon 578ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers" 588ae12a0dSDavid Brownell 590b782531SThomas Chouconfig SPI_ALTERA 600b782531SThomas Chou tristate "Altera SPI Controller" 610b782531SThomas Chou help 620b782531SThomas Chou This is the driver for the Altera SPI Controller. 630b782531SThomas Chou 648efaef4dSGabor Juhosconfig SPI_ATH79 658efaef4dSGabor Juhos tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 6676ec9d18SAlexandre Courbot depends on ATH79 && GPIOLIB 678efaef4dSGabor Juhos select SPI_BITBANG 688efaef4dSGabor Juhos help 698efaef4dSGabor Juhos This enables support for the SPI controller present on the 708efaef4dSGabor Juhos Atheros AR71XX/AR724X/AR913X SoCs. 718efaef4dSGabor Juhos 725762ab71SRomain Perierconfig SPI_ARMADA_3700 735762ab71SRomain Perier tristate "Marvell Armada 3700 SPI Controller" 745762ab71SRomain Perier depends on (ARCH_MVEBU && OF) || COMPILE_TEST 755762ab71SRomain Perier help 765762ab71SRomain Perier This enables support for the SPI controller present on the 775762ab71SRomain Perier Marvell Armada 3700 SoCs. 785762ab71SRomain Perier 79754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 80754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 81a687a533SArnd Bergmann depends on ARCH_AT91 || COMPILE_TEST 82754ce4f2SHaavard Skinnemoen help 83754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 84a687a533SArnd Bergmann many AT91 ARM chips. 85754ce4f2SHaavard Skinnemoen 86e32bb870SMark Brownconfig SPI_AU1550 87e32bb870SMark Brown tristate "Au1550/Au1200/Au1300 SPI Controller" 88e32bb870SMark Brown depends on MIPS_ALCHEMY 89e32bb870SMark Brown select SPI_BITBANG 90e32bb870SMark Brown help 91e32bb870SMark Brown If you say yes to this option, support will be included for the 92e32bb870SMark Brown PSC SPI controller found on Au1550, Au1200 and Au1300 series. 93e32bb870SMark Brown 94b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE 95b1353d1cSLars-Peter Clausen tristate "Analog Devices AXI SPI Engine controller" 96b1353d1cSLars-Peter Clausen depends on HAS_IOMEM 97b1353d1cSLars-Peter Clausen help 98b1353d1cSLars-Peter Clausen This enables support for the Analog Devices AXI SPI Engine SPI controller. 99b1353d1cSLars-Peter Clausen It is part of the SPI Engine framework that is used in some Analog Devices 100b1353d1cSLars-Peter Clausen reference designs for FPGAs. 101b1353d1cSLars-Peter Clausen 102f8043872SChris Bootconfig SPI_BCM2835 103f8043872SChris Boot tristate "BCM2835 SPI controller" 104e0d58cdcSYoshinori Sato depends on GPIOLIB 105dd1053a9SMark Brown depends on ARCH_BCM2835 || COMPILE_TEST 106f8043872SChris Boot help 107f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 108f8043872SChris Boot 109f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 110f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 111f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 112f8043872SChris Boot not supported. 113f8043872SChris Boot 1141ea29b39SMartin Sperlconfig SPI_BCM2835AUX 1151ea29b39SMartin Sperl tristate "BCM2835 SPI auxiliary controller" 1160697ae80SGeert Uytterhoeven depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST 1171ea29b39SMartin Sperl help 1181ea29b39SMartin Sperl This selects a driver for the Broadcom BCM2835 SPI aux master. 1191ea29b39SMartin Sperl 1201ea29b39SMartin Sperl The BCM2835 contains two types of SPI master controller; the 1211ea29b39SMartin Sperl "universal SPI master", and the regular SPI controller. 1221ea29b39SMartin Sperl This driver is for the universal/auxiliary SPI controller. 1231ea29b39SMartin Sperl 124b42dfed8SFlorian Fainelliconfig SPI_BCM63XX 125b42dfed8SFlorian Fainelli tristate "Broadcom BCM63xx SPI controller" 12644d8fb30SJonas Gorski depends on BCM63XX || COMPILE_TEST 127b42dfed8SFlorian Fainelli help 128b42dfed8SFlorian Fainelli Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 129b42dfed8SFlorian Fainelli 130142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI 131142168ebSJonas Gorski tristate "Broadcom BCM63XX HS SPI controller driver" 132142168ebSJonas Gorski depends on BCM63XX || COMPILE_TEST 133142168ebSJonas Gorski help 134142168ebSJonas Gorski This enables support for the High Speed SPI controller present on 135142168ebSJonas Gorski newer Broadcom BCM63XX SoCs. 136142168ebSJonas Gorski 137fa236a7eSKamal Dasuconfig SPI_BCM_QSPI 138fa236a7eSKamal Dasu tristate "Broadcom BSPI and MSPI controller support" 139279e4af7SJaedon Shin depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 140279e4af7SJaedon Shin BMIPS_GENERIC || COMPILE_TEST 141fa236a7eSKamal Dasu default ARCH_BCM_IPROC 142fa236a7eSKamal Dasu help 143fa236a7eSKamal Dasu Enables support for the Broadcom SPI flash and MSPI controller. 144fa236a7eSKamal Dasu Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs 145fa236a7eSKamal Dasu based platforms. This driver works for both SPI master for spi-nor 146fa236a7eSKamal Dasu flash device as well as MSPI device. 147fa236a7eSKamal Dasu 1489904f22aSDavid Brownellconfig SPI_BITBANG 149d29389deSDavid Brownell tristate "Utilities for Bitbanging SPI masters" 1509904f22aSDavid Brownell help 1519904f22aSDavid Brownell With a few GPIO pins, your system can bitbang the SPI protocol. 1529904f22aSDavid Brownell Select this to get SPI support through I/O pins (GPIO, parallel 1539904f22aSDavid Brownell port, etc). Or, some systems' SPI master controller drivers use 1549904f22aSDavid Brownell this code to manage the per-word or per-transfer accesses to the 1559904f22aSDavid Brownell hardware shift registers. 1569904f22aSDavid Brownell 1579904f22aSDavid Brownell This is library code, and is automatically selected by drivers that 1589904f22aSDavid Brownell need it. You only need to select this explicitly to support driver 1599904f22aSDavid Brownell modules that aren't part of this kernel tree. 1608ae12a0dSDavid Brownell 1617111763dSDavid Brownellconfig SPI_BUTTERFLY 1627111763dSDavid Brownell tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 1636291fe2aSRobert P. J. Day depends on PARPORT 1647111763dSDavid Brownell select SPI_BITBANG 1657111763dSDavid Brownell help 1667111763dSDavid Brownell This uses a custom parallel port cable to connect to an AVR 1677111763dSDavid Brownell Butterfly <http://www.atmel.com/products/avr/butterfly>, an 1687111763dSDavid Brownell inexpensive battery powered microcontroller evaluation board. 1697111763dSDavid Brownell This same cable can be used to flash new firmware. 1707111763dSDavid Brownell 171c474b386SHarini Katakamconfig SPI_CADENCE 172c474b386SHarini Katakam tristate "Cadence SPI controller" 173c474b386SHarini Katakam help 174c474b386SHarini Katakam This selects the Cadence SPI controller master driver 17538b6484eSMichal Simek used by Xilinx Zynq and ZynqMP. 176c474b386SHarini Katakam 177161b96c3SAlexander Shiyanconfig SPI_CLPS711X 178161b96c3SAlexander Shiyan tristate "CLPS711X host SPI controller" 1795634dd8bSAxel Lin depends on ARCH_CLPS711X || COMPILE_TEST 180161b96c3SAlexander Shiyan help 181161b96c3SAlexander Shiyan This enables dedicated general purpose SPI/Microwire1-compatible 182161b96c3SAlexander Shiyan master mode interface (SSI1) for CLPS711X-based CPUs. 183161b96c3SAlexander Shiyan 18434b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI 18534b8c661SSteven King tristate "Freescale Coldfire QSPI controller" 186bce4d12bSSteven King depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 18734b8c661SSteven King help 18834b8c661SSteven King This enables support for the Coldfire QSPI controller in master 18934b8c661SSteven King mode. 19034b8c661SSteven King 191358934a6SSandeep Paulrajconfig SPI_DAVINCI 19223ce17adSSekhar Nori tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 19378848914SSantosh Shilimkar depends on ARCH_DAVINCI || ARCH_KEYSTONE 194358934a6SSandeep Paulraj select SPI_BITBANG 195358934a6SSandeep Paulraj help 19623ce17adSSekhar Nori SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 19723ce17adSSekhar Nori 198e32bb870SMark Brownconfig SPI_DESIGNWARE 199e32bb870SMark Brown tristate "DesignWare SPI controller core support" 200e32bb870SMark Brown help 201e32bb870SMark Brown general driver for SPI controller core from DesignWare 202e32bb870SMark Brown 203e32bb870SMark Brownconfig SPI_DW_PCI 204e32bb870SMark Brown tristate "PCI interface driver for DW SPI core" 205e32bb870SMark Brown depends on SPI_DESIGNWARE && PCI 206e32bb870SMark Brown 207e32bb870SMark Brownconfig SPI_DW_MID_DMA 208e32bb870SMark Brown bool "DMA support for DW SPI controller on Intel MID platform" 209e32bb870SMark Brown depends on SPI_DW_PCI && DW_DMAC_PCI 210e32bb870SMark Brown 211e32bb870SMark Brownconfig SPI_DW_MMIO 212e32bb870SMark Brown tristate "Memory-mapped io interface driver for DW SPI core" 213e32bb870SMark Brown depends on SPI_DESIGNWARE 214e32bb870SMark Brown 2153d8c0d74SLaurentiu Palcuconfig SPI_DLN2 2163d8c0d74SLaurentiu Palcu tristate "Diolan DLN-2 USB SPI adapter" 2173d8c0d74SLaurentiu Palcu depends on MFD_DLN2 2183d8c0d74SLaurentiu Palcu help 2193d8c0d74SLaurentiu Palcu If you say yes to this option, support will be included for Diolan 2203d8c0d74SLaurentiu Palcu DLN2, a USB to SPI interface. 2213d8c0d74SLaurentiu Palcu 2223d8c0d74SLaurentiu Palcu This driver can also be built as a module. If so, the module 2233d8c0d74SLaurentiu Palcu will be called spi-dln2. 2243d8c0d74SLaurentiu Palcu 22586f8973cSUwe Kleine-Königconfig SPI_EFM32 22686f8973cSUwe Kleine-König tristate "EFM32 SPI controller" 22786f8973cSUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 22886f8973cSUwe Kleine-König select SPI_BITBANG 22986f8973cSUwe Kleine-König help 23086f8973cSUwe Kleine-König Driver for the spi controller found on Energy Micro's EFM32 SoCs. 23186f8973cSUwe Kleine-König 232011f23a3SMika Westerbergconfig SPI_EP93XX 233011f23a3SMika Westerberg tristate "Cirrus Logic EP93xx SPI controller" 234dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 235011f23a3SMika Westerberg help 236011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 237011f23a3SMika Westerberg mode. 238011f23a3SMika Westerberg 2396cd3c7e2SThomas Langerconfig SPI_FALCON 2409c6a3af0SHauke Mehrtens bool "Falcon SPI controller support" 2416cd3c7e2SThomas Langer depends on SOC_FALCON 2426cd3c7e2SThomas Langer help 2436cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 2446cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 2456cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 2466cd3c7e2SThomas Langer support for other types of SPI peripherals. 2476cd3c7e2SThomas Langer 2485314987dSGao Panconfig SPI_FSL_LPSPI 2495314987dSGao Pan tristate "Freescale i.MX LPSPI controller" 2505314987dSGao Pan depends on ARCH_MXC || COMPILE_TEST 2515314987dSGao Pan help 2525314987dSGao Pan This enables Freescale i.MX LPSPI controllers in master mode. 2535314987dSGao Pan 254d29389deSDavid Brownellconfig SPI_GPIO 255d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 2565c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 257d29389deSDavid Brownell select SPI_BITBANG 258d29389deSDavid Brownell help 259d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 260d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 261d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 262d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 263d29389deSDavid Brownell for the chipselect used by this controller driver. 264d29389deSDavid Brownell 265d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 266d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 267d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 268d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 269d29389deSDavid Brownell 270deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 271deba2580SAndrew Bresticker tristate "IMG SPFI controller" 272deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 273deba2580SAndrew Bresticker help 274deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 275deba2580SAndrew Bresticker IMG SoCs. 276deba2580SAndrew Bresticker 277b5f3294fSSascha Hauerconfig SPI_IMX 278b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 279dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 280b5f3294fSSascha Hauer select SPI_BITBANG 281b5f3294fSSascha Hauer help 282b5f3294fSSascha Hauer This enables using the Freescale i.MX SPI controllers in master 283b5f3294fSSascha Hauer mode. 284b5f3294fSSascha Hauer 2852cb1b3b3SRich Felkerconfig SPI_JCORE 2862cb1b3b3SRich Felker tristate "J-Core SPI Master" 2872cb1b3b3SRich Felker depends on OF && (SUPERH || COMPILE_TEST) 2882cb1b3b3SRich Felker help 2892cb1b3b3SRich Felker This enables support for the SPI master controller in the J-Core 2902cb1b3b3SRich Felker synthesizable, open source SoC. 2912cb1b3b3SRich Felker 29278961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 29378961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 2946d1f56aaSKees Cook depends on PARPORT 29578961a57SKaiwan N Billimoria select SPI_BITBANG 29678961a57SKaiwan N Billimoria help 29778961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 29878961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 29978961a57SKaiwan N Billimoria a parallel port. 30078961a57SKaiwan N Billimoria 3017ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC 3027ecbfff6SSergei Ianovich tristate "ICP DAS LP-8841 SPI Controller for RTC" 3037ecbfff6SSergei Ianovich depends on MACH_PXA27X_DT || COMPILE_TEST 3047ecbfff6SSergei Ianovich help 3057ecbfff6SSergei Ianovich This driver provides an SPI master device to drive Maxim 3067ecbfff6SSergei Ianovich DS-1302 real time clock. 3077ecbfff6SSergei Ianovich 3087ecbfff6SSergei Ianovich Say N here unless you plan to run the kernel on an ICP DAS 3097ecbfff6SSergei Ianovich LP-8x4x industrial computer. 3107ecbfff6SSergei Ianovich 31142bbb709SGrant Likelyconfig SPI_MPC52xx 31242bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 3137433f2b7SPaul Bolle depends on PPC_MPC52xx 31442bbb709SGrant Likely help 31542bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 31642bbb709SGrant Likely mode. 31742bbb709SGrant Likely 31800b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 31900b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 3206d1f56aaSKees Cook depends on PPC_MPC52xx 32100b8fd23SDragos Carp help 32200b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 32300b8fd23SDragos Carp Controller in master SPI mode. 32400b8fd23SDragos Carp 3256e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 3266e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 3275e8afa34SUwe Kleine-König depends on PPC_MPC512x 3286e27388fSAnatolij Gustschin help 3296e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 3306e27388fSAnatolij Gustschin Controller in SPI master mode. 3316e27388fSAnatolij Gustschin 332b36ece83SMingkai Huconfig SPI_FSL_LIB 333b36ece83SMingkai Hu tristate 334e8beacbbSAndreas Larsson depends on OF 335e8beacbbSAndreas Larsson 336e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 337e8beacbbSAndreas Larsson tristate 338b36ece83SMingkai Hu depends on FSL_SOC 339b36ece83SMingkai Hu 3403272029fSMingkai Huconfig SPI_FSL_SPI 34138455d7aSEsben Haabendal tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 342e8beacbbSAndreas Larsson depends on OF 343b36ece83SMingkai Hu select SPI_FSL_LIB 344e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 345ccf06998SKumar Gala help 3463272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 3473272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 3483272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 349447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 350447b0c7bSAndreas Larsson master mode. 351ccf06998SKumar Gala 352349ad66cSChao Fuconfig SPI_FSL_DSPI 353349ad66cSChao Fu tristate "Freescale DSPI controller" 3541acbdeb9SChao Fu select REGMAP_MMIO 355ec7ed770SAngelo Dureghello depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST 356349ad66cSChao Fu help 357349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 358349ad66cSChao Fu mode. VF610 platform uses the controller. 359349ad66cSChao Fu 3608b60d6c2SMingkai Huconfig SPI_FSL_ESPI 36138455d7aSEsben Haabendal tristate "Freescale eSPI controller" 3628b60d6c2SMingkai Hu depends on FSL_SOC 3638b60d6c2SMingkai Hu help 3648b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 3658b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 3668b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 3678b60d6c2SMingkai Hu 368454fa271SNeil Armstrongconfig SPI_MESON_SPICC 369454fa271SNeil Armstrong tristate "Amlogic Meson SPICC controller" 370454fa271SNeil Armstrong depends on ARCH_MESON || COMPILE_TEST 371454fa271SNeil Armstrong help 372454fa271SNeil Armstrong This enables master mode support for the SPICC (SPI communication 373454fa271SNeil Armstrong controller) available in Amlogic Meson SoCs. 374454fa271SNeil Armstrong 375c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 376c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 377c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 3781327ecd4SBeniamino Galvani select REGMAP_MMIO 379c3e4bc54SBeniamino Galvani help 380c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 381c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 382c3e4bc54SBeniamino Galvani 383a568231fSLeilk Liuconfig SPI_MT65XX 384a568231fSLeilk Liu tristate "MediaTek SPI controller" 385a568231fSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 386a568231fSLeilk Liu help 387a568231fSLeilk Liu This selects the MediaTek(R) SPI bus driver. 388a568231fSLeilk Liu If you want to use MediaTek(R) SPI interface, 389a568231fSLeilk Liu say Y or M here.If you are not sure, say N. 390a568231fSLeilk Liu SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 391a568231fSLeilk Liu 392e32bb870SMark Brownconfig SPI_NUC900 393e32bb870SMark Brown tristate "Nuvoton NUC900 series SPI" 394e32bb870SMark Brown depends on ARCH_W90X900 395e32bb870SMark Brown select SPI_BITBANG 396e32bb870SMark Brown help 397e32bb870SMark Brown SPI driver for Nuvoton NUC900 series ARM SoCs 398e32bb870SMark Brown 39917f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC 40017f84b79SHauke Mehrtens tristate "Lantiq SSC SPI controller" 401582c97f6SHauke Mehrtens depends on LANTIQ || COMPILE_TEST 40217f84b79SHauke Mehrtens help 40317f84b79SHauke Mehrtens This driver supports the Lantiq SSC SPI controller in master 40417f84b79SHauke Mehrtens mode. This controller is found on Intel (former Lantiq) SoCs like 40517f84b79SHauke Mehrtens the Danube, Falcon, xRX200, xRX300. 40617f84b79SHauke Mehrtens 407ce792580SThomas Chouconfig SPI_OC_TINY 408ce792580SThomas Chou tristate "OpenCores tiny SPI" 4095c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 410ce792580SThomas Chou select SPI_BITBANG 411ce792580SThomas Chou help 412ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 413ce792580SThomas Chou 4146b52c00fSDavid Daneyconfig SPI_OCTEON 4156b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 4169ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 4176b52c00fSDavid Daney help 4186b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 4196b52c00fSDavid Daney SOCs. 4206b52c00fSDavid Daney 421fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 422fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 4236291fe2aSRobert P. J. Day depends on ARCH_OMAP1 424fdb3c18dSDavid Brownell select SPI_BITBANG 425fdb3c18dSDavid Brownell help 426fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 427fdb3c18dSDavid Brownell 428ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 4298ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 430dd1053a9SMark Brown depends on ARCH_OMAP2PLUS || COMPILE_TEST 4312b32e987SFranklin S Cooper Jr select SG_SPLIT 432ccdc7bf9SSamuel Ortiz help 4338ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 434ccdc7bf9SSamuel Ortiz (McSPI) modules. 43569c202afSAndrea Paterniani 436505a1495SSourav Poddarconfig SPI_TI_QSPI 437505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 438505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 439505a1495SSourav Poddar help 440505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 441505a1495SSourav Poddar This device supports single, dual and quad read support, while 442505a1495SSourav Poddar it only supports single write mode. 443505a1495SSourav Poddar 44435c9049bSCory Maccarroneconfig SPI_OMAP_100K 44535c9049bSCory Maccarrone tristate "OMAP SPI 100K" 446dd1053a9SMark Brown depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 44735c9049bSCory Maccarrone help 44835c9049bSCory Maccarrone OMAP SPI 100K master controller for omap7xx boards. 44935c9049bSCory Maccarrone 45060cadec9SShadi Ammouriconfig SPI_ORION 4516d1f56aaSKees Cook tristate "Orion SPI master" 452710a1d54SThomas Petazzoni depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 45360cadec9SShadi Ammouri help 45473482910SUwe Kleine-König This enables using the SPI master controller on the Orion 45573482910SUwe Kleine-König and MVEBU chips. 45660cadec9SShadi Ammouri 4571bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32 4581bcb9f8cSPurna Chandra Mandal tristate "Microchip PIC32 series SPI" 4591bcb9f8cSPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 4601bcb9f8cSPurna Chandra Mandal help 4611bcb9f8cSPurna Chandra Mandal SPI driver for Microchip PIC32 SPI master controller. 4621bcb9f8cSPurna Chandra Mandal 4633270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI 4643270ac23SPurna Chandra Mandal tristate "Microchip PIC32 Quad SPI driver" 4653270ac23SPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 4663270ac23SPurna Chandra Mandal help 4673270ac23SPurna Chandra Mandal SPI driver for PIC32 Quad SPI controller. 4683270ac23SPurna Chandra Mandal 469b43d65f7SLinus Walleijconfig SPI_PL022 4707f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 4717f9a4b97SLinus Walleij depends on ARM_AMBA 472b43d65f7SLinus Walleij default y if MACH_U300 473f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 474f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 475f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 476b43d65f7SLinus Walleij help 477b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 478b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 479b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 480b43d65f7SLinus Walleij 48144dab88eSSteven A. Falcoconfig SPI_PPC4xx 48244dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 4835e8afa34SUwe Kleine-König depends on PPC32 && 4xx 48444dab88eSSteven A. Falco select SPI_BITBANG 48544dab88eSSteven A. Falco help 48644dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 48744dab88eSSteven A. Falco 488e0c9905eSStephen Streetconfig SPI_PXA2XX 489e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 490128345b1SArnd Bergmann depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI) 491128345b1SArnd Bergmann select PXA_SSP if ARCH_PXA || ARCH_MMP 492e0c9905eSStephen Street help 493d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 494d6ea3df0SSebastian Andrzej Siewior controller. The driver can be configured to use any SSP port and 495d6ea3df0SSebastian Andrzej Siewior additional documentation can be found a Documentation/spi/pxa2xx. 496d6ea3df0SSebastian Andrzej Siewior 497d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 498afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 499e0c9905eSStephen Street 50064e36824Saddy keconfig SPI_ROCKCHIP 50164e36824Saddy ke tristate "Rockchip SPI controller driver" 50264e36824Saddy ke help 50364e36824Saddy ke This selects a driver for Rockchip SPI controller. 50464e36824Saddy ke 50564e36824Saddy ke If you say yes to this option, support will be included for 50664e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 50764e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 50864e36824Saddy ke The main usecase of this controller is to use spi flash as boot 50964e36824Saddy ke device. 51064e36824Saddy ke 51105aec357SBert Vermeulenconfig SPI_RB4XX 51205aec357SBert Vermeulen tristate "Mikrotik RB4XX SPI master" 51305aec357SBert Vermeulen depends on SPI_MASTER && ATH79 51405aec357SBert Vermeulen help 51505aec357SBert Vermeulen SPI controller driver for the Mikrotik RB4xx series boards. 51605aec357SBert Vermeulen 5170b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 518e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 5193aec3166SSimon Horman depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 5200b2182ddSShimoda, Yoshihiro help 521e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 5220b2182ddSShimoda, Yoshihiro 52364ff247aSIvan T. Ivanovconfig SPI_QUP 52464ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 525058f11c8SPaul Bolle depends on ARCH_QCOM || (ARM && COMPILE_TEST) 52664ff247aSIvan T. Ivanov help 52764ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 52864ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 52964ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 53064ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 53164ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 53264ff247aSIvan T. Ivanov 53364ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 53464ff247aSIvan T. Ivanov will be called spi_qup. 5358ae12a0dSDavid Brownell 53685abfaa7SDavid Brownellconfig SPI_S3C24XX 53785abfaa7SDavid Brownell tristate "Samsung S3C24XX series SPI" 5386d1f56aaSKees Cook depends on ARCH_S3C24XX 539da0abc27SDavid Brownell select SPI_BITBANG 54085abfaa7SDavid Brownell help 54185abfaa7SDavid Brownell SPI driver for Samsung S3C24XX series ARM SoCs 54285abfaa7SDavid Brownell 543bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ 544bec0806cSBen Dooks bool "S3C24XX driver with FIQ pseudo-DMA" 545bec0806cSBen Dooks depends on SPI_S3C24XX 546bec0806cSBen Dooks select FIQ 547bec0806cSBen Dooks help 548bec0806cSBen Dooks Enable FIQ support for the S3C24XX SPI driver to provide pseudo 549bec0806cSBen Dooks DMA by using the fast-interrupt request framework, This allows 550bec0806cSBen Dooks the driver to get DMA-like performance when there are either 551bec0806cSBen Dooks no free DMA channels, or when doing transfers that required both 552bec0806cSBen Dooks TX and RX data paths. 553bec0806cSBen Dooks 554230d42d4SJassi Brarconfig SPI_S3C64XX 555230d42d4SJassi Brar tristate "Samsung S3C64XX series type SPI" 556b099b131SJavier Martinez Canillas depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) 557230d42d4SJassi Brar help 558230d42d4SJassi Brar SPI driver for Samsung S3C64XX and newer SoCs. 559230d42d4SJassi Brar 5603ce8859eSGuenter Roeckconfig SPI_SC18IS602 5613ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 5623ce8859eSGuenter Roeck depends on I2C 5633ce8859eSGuenter Roeck help 5643ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 5653ce8859eSGuenter Roeck 5668051effcSMagnus Dammconfig SPI_SH_MSIOF 5678051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 568e5b43ed2SGeert Uytterhoeven depends on HAVE_CLK 5696ffc84ddSGeert Uytterhoeven depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 5708051effcSMagnus Damm help 571746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 5728051effcSMagnus Damm 5735c05dd07SYoshihiro Shimodaconfig SPI_SH 5745c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 575dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 5765c05dd07SYoshihiro Shimoda help 5775c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 5785c05dd07SYoshihiro Shimoda 57937e46640SMagnus Dammconfig SPI_SH_SCI 58037e46640SMagnus Damm tristate "SuperH SCI SPI controller" 5816291fe2aSRobert P. J. Day depends on SUPERH 58237e46640SMagnus Damm select SPI_BITBANG 58337e46640SMagnus Damm help 58437e46640SMagnus Damm SPI driver for SuperH SCI blocks. 58537e46640SMagnus Damm 586d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 587d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 5883aec3166SSimon Horman depends on ARCH_RENESAS || COMPILE_TEST 589d1c8bbd7SKuninori Morimoto help 590d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 591d1c8bbd7SKuninori Morimoto 5921cc2df9dSZhiwu Songconfig SPI_SIRF 5931cc2df9dSZhiwu Song tristate "CSR SiRFprimaII SPI controller" 5947668c294SMark Brown depends on SIRF_DMA 5951cc2df9dSZhiwu Song select SPI_BITBANG 5961cc2df9dSZhiwu Song help 5971cc2df9dSZhiwu Song SPI driver for CSR SiRFprimaII SoCs 5981cc2df9dSZhiwu Song 599*805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX 600*805be7ddSLeilk Liu tristate "MediaTek SPI slave device" 601*805be7ddSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 602*805be7ddSLeilk Liu depends on SPI_SLAVE 603*805be7ddSLeilk Liu help 604*805be7ddSLeilk Liu This selects the MediaTek(R) SPI slave device driver. 605*805be7ddSLeilk Liu If you want to use MediaTek(R) SPI slave interface, 606*805be7ddSLeilk Liu say Y or M here.If you are not sure, say N. 607*805be7ddSLeilk Liu SPI slave drivers for Mediatek MT27XX series ARM SoCs. 608*805be7ddSLeilk Liu 609e7d973a3SLanqing Liuconfig SPI_SPRD 610e7d973a3SLanqing Liu tristate "Spreadtrum SPI controller" 611e7d973a3SLanqing Liu depends on ARCH_SPRD || COMPILE_TEST 612e7d973a3SLanqing Liu help 613e7d973a3SLanqing Liu SPI driver for Spreadtrum SoCs. 614e7d973a3SLanqing Liu 6157e2903cbSBaolin Wangconfig SPI_SPRD_ADI 6167e2903cbSBaolin Wang tristate "Spreadtrum ADI controller" 6177e2903cbSBaolin Wang depends on ARCH_SPRD || COMPILE_TEST 618e83f3742SArnd Bergmann depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 6197e2903cbSBaolin Wang help 6207e2903cbSBaolin Wang ADI driver based on SPI for Spreadtrum SoCs. 6217e2903cbSBaolin Wang 622dcbe0d84SAmelie Delaunayconfig SPI_STM32 623dcbe0d84SAmelie Delaunay tristate "STMicroelectronics STM32 SPI controller" 624dcbe0d84SAmelie Delaunay depends on ARCH_STM32 || COMPILE_TEST 625dcbe0d84SAmelie Delaunay help 626dcbe0d84SAmelie Delaunay SPI driver for STMicroelectonics STM32 SoCs. 627dcbe0d84SAmelie Delaunay 628dcbe0d84SAmelie Delaunay STM32 SPI controller supports DMA and PIO modes. When DMA 629dcbe0d84SAmelie Delaunay is not available, the driver automatically falls back to 630dcbe0d84SAmelie Delaunay PIO mode. 631dcbe0d84SAmelie Delaunay 6329e862375SLee Jonesconfig SPI_ST_SSC4 6339e862375SLee Jones tristate "STMicroelectronics SPI SSC-based driver" 63483fefd2dSAxel Lin depends on ARCH_STI || COMPILE_TEST 6359e862375SLee Jones help 6369e862375SLee Jones STMicroelectronics SoCs support for SPI. If you say yes to 6379e862375SLee Jones this option, support will be included for the SSC driven SPI. 6389e862375SLee Jones 639b5f65179SMaxime Ripardconfig SPI_SUN4I 640b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 641b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 642b5f65179SMaxime Ripard help 643b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 644b5f65179SMaxime Ripard 6453558fe90SMaxime Ripardconfig SPI_SUN6I 6463558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 6473558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 6487961656aSMark Brown depends on RESET_CONTROLLER 6493558fe90SMaxime Ripard help 6503558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 6513558fe90SMaxime Ripard 652646781d3SMarek Vasutconfig SPI_MXS 653646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 654646781d3SMarek Vasut depends on ARCH_MXS 655646781d3SMarek Vasut select STMP_DEVICE 656646781d3SMarek Vasut help 657646781d3SMarek Vasut SPI driver for Freescale MXS devices. 658646781d3SMarek Vasut 659f333a331SLaxman Dewanganconfig SPI_TEGRA114 660f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 661dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 662e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 663f333a331SLaxman Dewangan help 664f333a331SLaxman Dewangan SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 665f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 666f333a331SLaxman Dewangan get changed with this controller. 667f333a331SLaxman Dewangan 6688528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 6698528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 670dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 671ff2251e3SStephen Warren depends on RESET_CONTROLLER 6728528547bSLaxman Dewangan help 6738528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 6748528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 6758528547bSLaxman Dewangan device. 6768528547bSLaxman Dewangan 677dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 678dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 679dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 680e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 681dc4dc360SLaxman Dewangan help 682dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 683dc4dc360SLaxman Dewangan 6847347a6c7SJan Glauberconfig SPI_THUNDERX 6857347a6c7SJan Glauber tristate "Cavium ThunderX SPI controller" 6867347a6c7SJan Glauber depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 6877347a6c7SJan Glauber help 6887347a6c7SJan Glauber SPI host driver for the hardware found on Cavium ThunderX 6897347a6c7SJan Glauber SOCs. 6907347a6c7SJan Glauber 691e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 69292b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 693f05ca854SPaul Burton depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 694e8b17b5bSMasayuki Ohtake help 695cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 696cdbc8f04SGrant Likely used in some x86 embedded processors. 697e8b17b5bSMasayuki Ohtake 69892b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 69992b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 700f016aeb6STomoya MORINAGA 701f2cac67dSAtsushi Nemotoconfig SPI_TXX9 702f2cac67dSAtsushi Nemoto tristate "Toshiba TXx9 SPI controller" 703dd1053a9SMark Brown depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 704f2cac67dSAtsushi Nemoto help 705f2cac67dSAtsushi Nemoto SPI driver for Toshiba TXx9 MIPS SoCs 706f2cac67dSAtsushi Nemoto 7075ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER 7085ba155a4SKeiji Hayashibara tristate "Socionext UniPhier SPI Controller" 7095ba155a4SKeiji Hayashibara depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 7105ba155a4SKeiji Hayashibara help 7115ba155a4SKeiji Hayashibara This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 7125ba155a4SKeiji Hayashibara 7135ba155a4SKeiji Hayashibara UniPhier SoCs have SCSSI and MCSSI SPI controllers. 7145ba155a4SKeiji Hayashibara Every UniPhier SoC has SCSSI which supports single channel. 7155ba155a4SKeiji Hayashibara Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 7165ba155a4SKeiji Hayashibara This driver supports SCSSI only. 7175ba155a4SKeiji Hayashibara 7185ba155a4SKeiji Hayashibara If your SoC supports SCSSI, say Y here. 7195ba155a4SKeiji Hayashibara 720b3165900SLars-Peter Clausenconfig SPI_XCOMM 721b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 722b3165900SLars-Peter Clausen depends on I2C 723b3165900SLars-Peter Clausen help 724b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 725b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 726b3165900SLars-Peter Clausen 727ae918c02SAndrei Konovalovconfig SPI_XILINX 728c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 7296d1f56aaSKees Cook depends on HAS_IOMEM 730ae918c02SAndrei Konovalov select SPI_BITBANG 731ae918c02SAndrei Konovalov help 732ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 733ae918c02SAndrei Konovalov 734ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 735ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 736ae918c02SAndrei Konovalov 737c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 738c9da2e12SRichard Röjfors 739d8c80d49SKamlakant Patelconfig SPI_XLP 740d8c80d49SKamlakant Patel tristate "Netlogic XLP SPI controller driver" 741251831bdSJayachandran C depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST 742d8c80d49SKamlakant Patel help 743d8c80d49SKamlakant Patel Enable support for the SPI controller on the Netlogic XLP SoCs. 744d8c80d49SKamlakant Patel Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX 745d8c80d49SKamlakant Patel and XLP5XX. 746d8c80d49SKamlakant Patel 747d8c80d49SKamlakant Patel If you have a Netlogic XLP platform say Y here. 748d8c80d49SKamlakant Patel If unsure, say N. 749d8c80d49SKamlakant Patel 7506840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 7516840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 752be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 7536840cc29SMax Filippov select SPI_BITBANG 7546840cc29SMax Filippov help 7556840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 7566840cc29SMax Filippov 7576840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 7586840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 7596840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 7606840cc29SMax Filippov start and deasserting on end. 7616840cc29SMax Filippov 762dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI 763dfe11a11SRanjit Waghmode tristate "Xilinx ZynqMP GQSPI controller" 7642e1c75f4SGeert Uytterhoeven depends on SPI_MASTER && HAS_DMA 765dfe11a11SRanjit Waghmode help 766dfe11a11SRanjit Waghmode Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 767dfe11a11SRanjit Waghmode 7688ae12a0dSDavid Brownell# 7698ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 7708ae12a0dSDavid Brownell# 7718ae12a0dSDavid Brownell 7728ae12a0dSDavid Brownell# 7738ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 7748ae12a0dSDavid Brownell# being probably the most widely used ones. 7758ae12a0dSDavid Brownell# 7768ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 7778ae12a0dSDavid Brownell 778814a8d50SAndrea Paternianiconfig SPI_SPIDEV 779814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 780814a8d50SAndrea Paterniani help 781814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 782814a8d50SAndrea Paterniani 783814a8d50SAndrea Paterniani Note that this application programming interface is EXPERIMENTAL 784814a8d50SAndrea Paterniani and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. 785814a8d50SAndrea Paterniani 78697896195SMartin Sperlconfig SPI_LOOPBACK_TEST 78797896195SMartin Sperl tristate "spi loopback test framework support" 78897896195SMartin Sperl depends on m 78997896195SMartin Sperl help 79097896195SMartin Sperl This enables the SPI loopback testing framework driver 79197896195SMartin Sperl 79297896195SMartin Sperl primarily used for development of spi_master drivers 79397896195SMartin Sperl and to detect regressions 79497896195SMartin Sperl 795447aef1aSBen Dooksconfig SPI_TLE62X0 796447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 7976291fe2aSRobert P. J. Day depends on SYSFS 798447aef1aSBen Dooks help 799447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 800447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 801447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 802447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 803447aef1aSBen Dooks 8048ae12a0dSDavid Brownell# 8058ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 8068ae12a0dSDavid Brownell# 8078ae12a0dSDavid Brownell 8086291fe2aSRobert P. J. Dayendif # SPI_MASTER 8096291fe2aSRobert P. J. Day 8106c364062SGeert Uytterhoeven# 8116c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters 8126c364062SGeert Uytterhoeven# 8136c364062SGeert Uytterhoeven 8146c364062SGeert Uytterhoevenconfig SPI_SLAVE 8156c364062SGeert Uytterhoeven bool "SPI slave protocol handlers" 8166c364062SGeert Uytterhoeven help 8176c364062SGeert Uytterhoeven If your system has a slave-capable SPI controller, you can enable 8186c364062SGeert Uytterhoeven slave protocol handlers. 8196c364062SGeert Uytterhoeven 8206c364062SGeert Uytterhoevenif SPI_SLAVE 8216c364062SGeert Uytterhoeven 82229f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME 82329f9ffa0SGeert Uytterhoeven tristate "SPI slave handler reporting boot up time" 82429f9ffa0SGeert Uytterhoeven help 82529f9ffa0SGeert Uytterhoeven SPI slave handler responding with the time of reception of the last 82629f9ffa0SGeert Uytterhoeven SPI message. 82729f9ffa0SGeert Uytterhoeven 828ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL 829ce70e06cSGeert Uytterhoeven tristate "SPI slave handler controlling system state" 830ce70e06cSGeert Uytterhoeven help 831ce70e06cSGeert Uytterhoeven SPI slave handler to allow remote control of system reboot, power 832ce70e06cSGeert Uytterhoeven off, halt, and suspend. 833ce70e06cSGeert Uytterhoeven 8346c364062SGeert Uytterhoevenendif # SPI_SLAVE 8358ae12a0dSDavid Brownell 83679d8c7a8SAlessandro Guidoendif # SPI 837