1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 28ae12a0dSDavid Brownell# 38ae12a0dSDavid Brownell# SPI driver configuration 48ae12a0dSDavid Brownell# 579d8c7a8SAlessandro Guidomenuconfig SPI 68ae12a0dSDavid Brownell bool "SPI support" 779d8c7a8SAlessandro Guido depends on HAS_IOMEM 88ae12a0dSDavid Brownell help 98ae12a0dSDavid Brownell The "Serial Peripheral Interface" is a low level synchronous 108ae12a0dSDavid Brownell protocol. Chips that support SPI can have data transfer rates 118ae12a0dSDavid Brownell up to several tens of Mbit/sec. Chips are addressed with a 128ae12a0dSDavid Brownell controller and a chipselect. Most SPI slaves don't support 138ae12a0dSDavid Brownell dynamic device discovery; some are even write-only or read-only. 148ae12a0dSDavid Brownell 153cb2fcccSMatt LaPlante SPI is widely used by microcontrollers to talk with sensors, 168ae12a0dSDavid Brownell eeprom and flash memory, codecs and various other controller 178ae12a0dSDavid Brownell chips, analog to digital (and d-to-a) converters, and more. 188ae12a0dSDavid Brownell MMC and SD cards can be accessed using SPI protocol; and for 198ae12a0dSDavid Brownell DataFlash cards used in MMC sockets, SPI must always be used. 208ae12a0dSDavid Brownell 218ae12a0dSDavid Brownell SPI is one of a family of similar protocols using a four wire 228ae12a0dSDavid Brownell interface (select, clock, data in, data out) including Microwire 238ae12a0dSDavid Brownell (half duplex), SSP, SSI, and PSP. This driver framework should 248ae12a0dSDavid Brownell work with most such devices and controllers. 258ae12a0dSDavid Brownell 2679d8c7a8SAlessandro Guidoif SPI 2779d8c7a8SAlessandro Guido 288ae12a0dSDavid Brownellconfig SPI_DEBUG 296341e62bSChristoph Jaeger bool "Debug support for SPI drivers" 3079d8c7a8SAlessandro Guido depends on DEBUG_KERNEL 318ae12a0dSDavid Brownell help 328ae12a0dSDavid Brownell Say "yes" to enable debug messaging (like dev_dbg and pr_debug), 338ae12a0dSDavid Brownell sysfs, and debugfs support in SPI controller and protocol drivers. 348ae12a0dSDavid Brownell 358ae12a0dSDavid Brownell# 368ae12a0dSDavid Brownell# MASTER side ... talking to discrete SPI slave chips including microcontrollers 378ae12a0dSDavid Brownell# 388ae12a0dSDavid Brownell 398ae12a0dSDavid Brownellconfig SPI_MASTER 406341e62bSChristoph Jaeger# bool "SPI Master Support" 416341e62bSChristoph Jaeger bool 428ae12a0dSDavid Brownell default SPI 438ae12a0dSDavid Brownell help 448ae12a0dSDavid Brownell If your system has an master-capable SPI controller (which 458ae12a0dSDavid Brownell provides the clock and chipselect), you can enable that 468ae12a0dSDavid Brownell controller and the protocol drivers for the SPI slave chips 478ae12a0dSDavid Brownell that are connected. 488ae12a0dSDavid Brownell 496291fe2aSRobert P. J. Dayif SPI_MASTER 506291fe2aSRobert P. J. Day 51c36ff266SBoris Brezillonconfig SPI_MEM 52c36ff266SBoris Brezillon bool "SPI memory extension" 53c36ff266SBoris Brezillon help 54c36ff266SBoris Brezillon Enable this option if you want to enable the SPI memory extension. 55c36ff266SBoris Brezillon This extension is meant to simplify interaction with SPI memories 5629e795caSFabio Estevam by providing a high-level interface to send memory-like commands. 57c36ff266SBoris Brezillon 588ae12a0dSDavid Brownellcomment "SPI Master Controller Drivers" 598ae12a0dSDavid Brownell 600b782531SThomas Chouconfig SPI_ALTERA 610b782531SThomas Chou tristate "Altera SPI Controller" 620b782531SThomas Chou help 630b782531SThomas Chou This is the driver for the Altera SPI Controller. 640b782531SThomas Chou 65047980c5SChuanhong Guoconfig SPI_AR934X 66047980c5SChuanhong Guo tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" 67047980c5SChuanhong Guo depends on ATH79 || COMPILE_TEST 68047980c5SChuanhong Guo help 69047980c5SChuanhong Guo This enables support for the SPI controller present on the 70047980c5SChuanhong Guo Qualcomm Atheros AR934X/QCA95XX SoCs. 71047980c5SChuanhong Guo 728efaef4dSGabor Juhosconfig SPI_ATH79 738efaef4dSGabor Juhos tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" 74b172fd0cSAlban Bedel depends on ATH79 || COMPILE_TEST 758efaef4dSGabor Juhos select SPI_BITBANG 768efaef4dSGabor Juhos help 778efaef4dSGabor Juhos This enables support for the SPI controller present on the 788efaef4dSGabor Juhos Atheros AR71XX/AR724X/AR913X SoCs. 798efaef4dSGabor Juhos 805762ab71SRomain Perierconfig SPI_ARMADA_3700 815762ab71SRomain Perier tristate "Marvell Armada 3700 SPI Controller" 825762ab71SRomain Perier depends on (ARCH_MVEBU && OF) || COMPILE_TEST 835762ab71SRomain Perier help 845762ab71SRomain Perier This enables support for the SPI controller present on the 855762ab71SRomain Perier Marvell Armada 3700 SoCs. 865762ab71SRomain Perier 87754ce4f2SHaavard Skinnemoenconfig SPI_ATMEL 88754ce4f2SHaavard Skinnemoen tristate "Atmel SPI Controller" 89a687a533SArnd Bergmann depends on ARCH_AT91 || COMPILE_TEST 901cb84b02SGregory CLEMENT depends on OF 91754ce4f2SHaavard Skinnemoen help 92754ce4f2SHaavard Skinnemoen This selects a driver for the Atmel SPI Controller, present on 93a687a533SArnd Bergmann many AT91 ARM chips. 94754ce4f2SHaavard Skinnemoen 95e1892546SRadu Pireaconfig SPI_AT91_USART 96e1892546SRadu Pirea tristate "Atmel USART Controller SPI driver" 97e1892546SRadu Pirea depends on (ARCH_AT91 || COMPILE_TEST) 98e1892546SRadu Pirea depends on MFD_AT91_USART 99e1892546SRadu Pirea help 100e1892546SRadu Pirea This selects a driver for the AT91 USART Controller as SPI Master, 101e1892546SRadu Pirea present on AT91 and SAMA5 SoC series. 102e1892546SRadu Pirea 1030e6aae08SPiotr Bugalskiconfig SPI_ATMEL_QUADSPI 1040e6aae08SPiotr Bugalski tristate "Atmel Quad SPI Controller" 1052a9d92fbSArnd Bergmann depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110) 1060e6aae08SPiotr Bugalski depends on OF && HAS_IOMEM 1070e6aae08SPiotr Bugalski help 1080e6aae08SPiotr Bugalski This enables support for the Quad SPI controller in master mode. 1090e6aae08SPiotr Bugalski This driver does not support generic SPI. The implementation only 1100e6aae08SPiotr Bugalski supports spi-mem interface. 1110e6aae08SPiotr Bugalski 112e32bb870SMark Brownconfig SPI_AU1550 113e32bb870SMark Brown tristate "Au1550/Au1200/Au1300 SPI Controller" 114e32bb870SMark Brown depends on MIPS_ALCHEMY 115e32bb870SMark Brown select SPI_BITBANG 116e32bb870SMark Brown help 117e32bb870SMark Brown If you say yes to this option, support will be included for the 118e32bb870SMark Brown PSC SPI controller found on Au1550, Au1200 and Au1300 series. 119e32bb870SMark Brown 120b1353d1cSLars-Peter Clausenconfig SPI_AXI_SPI_ENGINE 121b1353d1cSLars-Peter Clausen tristate "Analog Devices AXI SPI Engine controller" 122b1353d1cSLars-Peter Clausen depends on HAS_IOMEM 123b1353d1cSLars-Peter Clausen help 124b1353d1cSLars-Peter Clausen This enables support for the Analog Devices AXI SPI Engine SPI controller. 125b1353d1cSLars-Peter Clausen It is part of the SPI Engine framework that is used in some Analog Devices 126b1353d1cSLars-Peter Clausen reference designs for FPGAs. 127b1353d1cSLars-Peter Clausen 128f8043872SChris Bootconfig SPI_BCM2835 129f8043872SChris Boot tristate "BCM2835 SPI controller" 130e0d58cdcSYoshinori Sato depends on GPIOLIB 13135ceb675SFlorian Fainelli depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST 132f8043872SChris Boot help 133f8043872SChris Boot This selects a driver for the Broadcom BCM2835 SPI master. 134f8043872SChris Boot 135f8043872SChris Boot The BCM2835 contains two types of SPI master controller; the 136f8043872SChris Boot "universal SPI master", and the regular SPI controller. This driver 137f8043872SChris Boot is for the regular SPI controller. Slave mode operation is not also 138f8043872SChris Boot not supported. 139f8043872SChris Boot 1401ea29b39SMartin Sperlconfig SPI_BCM2835AUX 1411ea29b39SMartin Sperl tristate "BCM2835 SPI auxiliary controller" 14235ceb675SFlorian Fainelli depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST 1431ea29b39SMartin Sperl help 1441ea29b39SMartin Sperl This selects a driver for the Broadcom BCM2835 SPI aux master. 1451ea29b39SMartin Sperl 1461ea29b39SMartin Sperl The BCM2835 contains two types of SPI master controller; the 1471ea29b39SMartin Sperl "universal SPI master", and the regular SPI controller. 1481ea29b39SMartin Sperl This driver is for the universal/auxiliary SPI controller. 1491ea29b39SMartin Sperl 150b42dfed8SFlorian Fainelliconfig SPI_BCM63XX 151b42dfed8SFlorian Fainelli tristate "Broadcom BCM63xx SPI controller" 15244d8fb30SJonas Gorski depends on BCM63XX || COMPILE_TEST 153b42dfed8SFlorian Fainelli help 154b42dfed8SFlorian Fainelli Enable support for the SPI controller on the Broadcom BCM63xx SoCs. 155b42dfed8SFlorian Fainelli 156142168ebSJonas Gorskiconfig SPI_BCM63XX_HSSPI 157142168ebSJonas Gorski tristate "Broadcom BCM63XX HS SPI controller driver" 15879a15f49SFlorian Fainelli depends on BCM63XX || ARCH_BCM_63XX || COMPILE_TEST 159142168ebSJonas Gorski help 160142168ebSJonas Gorski This enables support for the High Speed SPI controller present on 161142168ebSJonas Gorski newer Broadcom BCM63XX SoCs. 162142168ebSJonas Gorski 163fa236a7eSKamal Dasuconfig SPI_BCM_QSPI 164fa236a7eSKamal Dasu tristate "Broadcom BSPI and MSPI controller support" 165279e4af7SJaedon Shin depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ 166279e4af7SJaedon Shin BMIPS_GENERIC || COMPILE_TEST 167fa236a7eSKamal Dasu default ARCH_BCM_IPROC 168fa236a7eSKamal Dasu help 169fa236a7eSKamal Dasu Enables support for the Broadcom SPI flash and MSPI controller. 170fa236a7eSKamal Dasu Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs 171fa236a7eSKamal Dasu based platforms. This driver works for both SPI master for spi-nor 172fa236a7eSKamal Dasu flash device as well as MSPI device. 173fa236a7eSKamal Dasu 1749904f22aSDavid Brownellconfig SPI_BITBANG 175d29389deSDavid Brownell tristate "Utilities for Bitbanging SPI masters" 1769904f22aSDavid Brownell help 1779904f22aSDavid Brownell With a few GPIO pins, your system can bitbang the SPI protocol. 1789904f22aSDavid Brownell Select this to get SPI support through I/O pins (GPIO, parallel 1799904f22aSDavid Brownell port, etc). Or, some systems' SPI master controller drivers use 1809904f22aSDavid Brownell this code to manage the per-word or per-transfer accesses to the 1819904f22aSDavid Brownell hardware shift registers. 1829904f22aSDavid Brownell 1839904f22aSDavid Brownell This is library code, and is automatically selected by drivers that 1849904f22aSDavid Brownell need it. You only need to select this explicitly to support driver 1859904f22aSDavid Brownell modules that aren't part of this kernel tree. 1868ae12a0dSDavid Brownell 1877111763dSDavid Brownellconfig SPI_BUTTERFLY 1887111763dSDavid Brownell tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" 1896291fe2aSRobert P. J. Day depends on PARPORT 1907111763dSDavid Brownell select SPI_BITBANG 1917111763dSDavid Brownell help 1927111763dSDavid Brownell This uses a custom parallel port cable to connect to an AVR 1937111763dSDavid Brownell Butterfly <http://www.atmel.com/products/avr/butterfly>, an 1947111763dSDavid Brownell inexpensive battery powered microcontroller evaluation board. 1957111763dSDavid Brownell This same cable can be used to flash new firmware. 1967111763dSDavid Brownell 197c474b386SHarini Katakamconfig SPI_CADENCE 198c474b386SHarini Katakam tristate "Cadence SPI controller" 199c474b386SHarini Katakam help 200c474b386SHarini Katakam This selects the Cadence SPI controller master driver 20138b6484eSMichal Simek used by Xilinx Zynq and ZynqMP. 202c474b386SHarini Katakam 203*31fb632bSRamuthevar Vadivel Muruganconfig SPI_CADENCE_QUADSPI 204*31fb632bSRamuthevar Vadivel Murugan tristate "Cadence Quad SPI controller" 205*31fb632bSRamuthevar Vadivel Murugan depends on OF && (ARM || ARM64 || COMPILE_TEST) 206*31fb632bSRamuthevar Vadivel Murugan help 207*31fb632bSRamuthevar Vadivel Murugan Enable support for the Cadence Quad SPI Flash controller. 208*31fb632bSRamuthevar Vadivel Murugan 209*31fb632bSRamuthevar Vadivel Murugan Cadence QSPI is a specialized controller for connecting an SPI 210*31fb632bSRamuthevar Vadivel Murugan Flash over 1/2/4-bit wide bus. Enable this option if you have a 211*31fb632bSRamuthevar Vadivel Murugan device with a Cadence QSPI controller and want to access the 212*31fb632bSRamuthevar Vadivel Murugan Flash as an MTD device. 213*31fb632bSRamuthevar Vadivel Murugan 214161b96c3SAlexander Shiyanconfig SPI_CLPS711X 215161b96c3SAlexander Shiyan tristate "CLPS711X host SPI controller" 2165634dd8bSAxel Lin depends on ARCH_CLPS711X || COMPILE_TEST 217161b96c3SAlexander Shiyan help 218161b96c3SAlexander Shiyan This enables dedicated general purpose SPI/Microwire1-compatible 219161b96c3SAlexander Shiyan master mode interface (SSI1) for CLPS711X-based CPUs. 220161b96c3SAlexander Shiyan 22134b8c661SSteven Kingconfig SPI_COLDFIRE_QSPI 22234b8c661SSteven King tristate "Freescale Coldfire QSPI controller" 223bce4d12bSSteven King depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) 22434b8c661SSteven King help 22534b8c661SSteven King This enables support for the Coldfire QSPI controller in master 22634b8c661SSteven King mode. 22734b8c661SSteven King 228358934a6SSandeep Paulrajconfig SPI_DAVINCI 22923ce17adSSekhar Nori tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" 23078848914SSantosh Shilimkar depends on ARCH_DAVINCI || ARCH_KEYSTONE 231358934a6SSandeep Paulraj select SPI_BITBANG 232358934a6SSandeep Paulraj help 23323ce17adSSekhar Nori SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. 23423ce17adSSekhar Nori 235e32bb870SMark Brownconfig SPI_DESIGNWARE 236e32bb870SMark Brown tristate "DesignWare SPI controller core support" 237e32bb870SMark Brown help 238e32bb870SMark Brown general driver for SPI controller core from DesignWare 239e32bb870SMark Brown 240ecb3a67eSSerge Seminif SPI_DESIGNWARE 241ecb3a67eSSerge Semin 2426c710c0cSSerge Seminconfig SPI_DW_DMA 2436c710c0cSSerge Semin bool "DMA support for DW SPI controller" 2446c710c0cSSerge Semin 245e32bb870SMark Brownconfig SPI_DW_PCI 246e32bb870SMark Brown tristate "PCI interface driver for DW SPI core" 247ecb3a67eSSerge Semin depends on PCI 248e32bb870SMark Brown 249e32bb870SMark Brownconfig SPI_DW_MMIO 250e32bb870SMark Brown tristate "Memory-mapped io interface driver for DW SPI core" 251ecb3a67eSSerge Semin depends on HAS_IOMEM 252ecb3a67eSSerge Semin 253ecb3a67eSSerge Seminendif 254e32bb870SMark Brown 2553d8c0d74SLaurentiu Palcuconfig SPI_DLN2 2563d8c0d74SLaurentiu Palcu tristate "Diolan DLN-2 USB SPI adapter" 2573d8c0d74SLaurentiu Palcu depends on MFD_DLN2 2583d8c0d74SLaurentiu Palcu help 2593d8c0d74SLaurentiu Palcu If you say yes to this option, support will be included for Diolan 2603d8c0d74SLaurentiu Palcu DLN2, a USB to SPI interface. 2613d8c0d74SLaurentiu Palcu 2623d8c0d74SLaurentiu Palcu This driver can also be built as a module. If so, the module 2633d8c0d74SLaurentiu Palcu will be called spi-dln2. 2643d8c0d74SLaurentiu Palcu 26586f8973cSUwe Kleine-Königconfig SPI_EFM32 26686f8973cSUwe Kleine-König tristate "EFM32 SPI controller" 26786f8973cSUwe Kleine-König depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) 26886f8973cSUwe Kleine-König select SPI_BITBANG 26986f8973cSUwe Kleine-König help 27086f8973cSUwe Kleine-König Driver for the spi controller found on Energy Micro's EFM32 SoCs. 27186f8973cSUwe Kleine-König 272011f23a3SMika Westerbergconfig SPI_EP93XX 273011f23a3SMika Westerberg tristate "Cirrus Logic EP93xx SPI controller" 274dd1053a9SMark Brown depends on ARCH_EP93XX || COMPILE_TEST 275011f23a3SMika Westerberg help 276011f23a3SMika Westerberg This enables using the Cirrus EP93xx SPI controller in master 277011f23a3SMika Westerberg mode. 278011f23a3SMika Westerberg 2796cd3c7e2SThomas Langerconfig SPI_FALCON 2809c6a3af0SHauke Mehrtens bool "Falcon SPI controller support" 2816cd3c7e2SThomas Langer depends on SOC_FALCON 2826cd3c7e2SThomas Langer help 2836cd3c7e2SThomas Langer The external bus unit (EBU) found on the FALC-ON SoC has SPI 2846cd3c7e2SThomas Langer emulation that is designed for serial flash access. This driver 2856cd3c7e2SThomas Langer has only been tested with m25p80 type chips. The hardware has no 2866cd3c7e2SThomas Langer support for other types of SPI peripherals. 2876cd3c7e2SThomas Langer 288bbb6b2f9SEddie Jamesconfig SPI_FSI 289bbb6b2f9SEddie James tristate "FSI SPI driver" 290bbb6b2f9SEddie James depends on FSI 291bbb6b2f9SEddie James help 292bbb6b2f9SEddie James This enables support for the driver for FSI bus attached SPI 293bbb6b2f9SEddie James controllers. 294bbb6b2f9SEddie James 2955314987dSGao Panconfig SPI_FSL_LPSPI 2965314987dSGao Pan tristate "Freescale i.MX LPSPI controller" 2975314987dSGao Pan depends on ARCH_MXC || COMPILE_TEST 2985314987dSGao Pan help 2995314987dSGao Pan This enables Freescale i.MX LPSPI controllers in master mode. 3005314987dSGao Pan 30184d04318SFrieder Schrempfconfig SPI_FSL_QUADSPI 30284d04318SFrieder Schrempf tristate "Freescale QSPI controller" 30384d04318SFrieder Schrempf depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST 30484d04318SFrieder Schrempf depends on HAS_IOMEM 30584d04318SFrieder Schrempf help 30684d04318SFrieder Schrempf This enables support for the Quad SPI controller in master mode. 30784d04318SFrieder Schrempf Up to four flash chips can be connected on two buses with two 30884d04318SFrieder Schrempf chipselects each. 30984d04318SFrieder Schrempf This controller does not support generic SPI messages. It only 31084d04318SFrieder Schrempf supports the high-level SPI memory interface. 31184d04318SFrieder Schrempf 312a2ca53b5SJohn Garryconfig SPI_HISI_SFC_V3XX 313a2ca53b5SJohn Garry tristate "HiSilicon SPI-NOR Flash Controller for Hi16XX chipsets" 314a2ca53b5SJohn Garry depends on (ARM64 && ACPI) || COMPILE_TEST 315a2ca53b5SJohn Garry depends on HAS_IOMEM 316a2ca53b5SJohn Garry help 317a2ca53b5SJohn Garry This enables support for HiSilicon v3xx SPI-NOR flash controller 318a2ca53b5SJohn Garry found in hi16xx chipsets. 319a2ca53b5SJohn Garry 320a5356aefSYogesh Narayan Gaurconfig SPI_NXP_FLEXSPI 321a5356aefSYogesh Narayan Gaur tristate "NXP Flex SPI controller" 322a5356aefSYogesh Narayan Gaur depends on ARCH_LAYERSCAPE || HAS_IOMEM 323a5356aefSYogesh Narayan Gaur help 324a5356aefSYogesh Narayan Gaur This enables support for the Flex SPI controller in master mode. 325a5356aefSYogesh Narayan Gaur Up to four slave devices can be connected on two buses with two 326a5356aefSYogesh Narayan Gaur chipselects each. 327a5356aefSYogesh Narayan Gaur This controller does not support generic SPI messages and only 328a5356aefSYogesh Narayan Gaur supports the high-level SPI memory interface. 329a5356aefSYogesh Narayan Gaur 330d29389deSDavid Brownellconfig SPI_GPIO 331d29389deSDavid Brownell tristate "GPIO-based bitbanging SPI Master" 3325c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 333d29389deSDavid Brownell select SPI_BITBANG 334d29389deSDavid Brownell help 335d29389deSDavid Brownell This simple GPIO bitbanging SPI master uses the arch-neutral GPIO 336d29389deSDavid Brownell interface to manage MOSI, MISO, SCK, and chipselect signals. SPI 337d29389deSDavid Brownell slaves connected to a bus using this driver are configured as usual, 338d29389deSDavid Brownell except that the spi_board_info.controller_data holds the GPIO number 339d29389deSDavid Brownell for the chipselect used by this controller driver. 340d29389deSDavid Brownell 341d29389deSDavid Brownell Note that this driver often won't achieve even 1 Mbit/sec speeds, 342d29389deSDavid Brownell making it unusually slow for SPI. If your platform can inline 343d29389deSDavid Brownell GPIO operations, you should be able to leverage that for better 344d29389deSDavid Brownell speed with a custom version of this driver; see the source code. 345d29389deSDavid Brownell 346deba2580SAndrew Brestickerconfig SPI_IMG_SPFI 347deba2580SAndrew Bresticker tristate "IMG SPFI controller" 348deba2580SAndrew Bresticker depends on MIPS || COMPILE_TEST 349deba2580SAndrew Bresticker help 350deba2580SAndrew Bresticker This enables support for the SPFI master controller found on 351deba2580SAndrew Bresticker IMG SoCs. 352deba2580SAndrew Bresticker 353b5f3294fSSascha Hauerconfig SPI_IMX 354b5f3294fSSascha Hauer tristate "Freescale i.MX SPI controllers" 355dd1053a9SMark Brown depends on ARCH_MXC || COMPILE_TEST 356b5f3294fSSascha Hauer select SPI_BITBANG 357b5f3294fSSascha Hauer help 3582e236bafSFabio Estevam This enables support for the Freescale i.MX SPI controllers. 359b5f3294fSSascha Hauer 3602cb1b3b3SRich Felkerconfig SPI_JCORE 3612cb1b3b3SRich Felker tristate "J-Core SPI Master" 3622cb1b3b3SRich Felker depends on OF && (SUPERH || COMPILE_TEST) 3632cb1b3b3SRich Felker help 3642cb1b3b3SRich Felker This enables support for the SPI master controller in the J-Core 3652cb1b3b3SRich Felker synthesizable, open source SoC. 3662cb1b3b3SRich Felker 36778961a57SKaiwan N Billimoriaconfig SPI_LM70_LLP 36878961a57SKaiwan N Billimoria tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" 3696d1f56aaSKees Cook depends on PARPORT 37078961a57SKaiwan N Billimoria select SPI_BITBANG 37178961a57SKaiwan N Billimoria help 37278961a57SKaiwan N Billimoria This driver supports the NS LM70 LLP Evaluation Board, 37378961a57SKaiwan N Billimoria which interfaces to an LM70 temperature sensor using 37478961a57SKaiwan N Billimoria a parallel port. 37578961a57SKaiwan N Billimoria 3767ecbfff6SSergei Ianovichconfig SPI_LP8841_RTC 3777ecbfff6SSergei Ianovich tristate "ICP DAS LP-8841 SPI Controller for RTC" 3787ecbfff6SSergei Ianovich depends on MACH_PXA27X_DT || COMPILE_TEST 3797ecbfff6SSergei Ianovich help 3807ecbfff6SSergei Ianovich This driver provides an SPI master device to drive Maxim 3817ecbfff6SSergei Ianovich DS-1302 real time clock. 3827ecbfff6SSergei Ianovich 3837ecbfff6SSergei Ianovich Say N here unless you plan to run the kernel on an ICP DAS 3847ecbfff6SSergei Ianovich LP-8x4x industrial computer. 3857ecbfff6SSergei Ianovich 38642bbb709SGrant Likelyconfig SPI_MPC52xx 38742bbb709SGrant Likely tristate "Freescale MPC52xx SPI (non-PSC) controller support" 3887433f2b7SPaul Bolle depends on PPC_MPC52xx 38942bbb709SGrant Likely help 39042bbb709SGrant Likely This drivers supports the MPC52xx SPI controller in master SPI 39142bbb709SGrant Likely mode. 39242bbb709SGrant Likely 39300b8fd23SDragos Carpconfig SPI_MPC52xx_PSC 39400b8fd23SDragos Carp tristate "Freescale MPC52xx PSC SPI controller" 3956d1f56aaSKees Cook depends on PPC_MPC52xx 39600b8fd23SDragos Carp help 39700b8fd23SDragos Carp This enables using the Freescale MPC52xx Programmable Serial 39800b8fd23SDragos Carp Controller in master SPI mode. 39900b8fd23SDragos Carp 4006e27388fSAnatolij Gustschinconfig SPI_MPC512x_PSC 4016e27388fSAnatolij Gustschin tristate "Freescale MPC512x PSC SPI controller" 4025e8afa34SUwe Kleine-König depends on PPC_MPC512x 4036e27388fSAnatolij Gustschin help 4046e27388fSAnatolij Gustschin This enables using the Freescale MPC5121 Programmable Serial 4056e27388fSAnatolij Gustschin Controller in SPI master mode. 4066e27388fSAnatolij Gustschin 407b36ece83SMingkai Huconfig SPI_FSL_LIB 408b36ece83SMingkai Hu tristate 409e8beacbbSAndreas Larsson depends on OF 410e8beacbbSAndreas Larsson 411e8beacbbSAndreas Larssonconfig SPI_FSL_CPM 412e8beacbbSAndreas Larsson tristate 413b36ece83SMingkai Hu depends on FSL_SOC 414b36ece83SMingkai Hu 4153272029fSMingkai Huconfig SPI_FSL_SPI 41638455d7aSEsben Haabendal tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" 417e8beacbbSAndreas Larsson depends on OF 418b36ece83SMingkai Hu select SPI_FSL_LIB 419e8beacbbSAndreas Larsson select SPI_FSL_CPM if FSL_SOC 420ccf06998SKumar Gala help 4213272029fSMingkai Hu This enables using the Freescale SPI controllers in master mode. 4223272029fSMingkai Hu MPC83xx platform uses the controller in cpu mode or CPM/QE mode. 4233272029fSMingkai Hu MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. 424447b0c7bSAndreas Larsson This also enables using the Aeroflex Gaisler GRLIB SPI controller in 425447b0c7bSAndreas Larsson master mode. 426ccf06998SKumar Gala 427349ad66cSChao Fuconfig SPI_FSL_DSPI 428349ad66cSChao Fu tristate "Freescale DSPI controller" 4291acbdeb9SChao Fu select REGMAP_MMIO 430ec7ed770SAngelo Dureghello depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST 431349ad66cSChao Fu help 432349ad66cSChao Fu This enables support for the Freescale DSPI controller in master 4330dcdcd0eSAngelo Dureghello mode. VF610, LS1021A and ColdFire platforms uses the controller. 434349ad66cSChao Fu 4358b60d6c2SMingkai Huconfig SPI_FSL_ESPI 43638455d7aSEsben Haabendal tristate "Freescale eSPI controller" 4378b60d6c2SMingkai Hu depends on FSL_SOC 4388b60d6c2SMingkai Hu help 4398b60d6c2SMingkai Hu This enables using the Freescale eSPI controllers in master mode. 4408b60d6c2SMingkai Hu From MPC8536, 85xx platform uses the controller, and all P10xx, 4418b60d6c2SMingkai Hu P20xx, P30xx,P40xx, P50xx uses this controller. 4428b60d6c2SMingkai Hu 443454fa271SNeil Armstrongconfig SPI_MESON_SPICC 444454fa271SNeil Armstrong tristate "Amlogic Meson SPICC controller" 4453e0cf4d3SSunny Luo depends on COMMON_CLK 446454fa271SNeil Armstrong depends on ARCH_MESON || COMPILE_TEST 447454fa271SNeil Armstrong help 448454fa271SNeil Armstrong This enables master mode support for the SPICC (SPI communication 449454fa271SNeil Armstrong controller) available in Amlogic Meson SoCs. 450454fa271SNeil Armstrong 451c3e4bc54SBeniamino Galvaniconfig SPI_MESON_SPIFC 452c3e4bc54SBeniamino Galvani tristate "Amlogic Meson SPIFC controller" 453c3e4bc54SBeniamino Galvani depends on ARCH_MESON || COMPILE_TEST 4541327ecd4SBeniamino Galvani select REGMAP_MMIO 455c3e4bc54SBeniamino Galvani help 456c3e4bc54SBeniamino Galvani This enables master mode support for the SPIFC (SPI flash 457c3e4bc54SBeniamino Galvani controller) available in Amlogic Meson SoCs. 458c3e4bc54SBeniamino Galvani 459a568231fSLeilk Liuconfig SPI_MT65XX 460a568231fSLeilk Liu tristate "MediaTek SPI controller" 461a568231fSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 462a568231fSLeilk Liu help 463a568231fSLeilk Liu This selects the MediaTek(R) SPI bus driver. 464a568231fSLeilk Liu If you want to use MediaTek(R) SPI interface, 465a568231fSLeilk Liu say Y or M here.If you are not sure, say N. 466a568231fSLeilk Liu SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. 467a568231fSLeilk Liu 468cbd66c62SStefan Roeseconfig SPI_MT7621 469cbd66c62SStefan Roese tristate "MediaTek MT7621 SPI Controller" 470cbd66c62SStefan Roese depends on RALINK || COMPILE_TEST 471cbd66c62SStefan Roese help 472cbd66c62SStefan Roese This selects a driver for the MediaTek MT7621 SPI Controller. 473cbd66c62SStefan Roese 474881d1ee9SChuanhong Guoconfig SPI_MTK_NOR 475881d1ee9SChuanhong Guo tristate "MediaTek SPI NOR controller" 476881d1ee9SChuanhong Guo depends on ARCH_MEDIATEK || COMPILE_TEST 477881d1ee9SChuanhong Guo help 478881d1ee9SChuanhong Guo This enables support for SPI NOR controller found on MediaTek 479881d1ee9SChuanhong Guo ARM SoCs. This is a controller specifically for SPI-NOR flash. 480881d1ee9SChuanhong Guo It can perform generic SPI transfers up to 6 bytes via generic 481881d1ee9SChuanhong Guo SPI interface as well as several SPI-NOR specific instructions 482881d1ee9SChuanhong Guo via SPI MEM interface. 483881d1ee9SChuanhong Guo 484ace55c41STomer Maimonconfig SPI_NPCM_FIU 485ace55c41STomer Maimon tristate "Nuvoton NPCM FLASH Interface Unit" 486ace55c41STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 487ace55c41STomer Maimon depends on OF && HAS_IOMEM 488ace55c41STomer Maimon help 489ace55c41STomer Maimon This enables support for the Flash Interface Unit SPI controller 490ace55c41STomer Maimon in master mode. 491ace55c41STomer Maimon This driver does not support generic SPI. The implementation only 492ace55c41STomer Maimon supports spi-mem interface. 493ace55c41STomer Maimon 4942a22f1b3STomer Maimonconfig SPI_NPCM_PSPI 4952a22f1b3STomer Maimon tristate "Nuvoton NPCM PSPI Controller" 4962a22f1b3STomer Maimon depends on ARCH_NPCM || COMPILE_TEST 4972a22f1b3STomer Maimon help 4982a22f1b3STomer Maimon This driver provides support for Nuvoton NPCM BMC 4992a22f1b3STomer Maimon Peripheral SPI controller in master mode. 5002a22f1b3STomer Maimon 50117f84b79SHauke Mehrtensconfig SPI_LANTIQ_SSC 50217f84b79SHauke Mehrtens tristate "Lantiq SSC SPI controller" 503582c97f6SHauke Mehrtens depends on LANTIQ || COMPILE_TEST 50417f84b79SHauke Mehrtens help 50517f84b79SHauke Mehrtens This driver supports the Lantiq SSC SPI controller in master 50617f84b79SHauke Mehrtens mode. This controller is found on Intel (former Lantiq) SoCs like 50717f84b79SHauke Mehrtens the Danube, Falcon, xRX200, xRX300. 50817f84b79SHauke Mehrtens 509ce792580SThomas Chouconfig SPI_OC_TINY 510ce792580SThomas Chou tristate "OpenCores tiny SPI" 5115c2301a9SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 512ce792580SThomas Chou select SPI_BITBANG 513ce792580SThomas Chou help 514ce792580SThomas Chou This is the driver for OpenCores tiny SPI master controller. 515ce792580SThomas Chou 5166b52c00fSDavid Daneyconfig SPI_OCTEON 5176b52c00fSDavid Daney tristate "Cavium OCTEON SPI controller" 5189ddebc46SDavid Daney depends on CAVIUM_OCTEON_SOC 5196b52c00fSDavid Daney help 5206b52c00fSDavid Daney SPI host driver for the hardware found on some Cavium OCTEON 5216b52c00fSDavid Daney SOCs. 5226b52c00fSDavid Daney 523fdb3c18dSDavid Brownellconfig SPI_OMAP_UWIRE 524fdb3c18dSDavid Brownell tristate "OMAP1 MicroWire" 5256291fe2aSRobert P. J. Day depends on ARCH_OMAP1 526fdb3c18dSDavid Brownell select SPI_BITBANG 527fdb3c18dSDavid Brownell help 528fdb3c18dSDavid Brownell This hooks up to the MicroWire controller on OMAP1 chips. 529fdb3c18dSDavid Brownell 530ccdc7bf9SSamuel Ortizconfig SPI_OMAP24XX 5318ebeb545SSyed Rafiuddin tristate "McSPI driver for OMAP" 53281df42d1SVignesh R depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST 5332b32e987SFranklin S Cooper Jr select SG_SPLIT 534ccdc7bf9SSamuel Ortiz help 5358ebeb545SSyed Rafiuddin SPI master controller for OMAP24XX and later Multichannel SPI 536ccdc7bf9SSamuel Ortiz (McSPI) modules. 53769c202afSAndrea Paterniani 538505a1495SSourav Poddarconfig SPI_TI_QSPI 539505a1495SSourav Poddar tristate "DRA7xxx QSPI controller support" 540505a1495SSourav Poddar depends on ARCH_OMAP2PLUS || COMPILE_TEST 541505a1495SSourav Poddar help 542505a1495SSourav Poddar QSPI master controller for DRA7xxx used for flash devices. 543505a1495SSourav Poddar This device supports single, dual and quad read support, while 544505a1495SSourav Poddar it only supports single write mode. 545505a1495SSourav Poddar 54635c9049bSCory Maccarroneconfig SPI_OMAP_100K 54735c9049bSCory Maccarrone tristate "OMAP SPI 100K" 548dd1053a9SMark Brown depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST 54935c9049bSCory Maccarrone help 55035c9049bSCory Maccarrone OMAP SPI 100K master controller for omap7xx boards. 55135c9049bSCory Maccarrone 55260cadec9SShadi Ammouriconfig SPI_ORION 5536d1f56aaSKees Cook tristate "Orion SPI master" 554710a1d54SThomas Petazzoni depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 55560cadec9SShadi Ammouri help 55673482910SUwe Kleine-König This enables using the SPI master controller on the Orion 55773482910SUwe Kleine-König and MVEBU chips. 55860cadec9SShadi Ammouri 5591bcb9f8cSPurna Chandra Mandalconfig SPI_PIC32 5601bcb9f8cSPurna Chandra Mandal tristate "Microchip PIC32 series SPI" 5611bcb9f8cSPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 5621bcb9f8cSPurna Chandra Mandal help 5631bcb9f8cSPurna Chandra Mandal SPI driver for Microchip PIC32 SPI master controller. 5641bcb9f8cSPurna Chandra Mandal 5653270ac23SPurna Chandra Mandalconfig SPI_PIC32_SQI 5663270ac23SPurna Chandra Mandal tristate "Microchip PIC32 Quad SPI driver" 5673270ac23SPurna Chandra Mandal depends on MACH_PIC32 || COMPILE_TEST 5683270ac23SPurna Chandra Mandal help 5693270ac23SPurna Chandra Mandal SPI driver for PIC32 Quad SPI controller. 5703270ac23SPurna Chandra Mandal 571b43d65f7SLinus Walleijconfig SPI_PL022 5727f9a4b97SLinus Walleij tristate "ARM AMBA PL022 SSP controller" 5737f9a4b97SLinus Walleij depends on ARM_AMBA 574b43d65f7SLinus Walleij default y if MACH_U300 575f33b29eeSlinus.walleij@stericsson.com default y if ARCH_REALVIEW 576f33b29eeSlinus.walleij@stericsson.com default y if INTEGRATOR_IMPD1 577f33b29eeSlinus.walleij@stericsson.com default y if ARCH_VERSATILE 578b43d65f7SLinus Walleij help 579b43d65f7SLinus Walleij This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP 580b43d65f7SLinus Walleij controller. If you have an embedded system with an AMBA(R) 581b43d65f7SLinus Walleij bus and a PL022 controller, say Y or M here. 582b43d65f7SLinus Walleij 58344dab88eSSteven A. Falcoconfig SPI_PPC4xx 58444dab88eSSteven A. Falco tristate "PPC4xx SPI Controller" 5855e8afa34SUwe Kleine-König depends on PPC32 && 4xx 58644dab88eSSteven A. Falco select SPI_BITBANG 58744dab88eSSteven A. Falco help 58844dab88eSSteven A. Falco This selects a driver for the PPC4xx SPI Controller. 58944dab88eSSteven A. Falco 590e0c9905eSStephen Streetconfig SPI_PXA2XX 591e0c9905eSStephen Street tristate "PXA2xx SSP SPI master" 5920d441644SGeert Uytterhoeven depends on ARCH_PXA || ARCH_MMP || PCI || ACPI || COMPILE_TEST 593128345b1SArnd Bergmann select PXA_SSP if ARCH_PXA || ARCH_MMP 594e0c9905eSStephen Street help 595d6ea3df0SSebastian Andrzej Siewior This enables using a PXA2xx or Sodaville SSP port as a SPI master 596d6ea3df0SSebastian Andrzej Siewior controller. The driver can be configured to use any SSP port and 5979cdd273eSMauro Carvalho Chehab additional documentation can be found a Documentation/spi/pxa2xx.rst. 598d6ea3df0SSebastian Andrzej Siewior 599d6ea3df0SSebastian Andrzej Siewiorconfig SPI_PXA2XX_PCI 600afa93c90SChew, Chiau Ee def_tristate SPI_PXA2XX && PCI && COMMON_CLK 601e0c9905eSStephen Street 60264e36824Saddy keconfig SPI_ROCKCHIP 60364e36824Saddy ke tristate "Rockchip SPI controller driver" 60464e36824Saddy ke help 60564e36824Saddy ke This selects a driver for Rockchip SPI controller. 60664e36824Saddy ke 60764e36824Saddy ke If you say yes to this option, support will be included for 60864e36824Saddy ke RK3066, RK3188 and RK3288 families of SPI controller. 60964e36824Saddy ke Rockchip SPI controller support DMA transport and PIO mode. 61064e36824Saddy ke The main usecase of this controller is to use spi flash as boot 61164e36824Saddy ke device. 61264e36824Saddy ke 61305aec357SBert Vermeulenconfig SPI_RB4XX 61405aec357SBert Vermeulen tristate "Mikrotik RB4XX SPI master" 61505aec357SBert Vermeulen depends on SPI_MASTER && ATH79 61605aec357SBert Vermeulen help 61705aec357SBert Vermeulen SPI controller driver for the Mikrotik RB4xx series boards. 61805aec357SBert Vermeulen 6190b2182ddSShimoda, Yoshihiroconfig SPI_RSPI 620e290c343SGeert Uytterhoeven tristate "Renesas RSPI/QSPI controller" 6213aec3166SSimon Horman depends on SUPERH || ARCH_RENESAS || COMPILE_TEST 6220b2182ddSShimoda, Yoshihiro help 623e290c343SGeert Uytterhoeven SPI driver for Renesas RSPI and QSPI blocks. 6240b2182ddSShimoda, Yoshihiro 62504000dc6SGirish Mahadevanconfig SPI_QCOM_QSPI 62604000dc6SGirish Mahadevan tristate "QTI QSPI controller" 62704000dc6SGirish Mahadevan depends on ARCH_QCOM 62804000dc6SGirish Mahadevan help 62904000dc6SGirish Mahadevan QSPI(Quad SPI) driver for Qualcomm QSPI controller. 63004000dc6SGirish Mahadevan 63164ff247aSIvan T. Ivanovconfig SPI_QUP 63264ff247aSIvan T. Ivanov tristate "Qualcomm SPI controller with QUP interface" 633058f11c8SPaul Bolle depends on ARCH_QCOM || (ARM && COMPILE_TEST) 63464ff247aSIvan T. Ivanov help 63564ff247aSIvan T. Ivanov Qualcomm Universal Peripheral (QUP) core is an AHB slave that 63664ff247aSIvan T. Ivanov provides a common data path (an output FIFO and an input FIFO) 63764ff247aSIvan T. Ivanov for serial peripheral interface (SPI) mini-core. SPI in master 63864ff247aSIvan T. Ivanov mode supports up to 50MHz, up to four chip selects, programmable 63964ff247aSIvan T. Ivanov data path from 4 bits to 32 bits and numerous protocol variants. 64064ff247aSIvan T. Ivanov 64164ff247aSIvan T. Ivanov This driver can also be built as a module. If so, the module 64264ff247aSIvan T. Ivanov will be called spi_qup. 6438ae12a0dSDavid Brownell 644561de45fSGirish Mahadevanconfig SPI_QCOM_GENI 645561de45fSGirish Mahadevan tristate "Qualcomm GENI based SPI controller" 646561de45fSGirish Mahadevan depends on QCOM_GENI_SE 647561de45fSGirish Mahadevan help 648561de45fSGirish Mahadevan This driver supports GENI serial engine based SPI controller in 649561de45fSGirish Mahadevan master mode on the Qualcomm Technologies Inc.'s SoCs. If you say 650561de45fSGirish Mahadevan yes to this option, support will be included for the built-in SPI 651561de45fSGirish Mahadevan interface on the Qualcomm Technologies Inc.'s SoCs. 652561de45fSGirish Mahadevan 653561de45fSGirish Mahadevan This driver can also be built as a module. If so, the module 654561de45fSGirish Mahadevan will be called spi-geni-qcom. 655561de45fSGirish Mahadevan 65685abfaa7SDavid Brownellconfig SPI_S3C24XX 65785abfaa7SDavid Brownell tristate "Samsung S3C24XX series SPI" 6586d1f56aaSKees Cook depends on ARCH_S3C24XX 659da0abc27SDavid Brownell select SPI_BITBANG 66085abfaa7SDavid Brownell help 66185abfaa7SDavid Brownell SPI driver for Samsung S3C24XX series ARM SoCs 66285abfaa7SDavid Brownell 663bec0806cSBen Dooksconfig SPI_S3C24XX_FIQ 664bec0806cSBen Dooks bool "S3C24XX driver with FIQ pseudo-DMA" 665bec0806cSBen Dooks depends on SPI_S3C24XX 666bec0806cSBen Dooks select FIQ 667bec0806cSBen Dooks help 668bec0806cSBen Dooks Enable FIQ support for the S3C24XX SPI driver to provide pseudo 669bec0806cSBen Dooks DMA by using the fast-interrupt request framework, This allows 670bec0806cSBen Dooks the driver to get DMA-like performance when there are either 671bec0806cSBen Dooks no free DMA channels, or when doing transfers that required both 672bec0806cSBen Dooks TX and RX data paths. 673bec0806cSBen Dooks 674230d42d4SJassi Brarconfig SPI_S3C64XX 675230d42d4SJassi Brar tristate "Samsung S3C64XX series type SPI" 676b099b131SJavier Martinez Canillas depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST) 677230d42d4SJassi Brar help 678230d42d4SJassi Brar SPI driver for Samsung S3C64XX and newer SoCs. 679230d42d4SJassi Brar 6803ce8859eSGuenter Roeckconfig SPI_SC18IS602 6813ce8859eSGuenter Roeck tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" 6823ce8859eSGuenter Roeck depends on I2C 6833ce8859eSGuenter Roeck help 6843ce8859eSGuenter Roeck SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. 6853ce8859eSGuenter Roeck 6868051effcSMagnus Dammconfig SPI_SH_MSIOF 6878051effcSMagnus Damm tristate "SuperH MSIOF SPI controller" 688e5b43ed2SGeert Uytterhoeven depends on HAVE_CLK 6896ffc84ddSGeert Uytterhoeven depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST 6908051effcSMagnus Damm help 691746aeffdSBastian Hecht SPI driver for SuperH and SH Mobile MSIOF blocks. 6928051effcSMagnus Damm 6935c05dd07SYoshihiro Shimodaconfig SPI_SH 6945c05dd07SYoshihiro Shimoda tristate "SuperH SPI controller" 695dd1053a9SMark Brown depends on SUPERH || COMPILE_TEST 6965c05dd07SYoshihiro Shimoda help 6975c05dd07SYoshihiro Shimoda SPI driver for SuperH SPI blocks. 6985c05dd07SYoshihiro Shimoda 69937e46640SMagnus Dammconfig SPI_SH_SCI 70037e46640SMagnus Damm tristate "SuperH SCI SPI controller" 7016291fe2aSRobert P. J. Day depends on SUPERH 70237e46640SMagnus Damm select SPI_BITBANG 70337e46640SMagnus Damm help 70437e46640SMagnus Damm SPI driver for SuperH SCI blocks. 70537e46640SMagnus Damm 706d1c8bbd7SKuninori Morimotoconfig SPI_SH_HSPI 707d1c8bbd7SKuninori Morimoto tristate "SuperH HSPI controller" 7083aec3166SSimon Horman depends on ARCH_RENESAS || COMPILE_TEST 709d1c8bbd7SKuninori Morimoto help 710d1c8bbd7SKuninori Morimoto SPI driver for SuperH HSPI blocks. 711d1c8bbd7SKuninori Morimoto 712484a9a68SYash Shahconfig SPI_SIFIVE 713484a9a68SYash Shah tristate "SiFive SPI controller" 714484a9a68SYash Shah depends on HAS_IOMEM 715484a9a68SYash Shah help 716484a9a68SYash Shah This exposes the SPI controller IP from SiFive. 717484a9a68SYash Shah 7181cc2df9dSZhiwu Songconfig SPI_SIRF 7191cc2df9dSZhiwu Song tristate "CSR SiRFprimaII SPI controller" 7207668c294SMark Brown depends on SIRF_DMA 7211cc2df9dSZhiwu Song select SPI_BITBANG 7221cc2df9dSZhiwu Song help 7231cc2df9dSZhiwu Song SPI driver for CSR SiRFprimaII SoCs 7241cc2df9dSZhiwu Song 725805be7ddSLeilk Liuconfig SPI_SLAVE_MT27XX 726805be7ddSLeilk Liu tristate "MediaTek SPI slave device" 727805be7ddSLeilk Liu depends on ARCH_MEDIATEK || COMPILE_TEST 728805be7ddSLeilk Liu depends on SPI_SLAVE 729805be7ddSLeilk Liu help 730805be7ddSLeilk Liu This selects the MediaTek(R) SPI slave device driver. 731805be7ddSLeilk Liu If you want to use MediaTek(R) SPI slave interface, 732805be7ddSLeilk Liu say Y or M here.If you are not sure, say N. 733805be7ddSLeilk Liu SPI slave drivers for Mediatek MT27XX series ARM SoCs. 734805be7ddSLeilk Liu 735e7d973a3SLanqing Liuconfig SPI_SPRD 736e7d973a3SLanqing Liu tristate "Spreadtrum SPI controller" 737e7d973a3SLanqing Liu depends on ARCH_SPRD || COMPILE_TEST 738e7d973a3SLanqing Liu help 739e7d973a3SLanqing Liu SPI driver for Spreadtrum SoCs. 740e7d973a3SLanqing Liu 7417e2903cbSBaolin Wangconfig SPI_SPRD_ADI 7427e2903cbSBaolin Wang tristate "Spreadtrum ADI controller" 7437e2903cbSBaolin Wang depends on ARCH_SPRD || COMPILE_TEST 744e83f3742SArnd Bergmann depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) 7457e2903cbSBaolin Wang help 7467e2903cbSBaolin Wang ADI driver based on SPI for Spreadtrum SoCs. 7477e2903cbSBaolin Wang 748dcbe0d84SAmelie Delaunayconfig SPI_STM32 749dcbe0d84SAmelie Delaunay tristate "STMicroelectronics STM32 SPI controller" 750dcbe0d84SAmelie Delaunay depends on ARCH_STM32 || COMPILE_TEST 751dcbe0d84SAmelie Delaunay help 752bb35c9f9SCezary Gapinski SPI driver for STMicroelectronics STM32 SoCs. 753dcbe0d84SAmelie Delaunay 754dcbe0d84SAmelie Delaunay STM32 SPI controller supports DMA and PIO modes. When DMA 755dcbe0d84SAmelie Delaunay is not available, the driver automatically falls back to 756dcbe0d84SAmelie Delaunay PIO mode. 757dcbe0d84SAmelie Delaunay 758c530cd1dSLudovic Barreconfig SPI_STM32_QSPI 759c530cd1dSLudovic Barre tristate "STMicroelectronics STM32 QUAD SPI controller" 760c530cd1dSLudovic Barre depends on ARCH_STM32 || COMPILE_TEST 761c530cd1dSLudovic Barre depends on OF 762c530cd1dSLudovic Barre help 763c530cd1dSLudovic Barre This enables support for the Quad SPI controller in master mode. 764c530cd1dSLudovic Barre This driver does not support generic SPI. The implementation only 765c530cd1dSLudovic Barre supports spi-mem interface. 766c530cd1dSLudovic Barre 7679e862375SLee Jonesconfig SPI_ST_SSC4 7689e862375SLee Jones tristate "STMicroelectronics SPI SSC-based driver" 76983fefd2dSAxel Lin depends on ARCH_STI || COMPILE_TEST 7709e862375SLee Jones help 7719e862375SLee Jones STMicroelectronics SoCs support for SPI. If you say yes to 7729e862375SLee Jones this option, support will be included for the SSC driven SPI. 7739e862375SLee Jones 774b5f65179SMaxime Ripardconfig SPI_SUN4I 775b5f65179SMaxime Ripard tristate "Allwinner A10 SoCs SPI controller" 776b5f65179SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 777b5f65179SMaxime Ripard help 778b5f65179SMaxime Ripard SPI driver for Allwinner sun4i, sun5i and sun7i SoCs 779b5f65179SMaxime Ripard 7803558fe90SMaxime Ripardconfig SPI_SUN6I 7813558fe90SMaxime Ripard tristate "Allwinner A31 SPI controller" 7823558fe90SMaxime Ripard depends on ARCH_SUNXI || COMPILE_TEST 7837961656aSMark Brown depends on RESET_CONTROLLER 7843558fe90SMaxime Ripard help 7853558fe90SMaxime Ripard This enables using the SPI controller on the Allwinner A31 SoCs. 7863558fe90SMaxime Ripard 787b0823ee3SMasahisa Kojimaconfig SPI_SYNQUACER 788b0823ee3SMasahisa Kojima tristate "Socionext's SynQuacer HighSpeed SPI controller" 789b0823ee3SMasahisa Kojima depends on ARCH_SYNQUACER || COMPILE_TEST 790b0823ee3SMasahisa Kojima help 791b0823ee3SMasahisa Kojima SPI driver for Socionext's High speed SPI controller which provides 792b0823ee3SMasahisa Kojima various operating modes for interfacing to serial peripheral devices 793b0823ee3SMasahisa Kojima that use the de-facto standard SPI protocol. 794b0823ee3SMasahisa Kojima 795b0823ee3SMasahisa Kojima It also supports the new dual-bit and quad-bit SPI protocol. 796b0823ee3SMasahisa Kojima 797b942d80bSMason Yangconfig SPI_MXIC 798b942d80bSMason Yang tristate "Macronix MX25F0A SPI controller" 799b942d80bSMason Yang depends on SPI_MASTER 800b942d80bSMason Yang help 801b942d80bSMason Yang This selects the Macronix MX25F0A SPI controller driver. 802b942d80bSMason Yang 803646781d3SMarek Vasutconfig SPI_MXS 804646781d3SMarek Vasut tristate "Freescale MXS SPI controller" 805646781d3SMarek Vasut depends on ARCH_MXS 806646781d3SMarek Vasut select STMP_DEVICE 807646781d3SMarek Vasut help 808646781d3SMarek Vasut SPI driver for Freescale MXS devices. 809646781d3SMarek Vasut 810f333a331SLaxman Dewanganconfig SPI_TEGRA114 811f333a331SLaxman Dewangan tristate "NVIDIA Tegra114 SPI Controller" 812dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 813e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 814f333a331SLaxman Dewangan help 815f333a331SLaxman Dewangan SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller 816f333a331SLaxman Dewangan is different than the older SoCs SPI controller and also register interface 817f333a331SLaxman Dewangan get changed with this controller. 818f333a331SLaxman Dewangan 8198528547bSLaxman Dewanganconfig SPI_TEGRA20_SFLASH 8208528547bSLaxman Dewangan tristate "Nvidia Tegra20 Serial flash Controller" 821dd1053a9SMark Brown depends on ARCH_TEGRA || COMPILE_TEST 822ff2251e3SStephen Warren depends on RESET_CONTROLLER 8238528547bSLaxman Dewangan help 8248528547bSLaxman Dewangan SPI driver for Nvidia Tegra20 Serial flash Controller interface. 8258528547bSLaxman Dewangan The main usecase of this controller is to use spi flash as boot 8268528547bSLaxman Dewangan device. 8278528547bSLaxman Dewangan 828dc4dc360SLaxman Dewanganconfig SPI_TEGRA20_SLINK 829dc4dc360SLaxman Dewangan tristate "Nvidia Tegra20/Tegra30 SLINK Controller" 830dd1053a9SMark Brown depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST 831e5b43ed2SGeert Uytterhoeven depends on RESET_CONTROLLER 832dc4dc360SLaxman Dewangan help 833dc4dc360SLaxman Dewangan SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. 834dc4dc360SLaxman Dewangan 8357347a6c7SJan Glauberconfig SPI_THUNDERX 8367347a6c7SJan Glauber tristate "Cavium ThunderX SPI controller" 8377347a6c7SJan Glauber depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) 8387347a6c7SJan Glauber help 8397347a6c7SJan Glauber SPI host driver for the hardware found on Cavium ThunderX 8407347a6c7SJan Glauber SOCs. 8417347a6c7SJan Glauber 842e8b17b5bSMasayuki Ohtakeconfig SPI_TOPCLIFF_PCH 84392b3a5c1STomoya MORINAGA tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" 844f05ca854SPaul Burton depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 845e8b17b5bSMasayuki Ohtake help 846cdbc8f04SGrant Likely SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus 847cdbc8f04SGrant Likely used in some x86 embedded processors. 848e8b17b5bSMasayuki Ohtake 84992b3a5c1STomoya MORINAGA This driver also supports the ML7213/ML7223/ML7831, a companion chip 85092b3a5c1STomoya MORINAGA for the Atom E6xx series and compatible with the Intel EG20T PCH. 851f016aeb6STomoya MORINAGA 852f2cac67dSAtsushi Nemotoconfig SPI_TXX9 853f2cac67dSAtsushi Nemoto tristate "Toshiba TXx9 SPI controller" 854dd1053a9SMark Brown depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST) 855f2cac67dSAtsushi Nemoto help 856f2cac67dSAtsushi Nemoto SPI driver for Toshiba TXx9 MIPS SoCs 857f2cac67dSAtsushi Nemoto 8585ba155a4SKeiji Hayashibaraconfig SPI_UNIPHIER 8595ba155a4SKeiji Hayashibara tristate "Socionext UniPhier SPI Controller" 8605ba155a4SKeiji Hayashibara depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF 8616a091404SKunihiko Hayashi depends on HAS_IOMEM 8625ba155a4SKeiji Hayashibara help 8635ba155a4SKeiji Hayashibara This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. 8645ba155a4SKeiji Hayashibara 8655ba155a4SKeiji Hayashibara UniPhier SoCs have SCSSI and MCSSI SPI controllers. 8665ba155a4SKeiji Hayashibara Every UniPhier SoC has SCSSI which supports single channel. 8675ba155a4SKeiji Hayashibara Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. 8685ba155a4SKeiji Hayashibara This driver supports SCSSI only. 8695ba155a4SKeiji Hayashibara 8705ba155a4SKeiji Hayashibara If your SoC supports SCSSI, say Y here. 8715ba155a4SKeiji Hayashibara 872b3165900SLars-Peter Clausenconfig SPI_XCOMM 873b3165900SLars-Peter Clausen tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" 874b3165900SLars-Peter Clausen depends on I2C 875b3165900SLars-Peter Clausen help 876b3165900SLars-Peter Clausen Support for the SPI-I2C bridge found on the Analog Devices 877b3165900SLars-Peter Clausen AD-FMCOMMS1-EBZ board. 878b3165900SLars-Peter Clausen 879ae918c02SAndrei Konovalovconfig SPI_XILINX 880c9da2e12SRichard Röjfors tristate "Xilinx SPI controller common module" 8816d1f56aaSKees Cook depends on HAS_IOMEM 882ae918c02SAndrei Konovalov select SPI_BITBANG 883ae918c02SAndrei Konovalov help 884ae918c02SAndrei Konovalov This exposes the SPI controller IP from the Xilinx EDK. 885ae918c02SAndrei Konovalov 886ae918c02SAndrei Konovalov See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" 887ae918c02SAndrei Konovalov Product Specification document (DS464) for hardware details. 888ae918c02SAndrei Konovalov 889c9da2e12SRichard Röjfors Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" 890c9da2e12SRichard Röjfors 891d8c80d49SKamlakant Patelconfig SPI_XLP 892d8c80d49SKamlakant Patel tristate "Netlogic XLP SPI controller driver" 893251831bdSJayachandran C depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST 894d8c80d49SKamlakant Patel help 895d8c80d49SKamlakant Patel Enable support for the SPI controller on the Netlogic XLP SoCs. 896d8c80d49SKamlakant Patel Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX 897d8c80d49SKamlakant Patel and XLP5XX. 898d8c80d49SKamlakant Patel 899d8c80d49SKamlakant Patel If you have a Netlogic XLP platform say Y here. 900d8c80d49SKamlakant Patel If unsure, say N. 901d8c80d49SKamlakant Patel 9026840cc29SMax Filippovconfig SPI_XTENSA_XTFPGA 9036840cc29SMax Filippov tristate "Xtensa SPI controller for xtfpga" 904be8dde46SAxel Lin depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST 9056840cc29SMax Filippov select SPI_BITBANG 9066840cc29SMax Filippov help 9076840cc29SMax Filippov SPI driver for xtfpga SPI master controller. 9086840cc29SMax Filippov 9096840cc29SMax Filippov This simple SPI master controller is built into xtfpga bitstreams 9106840cc29SMax Filippov and is used to control daughterboard audio codec. It always transfers 9116840cc29SMax Filippov 16 bit words in SPI mode 0, automatically asserting CS on transfer 9126840cc29SMax Filippov start and deasserting on end. 9136840cc29SMax Filippov 91467dca5e5SNaga Sureshkumar Relliconfig SPI_ZYNQ_QSPI 91567dca5e5SNaga Sureshkumar Relli tristate "Xilinx Zynq QSPI controller" 91667dca5e5SNaga Sureshkumar Relli depends on ARCH_ZYNQ || COMPILE_TEST 91767dca5e5SNaga Sureshkumar Relli help 91867dca5e5SNaga Sureshkumar Relli This enables support for the Zynq Quad SPI controller 91967dca5e5SNaga Sureshkumar Relli in master mode. 92067dca5e5SNaga Sureshkumar Relli This controller only supports SPI memory interface. 92167dca5e5SNaga Sureshkumar Relli 922dfe11a11SRanjit Waghmodeconfig SPI_ZYNQMP_GQSPI 923dfe11a11SRanjit Waghmode tristate "Xilinx ZynqMP GQSPI controller" 92467dca5e5SNaga Sureshkumar Relli depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST 925dfe11a11SRanjit Waghmode help 926dfe11a11SRanjit Waghmode Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. 927dfe11a11SRanjit Waghmode 928bbb336f3SSanjay R Mehtaconfig SPI_AMD 929bbb336f3SSanjay R Mehta tristate "AMD SPI controller" 930bbb336f3SSanjay R Mehta depends on SPI_MASTER || COMPILE_TEST 931bbb336f3SSanjay R Mehta help 932bbb336f3SSanjay R Mehta Enables SPI controller driver for AMD SoC. 933bbb336f3SSanjay R Mehta 9348ae12a0dSDavid Brownell# 9358ae12a0dSDavid Brownell# Add new SPI master controllers in alphabetical order above this line 9368ae12a0dSDavid Brownell# 9378ae12a0dSDavid Brownell 938e9e40543SChris Packhamcomment "SPI Multiplexer support" 939e9e40543SChris Packham 940e9e40543SChris Packhamconfig SPI_MUX 941e9e40543SChris Packham tristate "SPI multiplexer support" 942e9e40543SChris Packham select MULTIPLEXER 943e9e40543SChris Packham help 944e9e40543SChris Packham This adds support for SPI multiplexers. Each SPI mux will be 945e9e40543SChris Packham accessible as a SPI controller, the devices behind the mux will appear 946e9e40543SChris Packham to be chip selects on this controller. It is still necessary to 947e9e40543SChris Packham select one or more specific mux-controller drivers. 948e9e40543SChris Packham 9498ae12a0dSDavid Brownell# 9508ae12a0dSDavid Brownell# There are lots of SPI device types, with sensors and memory 9518ae12a0dSDavid Brownell# being probably the most widely used ones. 9528ae12a0dSDavid Brownell# 9538ae12a0dSDavid Brownellcomment "SPI Protocol Masters" 9548ae12a0dSDavid Brownell 955814a8d50SAndrea Paternianiconfig SPI_SPIDEV 956814a8d50SAndrea Paterniani tristate "User mode SPI device driver support" 957814a8d50SAndrea Paterniani help 958814a8d50SAndrea Paterniani This supports user mode SPI protocol drivers. 959814a8d50SAndrea Paterniani 960814a8d50SAndrea Paterniani Note that this application programming interface is EXPERIMENTAL 961814a8d50SAndrea Paterniani and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes. 962814a8d50SAndrea Paterniani 96397896195SMartin Sperlconfig SPI_LOOPBACK_TEST 96497896195SMartin Sperl tristate "spi loopback test framework support" 96597896195SMartin Sperl depends on m 96697896195SMartin Sperl help 96797896195SMartin Sperl This enables the SPI loopback testing framework driver 96897896195SMartin Sperl 96997896195SMartin Sperl primarily used for development of spi_master drivers 97097896195SMartin Sperl and to detect regressions 97197896195SMartin Sperl 972447aef1aSBen Dooksconfig SPI_TLE62X0 973447aef1aSBen Dooks tristate "Infineon TLE62X0 (for power switching)" 9746291fe2aSRobert P. J. Day depends on SYSFS 975447aef1aSBen Dooks help 976447aef1aSBen Dooks SPI driver for Infineon TLE62X0 series line driver chips, 977447aef1aSBen Dooks such as the TLE6220, TLE6230 and TLE6240. This provides a 978447aef1aSBen Dooks sysfs interface, with each line presented as a kind of GPIO 979447aef1aSBen Dooks exposing both switch control and diagnostic feedback. 980447aef1aSBen Dooks 9818ae12a0dSDavid Brownell# 9828ae12a0dSDavid Brownell# Add new SPI protocol masters in alphabetical order above this line 9838ae12a0dSDavid Brownell# 9848ae12a0dSDavid Brownell 9856291fe2aSRobert P. J. Dayendif # SPI_MASTER 9866291fe2aSRobert P. J. Day 9876c364062SGeert Uytterhoeven# 9886c364062SGeert Uytterhoeven# SLAVE side ... listening to other SPI masters 9896c364062SGeert Uytterhoeven# 9906c364062SGeert Uytterhoeven 9916c364062SGeert Uytterhoevenconfig SPI_SLAVE 9926c364062SGeert Uytterhoeven bool "SPI slave protocol handlers" 9936c364062SGeert Uytterhoeven help 9946c364062SGeert Uytterhoeven If your system has a slave-capable SPI controller, you can enable 9956c364062SGeert Uytterhoeven slave protocol handlers. 9966c364062SGeert Uytterhoeven 9976c364062SGeert Uytterhoevenif SPI_SLAVE 9986c364062SGeert Uytterhoeven 99929f9ffa0SGeert Uytterhoevenconfig SPI_SLAVE_TIME 100029f9ffa0SGeert Uytterhoeven tristate "SPI slave handler reporting boot up time" 100129f9ffa0SGeert Uytterhoeven help 100229f9ffa0SGeert Uytterhoeven SPI slave handler responding with the time of reception of the last 100329f9ffa0SGeert Uytterhoeven SPI message. 100429f9ffa0SGeert Uytterhoeven 1005ce70e06cSGeert Uytterhoevenconfig SPI_SLAVE_SYSTEM_CONTROL 1006ce70e06cSGeert Uytterhoeven tristate "SPI slave handler controlling system state" 1007ce70e06cSGeert Uytterhoeven help 1008ce70e06cSGeert Uytterhoeven SPI slave handler to allow remote control of system reboot, power 1009ce70e06cSGeert Uytterhoeven off, halt, and suspend. 1010ce70e06cSGeert Uytterhoeven 10116c364062SGeert Uytterhoevenendif # SPI_SLAVE 10128ae12a0dSDavid Brownell 101379d8c7a8SAlessandro Guidoendif # SPI 1014