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 32*6341e62bSChristoph 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 43*6341e62bSChristoph Jaeger# bool "SPI Master Support" 44*6341e62bSChristoph 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 70754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 71754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 72f59838a0SGeert Uytterhoeven depends on HAS_DMA 73dd1053a9SMark Brown depends on (ARCH_AT91 || AVR32 || COMPILE_TEST) 74754ce4f2SHaavard Skinnemoen help 75754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 76754ce4f2SHaavard Skinnemoen many AT32 (AVR32) and AT91 (ARM) chips. 77754ce4f2SHaavard Skinnemoen 78f8043872SChris Bootconfig SPI_BCM2835 79f8043872SChris Boot tristate "BCM2835 SPI controller" 80dd1053a9SMark Brown depends on ARCH_BCM2835 || COMPILE_TEST 81f8043872SChris Boot help 82f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 83f8043872SChris Boot 84f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 85f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 86f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 87f8043872SChris Boot not supported. 88f8043872SChris Boot 8922ac3e82SScott Jiangconfig SPI_BFIN5XX 90a5f6abd4SWu, Bryan tristate "SPI controller driver for ADI Blackfin5xx" 91fa4bd4f1SScott Jiang depends on BLACKFIN && !BF60x 92a5f6abd4SWu, Bryan help 93a5f6abd4SWu, Bryan This is the SPI controller master driver for Blackfin 5xx processor. 94a5f6abd4SWu, Bryan 95766e3721SScott Jiangconfig SPI_ADI_V3 96766e3721SScott Jiang tristate "SPI controller v3 for ADI" 97fa4bd4f1SScott Jiang depends on BF60x 98fa4bd4f1SScott Jiang help 99fa4bd4f1SScott Jiang This is the SPI controller v3 master driver 100fa4bd4f1SScott Jiang found on Blackfin 60x processor. 101fa4bd4f1SScott Jiang 1029c3e7375SCliff Caiconfig SPI_BFIN_SPORT 1039c3e7375SCliff Cai tristate "SPI bus via Blackfin SPORT" 1049c3e7375SCliff Cai depends on BLACKFIN 1059c3e7375SCliff Cai help 1069c3e7375SCliff Cai Enable support for a SPI bus via the Blackfin SPORT peripheral. 1079c3e7375SCliff Cai 10863bd2359SJan Nikitenkoconfig SPI_AU1550 109809f36c6SManuel Lauss tristate "Au1550/Au1200/Au1300 SPI Controller" 1106d1f56aaSKees Cook depends on MIPS_ALCHEMY 11163bd2359SJan Nikitenko select SPI_BITBANG 11263bd2359SJan Nikitenko help 11363bd2359SJan Nikitenko If you say yes to this option, support will be included for the 114809f36c6SManuel Lauss PSC SPI controller found on Au1550, Au1200 and Au1300 series. 11563bd2359SJan Nikitenko 1160fc6a323SRafał Miłeckiconfig SPI_BCM53XX 1170fc6a323SRafał Miłecki tristate "Broadcom BCM53xx SPI controller" 1180fc6a323SRafał Miłecki depends on ARCH_BCM_5301X 119933fc7b0SAxel Lin depends on BCMA_POSSIBLE 120933fc7b0SAxel Lin select BCMA 1210fc6a323SRafał Miłecki help 1220fc6a323SRafał Miłecki Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs. 1230fc6a323SRafał Miłecki 124b42dfed8SFlorian Fainelliconfig SPI_BCM63XX 125b42dfed8SFlorian Fainelli tristate "Broadcom BCM63xx SPI controller" 126b42dfed8SFlorian Fainelli depends on BCM63XX 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 1379904f22aSDavid Brownellconfig SPI_BITBANG 138d29389deSDavid Brownell tristate "Utilities for Bitbanging SPI masters" 1399904f22aSDavid Brownell help 1409904f22aSDavid Brownell With a few GPIO pins, your system can bitbang the SPI protocol. 1419904f22aSDavid Brownell Select this to get SPI support through I/O pins (GPIO, parallel 1429904f22aSDavid Brownell port, etc). Or, some systems' SPI master controller drivers use 1439904f22aSDavid Brownell this code to manage the per-word or per-transfer accesses to the 1449904f22aSDavid Brownell hardware shift registers. 1459904f22aSDavid Brownell 1469904f22aSDavid Brownell This is library code, and is automatically selected by drivers that 1479904f22aSDavid Brownell need it. You only need to select this explicitly to support driver 1489904f22aSDavid Brownell modules that aren't part of this kernel tree. 1498ae12a0dSDavid Brownell 1507111763dSDavid Brownellconfig SPI_BUTTERFLY 1517111763dSDavid Brownell tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 1526291fe2aSRobert P. J. Day depends on PARPORT 1537111763dSDavid Brownell select SPI_BITBANG 1547111763dSDavid Brownell help 1557111763dSDavid Brownell This uses a custom parallel port cable to connect to an AVR 1567111763dSDavid Brownell Butterfly <http://www.atmel.com/products/avr/butterfly>, an 1577111763dSDavid Brownell inexpensive battery powered microcontroller evaluation board. 1587111763dSDavid Brownell This same cable can be used to flash new firmware. 1597111763dSDavid Brownell 160c474b386SHarini Katakamconfig SPI_CADENCE 161c474b386SHarini Katakam tristate "Cadence SPI controller" 16225dbe04aSHarini Katakam depends on ARM 163c474b386SHarini Katakam help 164c474b386SHarini Katakam This selects the Cadence SPI controller master driver 165c474b386SHarini Katakam used by Xilinx Zynq. 166c474b386SHarini Katakam 167161b96c3SAlexander Shiyanconfig SPI_CLPS711X 168161b96c3SAlexander Shiyan tristate "CLPS711X host SPI controller" 1695634dd8bSAxel Lin depends on ARCH_CLPS711X || COMPILE_TEST 170161b96c3SAlexander Shiyan help 171161b96c3SAlexander Shiyan This enables dedicated general purpose SPI/Microwire1-compatible 172161b96c3SAlexander Shiyan master mode interface (SSI1) for CLPS711X-based CPUs. 173161b96c3SAlexander Shiyan 17434b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI 17534b8c661SSteven King tristate "Freescale Coldfire QSPI controller" 176bce4d12bSSteven King depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 17734b8c661SSteven King help 17834b8c661SSteven King This enables support for the Coldfire QSPI controller in master 17934b8c661SSteven King mode. 18034b8c661SSteven King 181358934a6SSandeep Paulrajconfig SPI_DAVINCI 18223ce17adSSekhar Nori tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 18378848914SSantosh Shilimkar depends on ARCH_DAVINCI || ARCH_KEYSTONE 184358934a6SSandeep Paulraj select SPI_BITBANG 185358934a6SSandeep Paulraj help 18623ce17adSSekhar Nori SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 18723ce17adSSekhar Nori 18886f8973cSUwe Kleine-Königconfig SPI_EFM32 18986f8973cSUwe Kleine-König tristate "EFM32 SPI controller" 19086f8973cSUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 19186f8973cSUwe Kleine-König select SPI_BITBANG 19286f8973cSUwe Kleine-König help 19386f8973cSUwe Kleine-König Driver for the spi controller found on Energy Micro's EFM32 SoCs. 19486f8973cSUwe Kleine-König 195011f23a3SMika Westerbergconfig SPI_EP93XX 196011f23a3SMika Westerberg tristate "Cirrus Logic EP93xx SPI controller" 197f59838a0SGeert Uytterhoeven depends on HAS_DMA 198dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 199011f23a3SMika Westerberg help 200011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 201011f23a3SMika Westerberg mode. 202011f23a3SMika Westerberg 2036cd3c7e2SThomas Langerconfig SPI_FALCON 2046cd3c7e2SThomas Langer tristate "Falcon SPI controller support" 2056cd3c7e2SThomas Langer depends on SOC_FALCON 2066cd3c7e2SThomas Langer help 2076cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 2086cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 2096cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 2106cd3c7e2SThomas Langer support for other types of SPI peripherals. 2116cd3c7e2SThomas Langer 212d29389deSDavid Brownellconfig SPI_GPIO 213d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 21476ec9d18SAlexandre Courbot depends on GPIOLIB 215d29389deSDavid Brownell select SPI_BITBANG 216d29389deSDavid Brownell help 217d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 218d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 219d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 220d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 221d29389deSDavid Brownell for the chipselect used by this controller driver. 222d29389deSDavid Brownell 223d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 224d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 225d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 226d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 227d29389deSDavid Brownell 228deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 229deba2580SAndrew Bresticker tristate "IMG SPFI controller" 230deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 231deba2580SAndrew Bresticker help 232deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 233deba2580SAndrew Bresticker IMG SoCs. 234deba2580SAndrew Bresticker 235b5f3294fSSascha Hauerconfig SPI_IMX 236b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 237dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 238b5f3294fSSascha Hauer select SPI_BITBANG 239b5f3294fSSascha Hauer help 240b5f3294fSSascha Hauer This enables using the Freescale i.MX SPI controllers in master 241b5f3294fSSascha Hauer mode. 242b5f3294fSSascha Hauer 24378961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 24478961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 2456d1f56aaSKees Cook depends on PARPORT 24678961a57SKaiwan N Billimoria select SPI_BITBANG 24778961a57SKaiwan N Billimoria help 24878961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 24978961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 25078961a57SKaiwan N Billimoria a parallel port. 25178961a57SKaiwan N Billimoria 25242bbb709SGrant Likelyconfig SPI_MPC52xx 25342bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 2547433f2b7SPaul Bolle depends on PPC_MPC52xx 25542bbb709SGrant Likely help 25642bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 25742bbb709SGrant Likely mode. 25842bbb709SGrant Likely 25900b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 26000b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 2616d1f56aaSKees Cook depends on PPC_MPC52xx 26200b8fd23SDragos Carp help 26300b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 26400b8fd23SDragos Carp Controller in master SPI mode. 26500b8fd23SDragos Carp 2666e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 2676e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 2685e8afa34SUwe Kleine-König depends on PPC_MPC512x 2696e27388fSAnatolij Gustschin help 2706e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 2716e27388fSAnatolij Gustschin Controller in SPI master mode. 2726e27388fSAnatolij Gustschin 273b36ece83SMingkai Huconfig SPI_FSL_LIB 274b36ece83SMingkai Hu tristate 275e8beacbbSAndreas Larsson depends on OF 276e8beacbbSAndreas Larsson 277e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 278e8beacbbSAndreas Larsson tristate 279b36ece83SMingkai Hu depends on FSL_SOC 280b36ece83SMingkai Hu 2813272029fSMingkai Huconfig SPI_FSL_SPI 282447b0c7bSAndreas Larsson bool "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 283e8beacbbSAndreas Larsson depends on OF 284b36ece83SMingkai Hu select SPI_FSL_LIB 285e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 286ccf06998SKumar Gala help 2873272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 2883272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 2893272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 290447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 291447b0c7bSAndreas Larsson master mode. 292ccf06998SKumar Gala 293349ad66cSChao Fuconfig SPI_FSL_DSPI 294349ad66cSChao Fu tristate "Freescale DSPI controller" 295349ad66cSChao Fu select SPI_BITBANG 2961acbdeb9SChao Fu select REGMAP_MMIO 297b444d1dfSUwe Kleine-König depends on SOC_VF610 || COMPILE_TEST 298349ad66cSChao Fu help 299349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 300349ad66cSChao Fu mode. VF610 platform uses the controller. 301349ad66cSChao Fu 3028b60d6c2SMingkai Huconfig SPI_FSL_ESPI 303d9ddcec3SJiri Slaby bool "Freescale eSPI controller" 3048b60d6c2SMingkai Hu depends on FSL_SOC 3058b60d6c2SMingkai Hu select SPI_FSL_LIB 3068b60d6c2SMingkai Hu help 3078b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 3088b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 3098b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 3108b60d6c2SMingkai Hu 311c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 312c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 313c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 3141327ecd4SBeniamino Galvani select REGMAP_MMIO 315c3e4bc54SBeniamino Galvani help 316c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 317c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 318c3e4bc54SBeniamino Galvani 319ce792580SThomas Chouconfig SPI_OC_TINY 320ce792580SThomas Chou tristate "OpenCores tiny SPI" 32176ec9d18SAlexandre Courbot depends on GPIOLIB 322ce792580SThomas Chou select SPI_BITBANG 323ce792580SThomas Chou help 324ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 325ce792580SThomas Chou 3266b52c00fSDavid Daneyconfig SPI_OCTEON 3276b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 3289ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 3296b52c00fSDavid Daney help 3306b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 3316b52c00fSDavid Daney SOCs. 3326b52c00fSDavid Daney 333fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 334fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 3356291fe2aSRobert P. J. Day depends on ARCH_OMAP1 336fdb3c18dSDavid Brownell select SPI_BITBANG 337fdb3c18dSDavid Brownell help 338fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 339fdb3c18dSDavid Brownell 340ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 3418ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 342f59838a0SGeert Uytterhoeven depends on HAS_DMA 343f6ab395bSPaul Bolle depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH 344dd1053a9SMark Brown depends on ARCH_OMAP2PLUS || COMPILE_TEST 345ccdc7bf9SSamuel Ortiz help 3468ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 347ccdc7bf9SSamuel Ortiz (McSPI) modules. 34869c202afSAndrea Paterniani 349505a1495SSourav Poddarconfig SPI_TI_QSPI 350505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 351505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 352505a1495SSourav Poddar help 353505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 354505a1495SSourav Poddar This device supports single, dual and quad read support, while 355505a1495SSourav Poddar it only supports single write mode. 356505a1495SSourav Poddar 35735c9049bSCory Maccarroneconfig SPI_OMAP_100K 35835c9049bSCory Maccarrone tristate "OMAP SPI 100K" 359dd1053a9SMark Brown depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 36035c9049bSCory Maccarrone help 36135c9049bSCory Maccarrone OMAP SPI 100K master controller for omap7xx boards. 36235c9049bSCory Maccarrone 36360cadec9SShadi Ammouriconfig SPI_ORION 3646d1f56aaSKees Cook tristate "Orion SPI master" 365dd1053a9SMark Brown depends on PLAT_ORION || COMPILE_TEST 36660cadec9SShadi Ammouri help 36760cadec9SShadi Ammouri This enables using the SPI master controller on the Orion chips. 36860cadec9SShadi Ammouri 369b43d65f7SLinus Walleijconfig SPI_PL022 3707f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 3717f9a4b97SLinus Walleij depends on ARM_AMBA 372b43d65f7SLinus Walleij default y if MACH_U300 373f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 374f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 375f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 376b43d65f7SLinus Walleij help 377b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 378b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 379b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 380b43d65f7SLinus Walleij 38144dab88eSSteven A. Falcoconfig SPI_PPC4xx 38244dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 3835e8afa34SUwe Kleine-König depends on PPC32 && 4xx 38444dab88eSSteven A. Falco select SPI_BITBANG 38544dab88eSSteven A. Falco help 38644dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 38744dab88eSSteven A. Falco 388cd7bed00SMika Westerbergconfig SPI_PXA2XX_PXADMA 389cd7bed00SMika Westerberg bool "PXA2xx SSP legacy PXA DMA API support" 390cd7bed00SMika Westerberg depends on SPI_PXA2XX && ARCH_PXA 391cd7bed00SMika Westerberg help 3925928808eSMika Westerberg Enable PXA private legacy DMA API support. Note that this is 3935928808eSMika Westerberg deprecated in favor of generic DMA engine API. 3945928808eSMika Westerberg 3955928808eSMika Westerbergconfig SPI_PXA2XX_DMA 3965928808eSMika Westerberg def_bool y 3975928808eSMika Westerberg depends on SPI_PXA2XX && !SPI_PXA2XX_PXADMA 398cd7bed00SMika Westerberg 399e0c9905eSStephen Streetconfig SPI_PXA2XX 400e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 4010244ad00SMartin Schwidefsky depends on (ARCH_PXA || PCI || ACPI) 402d6ea3df0SSebastian Andrzej Siewior select PXA_SSP if ARCH_PXA 403e0c9905eSStephen Street help 404d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 405d6ea3df0SSebastian Andrzej Siewior controller. The driver can be configured to use any SSP port and 406d6ea3df0SSebastian Andrzej Siewior additional documentation can be found a Documentation/spi/pxa2xx. 407d6ea3df0SSebastian Andrzej Siewior 408d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 409afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 410e0c9905eSStephen Street 41164e36824Saddy keconfig SPI_ROCKCHIP 41264e36824Saddy ke tristate "Rockchip SPI controller driver" 413c1536908SMark Brown depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH 41464e36824Saddy ke help 41564e36824Saddy ke This selects a driver for Rockchip SPI controller. 41664e36824Saddy ke 41764e36824Saddy ke If you say yes to this option, support will be included for 41864e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 41964e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 42064e36824Saddy ke The main usecase of this controller is to use spi flash as boot 42164e36824Saddy ke device. 42264e36824Saddy ke 4230b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 424e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 425533465a8SGeert Uytterhoeven depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST 4260b2182ddSShimoda, Yoshihiro help 427e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 4280b2182ddSShimoda, Yoshihiro 42964ff247aSIvan T. Ivanovconfig SPI_QUP 43064ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 431058f11c8SPaul Bolle depends on ARCH_QCOM || (ARM && COMPILE_TEST) 43264ff247aSIvan T. Ivanov help 43364ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 43464ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 43564ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 43664ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 43764ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 43864ff247aSIvan T. Ivanov 43964ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 44064ff247aSIvan T. Ivanov will be called spi_qup. 4418ae12a0dSDavid Brownell 44285abfaa7SDavid Brownellconfig SPI_S3C24XX 44385abfaa7SDavid Brownell tristate "Samsung S3C24XX series SPI" 4446d1f56aaSKees Cook depends on ARCH_S3C24XX 445da0abc27SDavid Brownell select SPI_BITBANG 44685abfaa7SDavid Brownell help 44785abfaa7SDavid Brownell SPI driver for Samsung S3C24XX series ARM SoCs 44885abfaa7SDavid Brownell 449bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ 450bec0806cSBen Dooks bool "S3C24XX driver with FIQ pseudo-DMA" 451bec0806cSBen Dooks depends on SPI_S3C24XX 452bec0806cSBen Dooks select FIQ 453bec0806cSBen Dooks help 454bec0806cSBen Dooks Enable FIQ support for the S3C24XX SPI driver to provide pseudo 455bec0806cSBen Dooks DMA by using the fast-interrupt request framework, This allows 456bec0806cSBen Dooks the driver to get DMA-like performance when there are either 457bec0806cSBen Dooks no free DMA channels, or when doing transfers that required both 458bec0806cSBen Dooks TX and RX data paths. 459bec0806cSBen Dooks 460230d42d4SJassi Brarconfig SPI_S3C64XX 461230d42d4SJassi Brar tristate "Samsung S3C64XX series type SPI" 462bf77cba9SPadmavathi Venna depends on (PLAT_SAMSUNG || ARCH_EXYNOS) 4633faecea7STomasz Figa select S3C64XX_PL080 if ARCH_S3C64XX 464230d42d4SJassi Brar help 465230d42d4SJassi Brar SPI driver for Samsung S3C64XX and newer SoCs. 466230d42d4SJassi Brar 4673ce8859eSGuenter Roeckconfig SPI_SC18IS602 4683ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 4693ce8859eSGuenter Roeck depends on I2C 4703ce8859eSGuenter Roeck help 4713ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 4723ce8859eSGuenter Roeck 4738051effcSMagnus Dammconfig SPI_SH_MSIOF 4748051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 47551fd5090SGeert Uytterhoeven depends on HAVE_CLK && HAS_DMA 4767ad35442SLaurent Pinchart depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST 4778051effcSMagnus Damm help 478746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 4798051effcSMagnus Damm 4805c05dd07SYoshihiro Shimodaconfig SPI_SH 4815c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 482dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 4835c05dd07SYoshihiro Shimoda help 4845c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 4855c05dd07SYoshihiro Shimoda 48637e46640SMagnus Dammconfig SPI_SH_SCI 48737e46640SMagnus Damm tristate "SuperH SCI SPI controller" 4886291fe2aSRobert P. J. Day depends on SUPERH 48937e46640SMagnus Damm select SPI_BITBANG 49037e46640SMagnus Damm help 49137e46640SMagnus Damm SPI driver for SuperH SCI blocks. 49237e46640SMagnus Damm 493d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 494d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 495dd1053a9SMark Brown depends on ARCH_SHMOBILE || COMPILE_TEST 496d1c8bbd7SKuninori Morimoto help 497d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 498d1c8bbd7SKuninori Morimoto 4991cc2df9dSZhiwu Songconfig SPI_SIRF 5001cc2df9dSZhiwu Song tristate "CSR SiRFprimaII SPI controller" 5017668c294SMark Brown depends on SIRF_DMA 5021cc2df9dSZhiwu Song select SPI_BITBANG 5031cc2df9dSZhiwu Song help 5041cc2df9dSZhiwu Song SPI driver for CSR SiRFprimaII SoCs 5051cc2df9dSZhiwu Song 506b5f65179SMaxime Ripardconfig SPI_SUN4I 507b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 508b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 509b5f65179SMaxime Ripard help 510b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 511b5f65179SMaxime Ripard 5123558fe90SMaxime Ripardconfig SPI_SUN6I 5133558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 5143558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 5157961656aSMark Brown depends on RESET_CONTROLLER 5163558fe90SMaxime Ripard help 5173558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 5183558fe90SMaxime Ripard 519646781d3SMarek Vasutconfig SPI_MXS 520646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 521646781d3SMarek Vasut depends on ARCH_MXS 522646781d3SMarek Vasut select STMP_DEVICE 523646781d3SMarek Vasut help 524646781d3SMarek Vasut SPI driver for Freescale MXS devices. 525646781d3SMarek Vasut 526f333a331SLaxman Dewanganconfig SPI_TEGRA114 527f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 528dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 529f59838a0SGeert Uytterhoeven depends on RESET_CONTROLLER && HAS_DMA 530f333a331SLaxman Dewangan help 531f333a331SLaxman Dewangan SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 532f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 533f333a331SLaxman Dewangan get changed with this controller. 534f333a331SLaxman Dewangan 5358528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 5368528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 537dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 538ff2251e3SStephen Warren depends on RESET_CONTROLLER 5398528547bSLaxman Dewangan help 5408528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 5418528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 5428528547bSLaxman Dewangan device. 5438528547bSLaxman Dewangan 544dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 545dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 546dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 547f59838a0SGeert Uytterhoeven depends on RESET_CONTROLLER && HAS_DMA 548dc4dc360SLaxman Dewangan help 549dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 550dc4dc360SLaxman Dewangan 551e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 55292b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 5532b16069aSJean Delvare depends on PCI && (X86_32 || COMPILE_TEST) 554e8b17b5bSMasayuki Ohtake help 555cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 556cdbc8f04SGrant Likely used in some x86 embedded processors. 557e8b17b5bSMasayuki Ohtake 55892b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 55992b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 560f016aeb6STomoya MORINAGA 561f2cac67dSAtsushi Nemotoconfig SPI_TXX9 562f2cac67dSAtsushi Nemoto tristate "Toshiba TXx9 SPI controller" 563dd1053a9SMark Brown depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 564f2cac67dSAtsushi Nemoto help 565f2cac67dSAtsushi Nemoto SPI driver for Toshiba TXx9 MIPS SoCs 566f2cac67dSAtsushi Nemoto 567b3165900SLars-Peter Clausenconfig SPI_XCOMM 568b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 569b3165900SLars-Peter Clausen depends on I2C 570b3165900SLars-Peter Clausen help 571b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 572b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 573b3165900SLars-Peter Clausen 574ae918c02SAndrei Konovalovconfig SPI_XILINX 575c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 5766d1f56aaSKees Cook depends on HAS_IOMEM 577ae918c02SAndrei Konovalov select SPI_BITBANG 578ae918c02SAndrei Konovalov help 579ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 580ae918c02SAndrei Konovalov 581ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 582ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 583ae918c02SAndrei Konovalov 584c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 585c9da2e12SRichard Röjfors 5866840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 5876840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 588be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 5896840cc29SMax Filippov select SPI_BITBANG 5906840cc29SMax Filippov help 5916840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 5926840cc29SMax Filippov 5936840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 5946840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 5956840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 5966840cc29SMax Filippov start and deasserting on end. 5976840cc29SMax Filippov 5986840cc29SMax Filippov 59930eaed05SWan ZongShunconfig SPI_NUC900 60030eaed05SWan ZongShun tristate "Nuvoton NUC900 series SPI" 6016d1f56aaSKees Cook depends on ARCH_W90X900 60230eaed05SWan ZongShun select SPI_BITBANG 60330eaed05SWan ZongShun help 60430eaed05SWan ZongShun SPI driver for Nuvoton NUC900 series ARM SoCs 60530eaed05SWan ZongShun 6068ae12a0dSDavid Brownell# 6078ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 6088ae12a0dSDavid Brownell# 6098ae12a0dSDavid Brownell 610e24c7452SFeng Tangconfig SPI_DESIGNWARE 6118ca8d15aSJean-Hugues Deschenes tristate "DesignWare SPI controller core support" 612e24c7452SFeng Tang help 613e24c7452SFeng Tang general driver for SPI controller core from DesignWare 614e24c7452SFeng Tang 615e24c7452SFeng Tangconfig SPI_DW_PCI 616e24c7452SFeng Tang tristate "PCI interface driver for DW SPI core" 617e24c7452SFeng Tang depends on SPI_DESIGNWARE && PCI 618e24c7452SFeng Tang 6197063c0d9SFeng Tangconfig SPI_DW_MID_DMA 620ea092455SAndy Shevchenko bool "DMA support for DW SPI controller on Intel MID platform" 6217063c0d9SFeng Tang depends on SPI_DW_PCI && INTEL_MID_DMAC 6227063c0d9SFeng Tang 623f7b6fd6dSJean-Hugues Deschenesconfig SPI_DW_MMIO 624f7b6fd6dSJean-Hugues Deschenes tristate "Memory-mapped io interface driver for DW SPI core" 625794f61a3SBaruch Siach depends on SPI_DESIGNWARE 626f7b6fd6dSJean-Hugues Deschenes 6278ae12a0dSDavid Brownell# 6288ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 6298ae12a0dSDavid Brownell# being probably the most widely used ones. 6308ae12a0dSDavid Brownell# 6318ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 6328ae12a0dSDavid Brownell 633814a8d50SAndrea Paternianiconfig SPI_SPIDEV 634814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 635814a8d50SAndrea Paterniani help 636814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 637814a8d50SAndrea Paterniani 638814a8d50SAndrea Paterniani Note that this application programming interface is EXPERIMENTAL 639814a8d50SAndrea Paterniani and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. 640814a8d50SAndrea Paterniani 641447aef1aSBen Dooksconfig SPI_TLE62X0 642447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 6436291fe2aSRobert P. J. Day depends on SYSFS 644447aef1aSBen Dooks help 645447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 646447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 647447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 648447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 649447aef1aSBen Dooks 6508ae12a0dSDavid Brownell# 6518ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 6528ae12a0dSDavid Brownell# 6538ae12a0dSDavid Brownell 6546291fe2aSRobert P. J. Dayendif # SPI_MASTER 6556291fe2aSRobert P. J. Day 6568ae12a0dSDavid Brownell# (slave support would go here) 6578ae12a0dSDavid Brownell 65879d8c7a8SAlessandro Guidoendif # SPI 659