Kconfig 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # SPI driver configuration
  4. #
  5. menuconfig SPI
  6. bool "SPI support"
  7. depends on HAS_IOMEM
  8. help
  9. The "Serial Peripheral Interface" is a low level synchronous
  10. protocol. Chips that support SPI can have data transfer rates
  11. up to several tens of Mbit/sec. Chips are addressed with a
  12. controller and a chipselect. Most SPI slaves don't support
  13. dynamic device discovery; some are even write-only or read-only.
  14. SPI is widely used by microcontrollers to talk with sensors,
  15. eeprom and flash memory, codecs and various other controller
  16. chips, analog to digital (and d-to-a) converters, and more.
  17. MMC and SD cards can be accessed using SPI protocol; and for
  18. DataFlash cards used in MMC sockets, SPI must always be used.
  19. SPI is one of a family of similar protocols using a four wire
  20. interface (select, clock, data in, data out) including Microwire
  21. (half duplex), SSP, SSI, and PSP. This driver framework should
  22. work with most such devices and controllers.
  23. if SPI
  24. config SPI_DEBUG
  25. bool "Debug support for SPI drivers"
  26. depends on DEBUG_KERNEL
  27. help
  28. Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
  29. sysfs, and debugfs support in SPI controller and protocol drivers.
  30. #
  31. # MASTER side ... talking to discrete SPI slave chips including microcontrollers
  32. #
  33. config SPI_MASTER
  34. # bool "SPI Master Support"
  35. bool
  36. default SPI
  37. help
  38. If your system has an master-capable SPI controller (which
  39. provides the clock and chipselect), you can enable that
  40. controller and the protocol drivers for the SPI slave chips
  41. that are connected.
  42. if SPI_MASTER
  43. config SPI_MEM
  44. bool "SPI memory extension"
  45. help
  46. Enable this option if you want to enable the SPI memory extension.
  47. This extension is meant to simplify interaction with SPI memories
  48. by providing a high-level interface to send memory-like commands.
  49. comment "SPI Master Controller Drivers"
  50. config SPI_AIROHA_SNFI
  51. tristate "Airoha SPI NAND Flash Interface"
  52. depends on ARCH_AIROHA || COMPILE_TEST
  53. depends on SPI_MASTER
  54. select REGMAP_MMIO
  55. help
  56. This enables support for SPI-NAND mode on the Airoha NAND
  57. Flash Interface found on Airoha ARM SoCs. This controller
  58. is implemented as a SPI-MEM controller.
  59. config SPI_ALTERA
  60. tristate "Altera SPI Controller platform driver"
  61. select SPI_ALTERA_CORE
  62. select REGMAP_MMIO
  63. help
  64. This is the driver for the Altera SPI Controller.
  65. config SPI_ALTERA_CORE
  66. tristate "Altera SPI Controller core code" if COMPILE_TEST
  67. select REGMAP
  68. help
  69. "The core code for the Altera SPI Controller"
  70. config SPI_ALTERA_DFL
  71. tristate "DFL bus driver for Altera SPI Controller"
  72. depends on FPGA_DFL
  73. select SPI_ALTERA_CORE
  74. help
  75. This is a Device Feature List (DFL) bus driver for the
  76. Altera SPI master controller. The SPI master is connected
  77. to a SPI slave to Avalon bridge in a Intel MAX BMC.
  78. config SPI_AMLOGIC_SPIFC_A1
  79. tristate "Amlogic A1 SPIFC controller"
  80. depends on ARCH_MESON || COMPILE_TEST
  81. help
  82. This enables master mode support for the SPIFC (SPI flash
  83. controller) available in Amlogic A1 (A113L SoC).
  84. config SPI_AR934X
  85. tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver"
  86. depends on ATH79 || COMPILE_TEST
  87. help
  88. This enables support for the SPI controller present on the
  89. Qualcomm Atheros AR934X/QCA95XX SoCs.
  90. config SPI_ATH79
  91. tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
  92. depends on ATH79 || COMPILE_TEST
  93. select SPI_BITBANG
  94. help
  95. This enables support for the SPI controller present on the
  96. Atheros AR71XX/AR724X/AR913X SoCs.
  97. config SPI_ARMADA_3700
  98. tristate "Marvell Armada 3700 SPI Controller"
  99. depends on (ARCH_MVEBU && OF) || COMPILE_TEST
  100. help
  101. This enables support for the SPI controller present on the
  102. Marvell Armada 3700 SoCs.
  103. config SPI_ASPEED_SMC
  104. tristate "Aspeed flash controllers in SPI mode"
  105. depends on ARCH_ASPEED || COMPILE_TEST
  106. depends on OF
  107. help
  108. This enables support for the Firmware Memory controller (FMC)
  109. in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached
  110. to SPI NOR chips, and support for the SPI flash memory
  111. controller (SPI) for the host firmware. The implementation
  112. only supports SPI NOR.
  113. config SPI_ATMEL
  114. tristate "Atmel SPI Controller"
  115. depends on ARCH_AT91 || COMPILE_TEST
  116. depends on OF
  117. help
  118. This selects a driver for the Atmel SPI Controller, present on
  119. many AT91 ARM chips.
  120. config SPI_AT91_USART
  121. tristate "Atmel USART Controller SPI driver"
  122. depends on (ARCH_AT91 || COMPILE_TEST)
  123. depends on MFD_AT91_USART
  124. help
  125. This selects a driver for the AT91 USART Controller as SPI Master,
  126. present on AT91 and SAMA5 SoC series.
  127. config SPI_ATMEL_QUADSPI
  128. tristate "Atmel Quad SPI Controller"
  129. depends on ARCH_AT91 || COMPILE_TEST
  130. depends on OF && HAS_IOMEM
  131. help
  132. This enables support for the Quad SPI controller in master mode.
  133. This driver does not support generic SPI. The implementation only
  134. supports spi-mem interface.
  135. config SPI_AU1550
  136. tristate "Au1550/Au1200/Au1300 SPI Controller"
  137. depends on MIPS_ALCHEMY
  138. select SPI_BITBANG
  139. help
  140. If you say yes to this option, support will be included for the
  141. PSC SPI controller found on Au1550, Au1200 and Au1300 series.
  142. config SPI_AXI_SPI_ENGINE
  143. tristate "Analog Devices AXI SPI Engine controller"
  144. depends on HAS_IOMEM
  145. help
  146. This enables support for the Analog Devices AXI SPI Engine SPI controller.
  147. It is part of the SPI Engine framework that is used in some Analog Devices
  148. reference designs for FPGAs.
  149. config SPI_BCM2835
  150. tristate "BCM2835 SPI controller"
  151. depends on GPIOLIB
  152. depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
  153. help
  154. This selects a driver for the Broadcom BCM2835 SPI master.
  155. The BCM2835 contains two types of SPI master controller; the
  156. "universal SPI master", and the regular SPI controller. This driver
  157. is for the regular SPI controller. Slave mode operation is not also
  158. not supported.
  159. config SPI_BCM2835AUX
  160. tristate "BCM2835 SPI auxiliary controller"
  161. depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST
  162. help
  163. This selects a driver for the Broadcom BCM2835 SPI aux master.
  164. The BCM2835 contains two types of SPI master controller; the
  165. "universal SPI master", and the regular SPI controller.
  166. This driver is for the universal/auxiliary SPI controller.
  167. config SPI_BCM63XX
  168. tristate "Broadcom BCM63xx SPI controller"
  169. depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST
  170. help
  171. Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
  172. config SPI_BCM63XX_HSSPI
  173. tristate "Broadcom BCM63XX HS SPI controller driver"
  174. depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST
  175. help
  176. This enables support for the High Speed SPI controller present on
  177. newer Broadcom BCM63XX SoCs.
  178. config SPI_BCM_QSPI
  179. tristate "Broadcom BSPI and MSPI controller support"
  180. depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
  181. BMIPS_GENERIC || COMPILE_TEST
  182. default ARCH_BCM_IPROC
  183. help
  184. Enables support for the Broadcom SPI flash and MSPI controller.
  185. Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
  186. based platforms. This driver works for both SPI master for SPI NOR
  187. flash device as well as MSPI device.
  188. config SPI_BCMBCA_HSSPI
  189. tristate "Broadcom BCMBCA HS SPI controller driver"
  190. depends on ARCH_BCMBCA || COMPILE_TEST
  191. help
  192. This enables support for the High Speed SPI controller present on
  193. newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller
  194. that adds the capability to allow the driver to control chip select
  195. explicitly.
  196. config SPI_BITBANG
  197. tristate "Utilities for Bitbanging SPI host controllers"
  198. help
  199. With a few GPIO pins, your system can bitbang the SPI protocol.
  200. Select this to get SPI support through I/O pins (GPIO, parallel
  201. port, etc). Or, some systems' SPI host controller drivers use
  202. this code to manage the per-word or per-transfer accesses to the
  203. hardware shift registers.
  204. This is library code, and is automatically selected by drivers that
  205. need it. You only need to select this explicitly to support driver
  206. modules that aren't part of this kernel tree.
  207. config SPI_BUTTERFLY
  208. tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
  209. depends on PARPORT
  210. select SPI_BITBANG
  211. help
  212. This uses a custom parallel port cable to connect to an AVR
  213. Butterfly <http://www.atmel.com/products/avr/butterfly>, an
  214. inexpensive battery powered microcontroller evaluation board.
  215. This same cable can be used to flash new firmware.
  216. config SPI_CADENCE
  217. tristate "Cadence SPI controller"
  218. help
  219. This selects the Cadence SPI controller master driver
  220. used by Xilinx Zynq and ZynqMP.
  221. config SPI_CADENCE_QUADSPI
  222. tristate "Cadence Quad SPI controller"
  223. depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST)
  224. help
  225. Enable support for the Cadence Quad SPI Flash controller.
  226. Cadence QSPI is a specialized controller for connecting an SPI
  227. Flash over 1/2/4-bit wide bus. Enable this option if you have a
  228. device with a Cadence QSPI controller and want to access the
  229. Flash as an MTD device.
  230. config SPI_CADENCE_XSPI
  231. tristate "Cadence XSPI controller"
  232. depends on OF && HAS_IOMEM && 64BIT
  233. depends on SPI_MEM
  234. help
  235. Enable support for the Cadence XSPI Flash controller.
  236. Cadence XSPI is a specialized controller for connecting an SPI
  237. Flash over up to 8-bit wide bus. Enable this option if you have a
  238. device with a Cadence XSPI controller and want to access the
  239. Flash as an MTD device.
  240. config SPI_CH341
  241. tristate "CH341 USB2SPI adapter"
  242. depends on SPI_MASTER && USB
  243. help
  244. Enables the SPI controller on the CH341a USB to serial chip
  245. config SPI_CLPS711X
  246. tristate "CLPS711X host SPI controller"
  247. depends on ARCH_CLPS711X || COMPILE_TEST
  248. help
  249. This enables dedicated general purpose SPI/Microwire1-compatible
  250. master mode interface (SSI1) for CLPS711X-based CPUs.
  251. config SPI_COLDFIRE_QSPI
  252. tristate "Freescale Coldfire QSPI controller"
  253. depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
  254. help
  255. This enables support for the Coldfire QSPI controller in master
  256. mode.
  257. config SPI_CS42L43
  258. tristate "Cirrus Logic CS42L43 SPI controller"
  259. depends on MFD_CS42L43 && PINCTRL_CS42L43
  260. select GPIO_SWNODE_UNDEFINED
  261. help
  262. This enables support for the SPI controller inside the Cirrus Logic
  263. CS42L43 audio codec.
  264. config SPI_DAVINCI
  265. tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
  266. depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
  267. select SPI_BITBANG
  268. help
  269. SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
  270. config SPI_DESIGNWARE
  271. tristate "DesignWare SPI controller core support"
  272. imply SPI_MEM
  273. help
  274. general driver for SPI controller core from DesignWare
  275. if SPI_DESIGNWARE
  276. config SPI_DW_DMA
  277. bool "DMA support for DW SPI controller"
  278. config SPI_DW_PCI
  279. tristate "PCI interface driver for DW SPI core"
  280. depends on PCI
  281. config SPI_DW_MMIO
  282. tristate "Memory-mapped io interface driver for DW SPI core"
  283. depends on HAS_IOMEM
  284. config SPI_DW_BT1
  285. tristate "Baikal-T1 SPI driver for DW SPI core"
  286. depends on MIPS_BAIKAL_T1 || COMPILE_TEST
  287. select MULTIPLEXER
  288. help
  289. Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI
  290. controllers. Two of them are pretty much normal: with IRQ, DMA,
  291. FIFOs of 64 words depth, 4x CSs, but the third one as being a
  292. part of the Baikal-T1 System Boot Controller has got a very
  293. limited resources: no IRQ, no DMA, only a single native
  294. chip-select and Tx/Rx FIFO with just 8 words depth available.
  295. The later one is normally connected to an external SPI-nor flash
  296. of 128Mb (in general can be of bigger size).
  297. config SPI_DW_BT1_DIRMAP
  298. bool "Directly mapped Baikal-T1 Boot SPI flash support"
  299. depends on SPI_DW_BT1
  300. help
  301. Directly mapped SPI flash memory is an interface specific to the
  302. Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which
  303. can be used to access a peripheral memory device just by
  304. reading/writing data from/to it. Note that the system APB bus
  305. will stall during each IO from/to the dirmap region until the
  306. operation is finished. So try not to use it concurrently with
  307. time-critical tasks (like the SPI memory operations implemented
  308. in this driver).
  309. endif
  310. config SPI_DLN2
  311. tristate "Diolan DLN-2 USB SPI adapter"
  312. depends on MFD_DLN2
  313. help
  314. If you say yes to this option, support will be included for Diolan
  315. DLN2, a USB to SPI interface.
  316. This driver can also be built as a module. If so, the module
  317. will be called spi-dln2.
  318. config SPI_EP93XX
  319. tristate "Cirrus Logic EP93xx SPI controller"
  320. depends on ARCH_EP93XX || COMPILE_TEST
  321. help
  322. This enables using the Cirrus EP93xx SPI controller in master
  323. mode.
  324. config SPI_FALCON
  325. bool "Falcon SPI controller support"
  326. depends on SOC_FALCON
  327. help
  328. The external bus unit (EBU) found on the FALC-ON SoC has SPI
  329. emulation that is designed for serial flash access. This driver
  330. has only been tested with m25p80 type chips. The hardware has no
  331. support for other types of SPI peripherals.
  332. config SPI_FSI
  333. tristate "FSI SPI driver"
  334. depends on FSI
  335. help
  336. This enables support for the driver for FSI bus attached SPI
  337. controllers.
  338. config SPI_FSL_LPSPI
  339. tristate "Freescale i.MX LPSPI controller"
  340. depends on ARCH_MXC || COMPILE_TEST
  341. help
  342. This enables Freescale i.MX LPSPI controllers in master mode.
  343. config SPI_FSL_QUADSPI
  344. tristate "Freescale QSPI controller"
  345. depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
  346. depends on HAS_IOMEM
  347. help
  348. This enables support for the Quad SPI controller in master mode.
  349. Up to four flash chips can be connected on two buses with two
  350. chipselects each.
  351. This controller does not support generic SPI messages. It only
  352. supports the high-level SPI memory interface.
  353. config SPI_GXP
  354. tristate "GXP SPI driver"
  355. depends on ARCH_HPE || COMPILE_TEST
  356. help
  357. This enables support for the driver for GXP bus attached SPI
  358. controllers.
  359. config SPI_HISI_KUNPENG
  360. tristate "HiSilicon SPI Controller for Kunpeng SoCs"
  361. depends on (ARM64 && ACPI) || COMPILE_TEST
  362. help
  363. This enables support for HiSilicon SPI controller found on
  364. Kunpeng SoCs.
  365. This driver can also be built as a module. If so, the module
  366. will be called hisi-kunpeng-spi.
  367. config SPI_HISI_SFC_V3XX
  368. tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets"
  369. depends on (ARM64 && ACPI) || COMPILE_TEST
  370. depends on HAS_IOMEM
  371. help
  372. This enables support for HiSilicon v3xx SPI NOR flash controller
  373. found in hi16xx chipsets.
  374. config SPI_NXP_FLEXSPI
  375. tristate "NXP Flex SPI controller"
  376. depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST
  377. depends on HAS_IOMEM
  378. help
  379. This enables support for the Flex SPI controller in master mode.
  380. Up to four slave devices can be connected on two buses with two
  381. chipselects each.
  382. This controller does not support generic SPI messages and only
  383. supports the high-level SPI memory interface.
  384. config SPI_GPIO
  385. tristate "GPIO-based bitbanging SPI Master"
  386. depends on GPIOLIB || COMPILE_TEST
  387. select SPI_BITBANG
  388. help
  389. This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
  390. interface to manage MOSI, MISO, SCK, and chipselect signals. SPI
  391. slaves connected to a bus using this driver are configured as usual,
  392. except that the spi_board_info.controller_data holds the GPIO number
  393. for the chipselect used by this controller driver.
  394. Note that this driver often won't achieve even 1 Mbit/sec speeds,
  395. making it unusually slow for SPI. If your platform can inline
  396. GPIO operations, you should be able to leverage that for better
  397. speed with a custom version of this driver; see the source code.
  398. config SPI_IMG_SPFI
  399. tristate "IMG SPFI controller"
  400. depends on MIPS || COMPILE_TEST
  401. help
  402. This enables support for the SPFI master controller found on
  403. IMG SoCs.
  404. config SPI_IMX
  405. tristate "Freescale i.MX SPI controllers"
  406. depends on ARCH_MXC || COMPILE_TEST
  407. help
  408. This enables support for the Freescale i.MX SPI controllers.
  409. config SPI_INGENIC
  410. tristate "Ingenic SoCs SPI controller"
  411. depends on MACH_INGENIC || COMPILE_TEST
  412. help
  413. This enables support for the Ingenic SoCs SPI controller.
  414. To compile this driver as a module, choose M here: the module
  415. will be called spi-ingenic.
  416. config SPI_INTEL
  417. tristate
  418. config SPI_INTEL_PCI
  419. tristate "Intel PCH/PCU SPI flash PCI driver"
  420. depends on PCI
  421. depends on X86 || COMPILE_TEST
  422. depends on SPI_MEM
  423. select SPI_INTEL
  424. help
  425. This enables PCI support for the Intel PCH/PCU SPI controller in
  426. master mode. This controller is used to hold BIOS and other
  427. persistent settings. Controllers present in modern Intel hardware
  428. only work in hardware sequencing mode, this means that the
  429. controller exposes a subset of operations that makes it safer to
  430. use. Using this driver it is possible to upgrade BIOS directly
  431. from Linux.
  432. To compile this driver as a module, choose M here: the module
  433. will be called spi-intel-pci.
  434. config SPI_INTEL_PLATFORM
  435. tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
  436. depends on X86 || COMPILE_TEST
  437. depends on SPI_MEM
  438. select SPI_INTEL
  439. help
  440. This enables platform support for the Intel PCH/PCU SPI
  441. controller in master mode that is used to hold BIOS and other
  442. persistent settings. Most of these controllers work in
  443. software sequencing mode, which means that the controller
  444. exposes the low level SPI-NOR opcodes to the software. Using
  445. this driver it is possible to upgrade BIOS directly from Linux.
  446. Say N here unless you know what you are doing. Overwriting the
  447. SPI flash may render the system unbootable.
  448. To compile this driver as a module, choose M here: the module
  449. will be called spi-intel-platform.
  450. config SPI_JCORE
  451. tristate "J-Core SPI Master"
  452. depends on OF && (SUPERH || COMPILE_TEST)
  453. help
  454. This enables support for the SPI master controller in the J-Core
  455. synthesizable, open source SoC.
  456. config SPI_LM70_LLP
  457. tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
  458. depends on PARPORT
  459. select SPI_BITBANG
  460. help
  461. This driver supports the NS LM70 LLP Evaluation Board,
  462. which interfaces to an LM70 temperature sensor using
  463. a parallel port.
  464. config SPI_LOONGSON_CORE
  465. tristate
  466. depends on LOONGARCH || COMPILE_TEST
  467. config SPI_LOONGSON_PCI
  468. tristate "Loongson SPI Controller PCI Driver Support"
  469. select SPI_LOONGSON_CORE
  470. depends on PCI && (LOONGARCH || COMPILE_TEST)
  471. help
  472. This bus driver supports the Loongson SPI hardware controller in
  473. the Loongson platforms and supports to use PCI framework to
  474. register SPI device resources.
  475. Say Y or M here if you want to use the SPI controller on
  476. Loongson platform.
  477. config SPI_LOONGSON_PLATFORM
  478. tristate "Loongson SPI Controller Platform Driver Support"
  479. select SPI_LOONGSON_CORE
  480. depends on OF && (LOONGARCH || COMPILE_TEST)
  481. help
  482. This bus driver supports the Loongson SPI hardware controller in
  483. the Loongson platforms and supports to use DTS framework to
  484. register SPI device resources.
  485. Say Y or M here if you want to use the SPI controller on
  486. Loongson platform.
  487. config SPI_LP8841_RTC
  488. tristate "ICP DAS LP-8841 SPI Controller for RTC"
  489. depends on MACH_PXA27X_DT || COMPILE_TEST
  490. help
  491. This driver provides an SPI master device to drive Maxim
  492. DS-1302 real time clock.
  493. Say N here unless you plan to run the kernel on an ICP DAS
  494. LP-8x4x industrial computer.
  495. config SPI_MPC52xx
  496. tristate "Freescale MPC52xx SPI (non-PSC) controller support"
  497. depends on PPC_MPC52xx
  498. help
  499. This drivers supports the MPC52xx SPI controller in master SPI
  500. mode.
  501. config SPI_MPC52xx_PSC
  502. tristate "Freescale MPC52xx PSC SPI controller"
  503. depends on PPC_MPC52xx
  504. help
  505. This enables using the Freescale MPC52xx Programmable Serial
  506. Controller in master SPI mode.
  507. config SPI_MPC512x_PSC
  508. tristate "Freescale MPC512x PSC SPI controller"
  509. depends on PPC_MPC512x
  510. help
  511. This enables using the Freescale MPC5121 Programmable Serial
  512. Controller in SPI master mode.
  513. config SPI_FSL_LIB
  514. tristate
  515. depends on OF
  516. config SPI_FSL_CPM
  517. tristate
  518. depends on FSL_SOC
  519. config SPI_FSL_SPI
  520. tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
  521. depends on OF
  522. select SPI_FSL_LIB
  523. select SPI_FSL_CPM if FSL_SOC
  524. help
  525. This enables using the Freescale SPI controllers in master mode.
  526. MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
  527. MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
  528. This also enables using the Aeroflex Gaisler GRLIB SPI controller in
  529. master mode.
  530. config SPI_FSL_DSPI
  531. tristate "Freescale DSPI controller"
  532. select REGMAP_MMIO
  533. depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
  534. help
  535. This enables support for the Freescale DSPI controller in master
  536. mode. VF610, LS1021A and ColdFire platforms uses the controller.
  537. config SPI_FSL_ESPI
  538. tristate "Freescale eSPI controller"
  539. depends on FSL_SOC
  540. help
  541. This enables using the Freescale eSPI controllers in master mode.
  542. From MPC8536, 85xx platform uses the controller, and all P10xx,
  543. P20xx, P30xx,P40xx, P50xx uses this controller.
  544. config SPI_LJCA
  545. tristate "Intel La Jolla Cove Adapter SPI support"
  546. depends on USB_LJCA
  547. default USB_LJCA
  548. help
  549. Select this option to enable SPI driver for the Intel
  550. La Jolla Cove Adapter (LJCA) board.
  551. This driver can also be built as a module. If so, the module
  552. will be called spi-ljca.
  553. config SPI_MESON_SPICC
  554. tristate "Amlogic Meson SPICC controller"
  555. depends on COMMON_CLK
  556. depends on ARCH_MESON || COMPILE_TEST
  557. help
  558. This enables master mode support for the SPICC (SPI communication
  559. controller) available in Amlogic Meson SoCs.
  560. config SPI_MESON_SPIFC
  561. tristate "Amlogic Meson SPIFC controller"
  562. depends on ARCH_MESON || COMPILE_TEST
  563. select REGMAP_MMIO
  564. help
  565. This enables master mode support for the SPIFC (SPI flash
  566. controller) available in Amlogic Meson SoCs.
  567. config SPI_MICROCHIP_CORE
  568. tristate "Microchip FPGA SPI controllers"
  569. depends on SPI_MASTER
  570. help
  571. This enables the SPI driver for Microchip FPGA SPI controllers.
  572. Say Y or M here if you want to use the "hard" controllers on
  573. PolarFire SoC.
  574. If built as a module, it will be called spi-microchip-core.
  575. config SPI_MICROCHIP_CORE_QSPI
  576. tristate "Microchip FPGA QSPI controllers"
  577. depends on SPI_MASTER
  578. help
  579. This enables the QSPI driver for Microchip FPGA QSPI controllers.
  580. Say Y or M here if you want to use the QSPI controllers on
  581. PolarFire SoC.
  582. If built as a module, it will be called spi-microchip-core-qspi.
  583. config SPI_MT65XX
  584. tristate "MediaTek SPI controller"
  585. depends on ARCH_MEDIATEK || COMPILE_TEST
  586. help
  587. This selects the MediaTek(R) SPI bus driver.
  588. If you want to use MediaTek(R) SPI interface,
  589. say Y or M here.If you are not sure, say N.
  590. SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
  591. config SPI_MT7621
  592. tristate "MediaTek MT7621 SPI Controller"
  593. depends on RALINK || COMPILE_TEST
  594. help
  595. This selects a driver for the MediaTek MT7621 SPI Controller.
  596. config SPI_MTK_NOR
  597. tristate "MediaTek SPI NOR controller"
  598. depends on ARCH_MEDIATEK || COMPILE_TEST
  599. help
  600. This enables support for SPI NOR controller found on MediaTek
  601. ARM SoCs. This is a controller specifically for SPI NOR flash.
  602. It can perform generic SPI transfers up to 6 bytes via generic
  603. SPI interface as well as several SPI NOR specific instructions
  604. via SPI MEM interface.
  605. config SPI_MTK_SNFI
  606. tristate "MediaTek SPI NAND Flash Interface"
  607. depends on ARCH_MEDIATEK || COMPILE_TEST
  608. depends on MTD_NAND_ECC_MEDIATEK
  609. help
  610. This enables support for SPI-NAND mode on the MediaTek NAND
  611. Flash Interface found on MediaTek ARM SoCs. This controller
  612. is implemented as a SPI-MEM controller with pipelined ECC
  613. capability.
  614. config SPI_WPCM_FIU
  615. tristate "Nuvoton WPCM450 Flash Interface Unit"
  616. depends on ARCH_NPCM || COMPILE_TEST
  617. select REGMAP
  618. help
  619. This enables support got the Flash Interface Unit SPI controller
  620. present in the Nuvoton WPCM450 SoC.
  621. This driver does not support generic SPI. The implementation only
  622. supports the spi-mem interface.
  623. config SPI_NPCM_FIU
  624. tristate "Nuvoton NPCM FLASH Interface Unit"
  625. depends on ARCH_NPCM || COMPILE_TEST
  626. depends on OF && HAS_IOMEM
  627. help
  628. This enables support for the Flash Interface Unit SPI controller
  629. in master mode.
  630. This driver does not support generic SPI. The implementation only
  631. supports spi-mem interface.
  632. config SPI_NPCM_PSPI
  633. tristate "Nuvoton NPCM PSPI Controller"
  634. depends on ARCH_NPCM || COMPILE_TEST
  635. help
  636. This driver provides support for Nuvoton NPCM BMC
  637. Peripheral SPI controller in master mode.
  638. config SPI_LANTIQ_SSC
  639. tristate "Lantiq SSC SPI controller"
  640. depends on LANTIQ || X86 || COMPILE_TEST
  641. help
  642. This driver supports the Lantiq SSC SPI controller in master
  643. mode. This controller is found on Intel (former Lantiq) SoCs like
  644. the Danube, Falcon, xRX200, xRX300, Lightning Mountain.
  645. config SPI_OC_TINY
  646. tristate "OpenCores tiny SPI"
  647. depends on GPIOLIB || COMPILE_TEST
  648. select SPI_BITBANG
  649. help
  650. This is the driver for OpenCores tiny SPI master controller.
  651. config SPI_OCTEON
  652. tristate "Cavium OCTEON SPI controller"
  653. depends on CAVIUM_OCTEON_SOC
  654. help
  655. SPI host driver for the hardware found on some Cavium OCTEON
  656. SOCs.
  657. config SPI_OMAP_UWIRE
  658. tristate "OMAP1 MicroWire"
  659. depends on ARCH_OMAP1 || (ARM && COMPILE_TEST)
  660. select SPI_BITBANG
  661. help
  662. This hooks up to the MicroWire controller on OMAP1 chips.
  663. config SPI_OMAP24XX
  664. tristate "McSPI driver for OMAP"
  665. depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
  666. select SG_SPLIT
  667. help
  668. SPI master controller for OMAP24XX and later Multichannel SPI
  669. (McSPI) modules.
  670. config SPI_TI_QSPI
  671. tristate "DRA7xxx QSPI controller support"
  672. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  673. help
  674. QSPI master controller for DRA7xxx used for flash devices.
  675. This device supports single, dual and quad read support, while
  676. it only supports single write mode.
  677. config SPI_ORION
  678. tristate "Orion SPI master"
  679. depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
  680. help
  681. This enables using the SPI master controller on the Orion
  682. and MVEBU chips.
  683. config SPI_PCI1XXXX
  684. tristate "PCI1XXXX SPI Bus support"
  685. depends on PCI
  686. help
  687. Say "yes" to Enable the SPI Bus support for the PCI1xxxx card
  688. This is a PCI to SPI Bus driver
  689. This driver can be built as module. If so, the module will be
  690. called as spi-pci1xxxx.
  691. config SPI_PIC32
  692. tristate "Microchip PIC32 series SPI"
  693. depends on MACH_PIC32 || COMPILE_TEST
  694. help
  695. SPI driver for Microchip PIC32 SPI master controller.
  696. config SPI_PIC32_SQI
  697. tristate "Microchip PIC32 Quad SPI driver"
  698. depends on MACH_PIC32 || COMPILE_TEST
  699. help
  700. SPI driver for PIC32 Quad SPI controller.
  701. config SPI_PL022
  702. tristate "ARM AMBA PL022 SSP controller"
  703. depends on ARM_AMBA
  704. default y if ARCH_REALVIEW
  705. default y if INTEGRATOR_IMPD1
  706. default y if ARCH_VERSATILE
  707. help
  708. This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
  709. controller. If you have an embedded system with an AMBA(R)
  710. bus and a PL022 controller, say Y or M here.
  711. config SPI_PPC4xx
  712. tristate "PPC4xx SPI Controller"
  713. depends on PPC32 && 4xx
  714. select SPI_BITBANG
  715. help
  716. This selects a driver for the PPC4xx SPI Controller.
  717. config SPI_PXA2XX
  718. tristate "PXA2xx SSP SPI master"
  719. depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST
  720. select PXA_SSP if ARCH_PXA || ARCH_MMP
  721. help
  722. This enables using a PXA2xx or Sodaville SSP port as a SPI master
  723. controller. The driver can be configured to use any SSP port.
  724. config SPI_PXA2XX_PCI
  725. def_tristate SPI_PXA2XX && PCI && COMMON_CLK
  726. config SPI_ROCKCHIP
  727. tristate "Rockchip SPI controller driver"
  728. depends on ARCH_ROCKCHIP || COMPILE_TEST
  729. help
  730. This selects a driver for Rockchip SPI controller.
  731. If you say yes to this option, support will be included for
  732. RK3066, RK3188 and RK3288 families of SPI controller.
  733. Rockchip SPI controller support DMA transport and PIO mode.
  734. The main usecase of this controller is to use spi flash as boot
  735. device.
  736. config SPI_ROCKCHIP_SFC
  737. tristate "Rockchip Serial Flash Controller (SFC)"
  738. depends on ARCH_ROCKCHIP || COMPILE_TEST
  739. depends on HAS_IOMEM && HAS_DMA
  740. help
  741. This enables support for Rockchip serial flash controller. This
  742. is a specialized controller used to access SPI flash on some
  743. Rockchip SOCs.
  744. ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available,
  745. the driver automatically falls back to PIO mode.
  746. config SPI_RB4XX
  747. tristate "Mikrotik RB4XX SPI master"
  748. depends on SPI_MASTER && ATH79
  749. help
  750. SPI controller driver for the Mikrotik RB4xx series boards.
  751. config SPI_RPCIF
  752. tristate "Renesas RPC-IF SPI driver"
  753. depends on RENESAS_RPCIF
  754. help
  755. SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF.
  756. config SPI_RSPI
  757. tristate "Renesas RSPI/QSPI controller"
  758. depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
  759. help
  760. SPI driver for Renesas RSPI and QSPI blocks.
  761. config SPI_RZV2M_CSI
  762. tristate "Renesas RZ/V2M CSI controller"
  763. depends on ARCH_RENESAS || COMPILE_TEST
  764. help
  765. SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI).
  766. CSI supports both SPI host and SPI target roles.
  767. config SPI_QCOM_QSPI
  768. tristate "QTI QSPI controller"
  769. depends on ARCH_QCOM || COMPILE_TEST
  770. help
  771. QSPI(Quad SPI) driver for Qualcomm QSPI controller.
  772. config SPI_QUP
  773. tristate "Qualcomm SPI controller with QUP interface"
  774. depends on ARCH_QCOM || COMPILE_TEST
  775. help
  776. Qualcomm Universal Peripheral (QUP) core is an AHB slave that
  777. provides a common data path (an output FIFO and an input FIFO)
  778. for serial peripheral interface (SPI) mini-core. SPI in master
  779. mode supports up to 50MHz, up to four chip selects, programmable
  780. data path from 4 bits to 32 bits and numerous protocol variants.
  781. This driver can also be built as a module. If so, the module
  782. will be called spi_qup.
  783. config SPI_QCOM_GENI
  784. tristate "Qualcomm GENI based SPI controller"
  785. depends on QCOM_GENI_SE
  786. help
  787. This driver supports GENI serial engine based SPI controller in
  788. master mode on the Qualcomm Technologies Inc.'s SoCs. If you say
  789. yes to this option, support will be included for the built-in SPI
  790. interface on the Qualcomm Technologies Inc.'s SoCs.
  791. This driver can also be built as a module. If so, the module
  792. will be called spi-geni-qcom.
  793. config SPI_S3C64XX
  794. tristate "Samsung S3C64XX/Exynos SoC series type SPI"
  795. depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST)
  796. help
  797. SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs.
  798. Choose Y/M here only if you build for such Samsung SoC.
  799. config SPI_SC18IS602
  800. tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
  801. depends on I2C
  802. help
  803. SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
  804. config SPI_SH_MSIOF
  805. tristate "SuperH MSIOF SPI controller"
  806. depends on HAVE_CLK
  807. depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
  808. help
  809. SPI driver for SuperH and SH Mobile MSIOF blocks.
  810. config SPI_SH
  811. tristate "SuperH SPI controller"
  812. depends on SUPERH || COMPILE_TEST
  813. help
  814. SPI driver for SuperH SPI blocks.
  815. config SPI_SH_SCI
  816. tristate "SuperH SCI SPI controller"
  817. depends on SUPERH
  818. select SPI_BITBANG
  819. help
  820. SPI driver for SuperH SCI blocks.
  821. config SPI_SH_HSPI
  822. tristate "SuperH HSPI controller"
  823. depends on ARCH_RENESAS || COMPILE_TEST
  824. help
  825. SPI driver for SuperH HSPI blocks.
  826. config SPI_SIFIVE
  827. tristate "SiFive SPI controller"
  828. depends on HAS_IOMEM
  829. help
  830. This exposes the SPI controller IP from SiFive.
  831. config SPI_SLAVE_MT27XX
  832. tristate "MediaTek SPI slave device"
  833. depends on ARCH_MEDIATEK || COMPILE_TEST
  834. depends on SPI_SLAVE
  835. help
  836. This selects the MediaTek(R) SPI slave device driver.
  837. If you want to use MediaTek(R) SPI slave interface,
  838. say Y or M here.If you are not sure, say N.
  839. SPI slave drivers for Mediatek MT27XX series ARM SoCs.
  840. config SPI_SN_F_OSPI
  841. tristate "Socionext F_OSPI SPI flash controller"
  842. depends on OF && HAS_IOMEM
  843. depends on SPI_MEM
  844. help
  845. This enables support for the Socionext F_OSPI controller
  846. for connecting an SPI Flash memory over up to 8-bit wide bus.
  847. It supports indirect access mode only.
  848. config SPI_SPRD
  849. tristate "Spreadtrum SPI controller"
  850. depends on ARCH_SPRD || COMPILE_TEST
  851. help
  852. SPI driver for Spreadtrum SoCs.
  853. config SPI_SPRD_ADI
  854. tristate "Spreadtrum ADI controller"
  855. depends on ARCH_SPRD || COMPILE_TEST
  856. depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
  857. help
  858. ADI driver based on SPI for Spreadtrum SoCs.
  859. config SPI_STM32
  860. tristate "STMicroelectronics STM32 SPI controller"
  861. depends on ARCH_STM32 || COMPILE_TEST
  862. select SPI_SLAVE
  863. help
  864. SPI driver for STMicroelectronics STM32 SoCs.
  865. STM32 SPI controller supports DMA and PIO modes. When DMA
  866. is not available, the driver automatically falls back to
  867. PIO mode.
  868. config SPI_STM32_QSPI
  869. tristate "STMicroelectronics STM32 QUAD SPI controller"
  870. depends on ARCH_STM32 || COMPILE_TEST
  871. depends on OF
  872. depends on SPI_MEM
  873. help
  874. This enables support for the Quad SPI controller in master mode.
  875. This driver does not support generic SPI. The implementation only
  876. supports spi-mem interface.
  877. config SPI_ST_SSC4
  878. tristate "STMicroelectronics SPI SSC-based driver"
  879. depends on ARCH_STI || COMPILE_TEST
  880. help
  881. STMicroelectronics SoCs support for SPI. If you say yes to
  882. this option, support will be included for the SSC driven SPI.
  883. config SPI_SUN4I
  884. tristate "Allwinner A10 SoCs SPI controller"
  885. depends on ARCH_SUNXI || COMPILE_TEST
  886. help
  887. SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
  888. config SPI_SUN6I
  889. tristate "Allwinner A31 SPI controller"
  890. depends on ARCH_SUNXI || COMPILE_TEST
  891. depends on RESET_CONTROLLER
  892. help
  893. This enables using the SPI controller on the Allwinner A31 SoCs.
  894. config SPI_SUNPLUS_SP7021
  895. tristate "Sunplus SP7021 SPI controller"
  896. depends on SOC_SP7021 || COMPILE_TEST
  897. help
  898. This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs.
  899. This driver can also be built as a module. If so, the module will be
  900. called as spi-sunplus-sp7021.
  901. If you have a Sunplus SP7021 platform say Y here.
  902. If unsure, say N.
  903. config SPI_SYNQUACER
  904. tristate "Socionext's SynQuacer HighSpeed SPI controller"
  905. depends on ARCH_SYNQUACER || COMPILE_TEST
  906. help
  907. SPI driver for Socionext's High speed SPI controller which provides
  908. various operating modes for interfacing to serial peripheral devices
  909. that use the de-facto standard SPI protocol.
  910. It also supports the new dual-bit and quad-bit SPI protocol.
  911. config SPI_MXIC
  912. tristate "Macronix MX25F0A SPI controller"
  913. depends on SPI_MASTER
  914. imply MTD_NAND_ECC_MXIC
  915. help
  916. This selects the Macronix MX25F0A SPI controller driver.
  917. config SPI_MXS
  918. tristate "Freescale MXS SPI controller"
  919. depends on ARCH_MXS
  920. select STMP_DEVICE
  921. help
  922. SPI driver for Freescale MXS devices.
  923. config SPI_TEGRA210_QUAD
  924. tristate "NVIDIA Tegra QSPI Controller"
  925. depends on ARCH_TEGRA || COMPILE_TEST
  926. depends on RESET_CONTROLLER
  927. help
  928. QSPI driver for NVIDIA Tegra QSPI Controller interface. This
  929. controller is different from the SPI controller and is available
  930. on Tegra SoCs starting from Tegra210.
  931. config SPI_TEGRA114
  932. tristate "NVIDIA Tegra114 SPI Controller"
  933. depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
  934. depends on RESET_CONTROLLER
  935. help
  936. SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
  937. is different than the older SoCs SPI controller and also register interface
  938. get changed with this controller.
  939. config SPI_TEGRA20_SFLASH
  940. tristate "Nvidia Tegra20 Serial flash Controller"
  941. depends on ARCH_TEGRA || COMPILE_TEST
  942. depends on RESET_CONTROLLER
  943. help
  944. SPI driver for Nvidia Tegra20 Serial flash Controller interface.
  945. The main usecase of this controller is to use spi flash as boot
  946. device.
  947. config SPI_TEGRA20_SLINK
  948. tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
  949. depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
  950. depends on RESET_CONTROLLER
  951. help
  952. SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
  953. config SPI_THUNDERX
  954. tristate "Cavium ThunderX SPI controller"
  955. depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
  956. help
  957. SPI host driver for the hardware found on Cavium ThunderX
  958. SOCs.
  959. config SPI_TOPCLIFF_PCH
  960. tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
  961. depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
  962. help
  963. SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
  964. used in some x86 embedded processors.
  965. This driver also supports the ML7213/ML7223/ML7831, a companion chip
  966. for the Atom E6xx series and compatible with the Intel EG20T PCH.
  967. config SPI_UNIPHIER
  968. tristate "Socionext UniPhier SPI Controller"
  969. depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
  970. depends on HAS_IOMEM
  971. help
  972. This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
  973. UniPhier SoCs have SCSSI and MCSSI SPI controllers.
  974. Every UniPhier SoC has SCSSI which supports single channel.
  975. Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
  976. This driver supports SCSSI only.
  977. If your SoC supports SCSSI, say Y here.
  978. config SPI_XCOMM
  979. tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
  980. depends on I2C
  981. help
  982. Support for the SPI-I2C bridge found on the Analog Devices
  983. AD-FMCOMMS1-EBZ board.
  984. config SPI_XILINX
  985. tristate "Xilinx SPI controller common module"
  986. depends on HAS_IOMEM
  987. select SPI_BITBANG
  988. help
  989. This exposes the SPI controller IP from the Xilinx EDK.
  990. See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
  991. Product Specification document (DS464) for hardware details.
  992. Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
  993. config SPI_XLP
  994. tristate "Cavium ThunderX2 SPI controller driver"
  995. depends on ARCH_THUNDER2 || COMPILE_TEST
  996. help
  997. Enable support for the SPI controller on the Cavium ThunderX2.
  998. (Originally on Netlogic XLP SoCs.)
  999. If you have a Cavium ThunderX2 platform say Y here.
  1000. If unsure, say N.
  1001. config SPI_XTENSA_XTFPGA
  1002. tristate "Xtensa SPI controller for xtfpga"
  1003. depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
  1004. select SPI_BITBANG
  1005. help
  1006. SPI driver for xtfpga SPI master controller.
  1007. This simple SPI master controller is built into xtfpga bitstreams
  1008. and is used to control daughterboard audio codec. It always transfers
  1009. 16 bit words in SPI mode 0, automatically asserting CS on transfer
  1010. start and deasserting on end.
  1011. config SPI_ZYNQ_QSPI
  1012. tristate "Xilinx Zynq QSPI controller"
  1013. depends on ARCH_ZYNQ || COMPILE_TEST
  1014. depends on SPI_MEM
  1015. help
  1016. This enables support for the Zynq Quad SPI controller
  1017. in master mode.
  1018. This controller only supports SPI memory interface.
  1019. config SPI_ZYNQMP_GQSPI
  1020. tristate "Xilinx ZynqMP GQSPI controller"
  1021. depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST
  1022. help
  1023. Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
  1024. This controller only supports SPI memory interface.
  1025. config SPI_AMD
  1026. tristate "AMD SPI controller"
  1027. depends on SPI_MASTER || COMPILE_TEST
  1028. help
  1029. Enables SPI controller driver for AMD SoC.
  1030. #
  1031. # Add new SPI master controllers in alphabetical order above this line
  1032. #
  1033. comment "SPI Multiplexer support"
  1034. config SPI_MUX
  1035. tristate "SPI multiplexer support"
  1036. select MULTIPLEXER
  1037. help
  1038. This adds support for SPI multiplexers. Each SPI mux will be
  1039. accessible as a SPI controller, the devices behind the mux will appear
  1040. to be chip selects on this controller. It is still necessary to
  1041. select one or more specific mux-controller drivers.
  1042. #
  1043. # There are lots of SPI device types, with sensors and memory
  1044. # being probably the most widely used ones.
  1045. #
  1046. comment "SPI Protocol Masters"
  1047. config SPI_SPIDEV
  1048. tristate "User mode SPI device driver support"
  1049. help
  1050. This supports user mode SPI protocol drivers.
  1051. config SPI_LOOPBACK_TEST
  1052. tristate "spi loopback test framework support"
  1053. depends on m
  1054. help
  1055. This enables the SPI loopback testing framework driver
  1056. primarily used for development of spi_master drivers
  1057. and to detect regressions
  1058. config SPI_TLE62X0
  1059. tristate "Infineon TLE62X0 (for power switching)"
  1060. depends on SYSFS
  1061. help
  1062. SPI driver for Infineon TLE62X0 series line driver chips,
  1063. such as the TLE6220, TLE6230 and TLE6240. This provides a
  1064. sysfs interface, with each line presented as a kind of GPIO
  1065. exposing both switch control and diagnostic feedback.
  1066. #
  1067. # Add new SPI protocol masters in alphabetical order above this line
  1068. #
  1069. endif # SPI_MASTER
  1070. #
  1071. # SLAVE side ... listening to other SPI masters
  1072. #
  1073. config SPI_SLAVE
  1074. bool "SPI slave protocol handlers"
  1075. help
  1076. If your system has a slave-capable SPI controller, you can enable
  1077. slave protocol handlers.
  1078. if SPI_SLAVE
  1079. config SPI_SLAVE_TIME
  1080. tristate "SPI slave handler reporting boot up time"
  1081. help
  1082. SPI slave handler responding with the time of reception of the last
  1083. SPI message.
  1084. config SPI_SLAVE_SYSTEM_CONTROL
  1085. tristate "SPI slave handler controlling system state"
  1086. help
  1087. SPI slave handler to allow remote control of system reboot, power
  1088. off, halt, and suspend.
  1089. endif # SPI_SLAVE
  1090. config SPI_DYNAMIC
  1091. def_bool ACPI || OF_DYNAMIC || SPI_SLAVE
  1092. endif # SPI