Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. #
  2. # SPI driver configuration
  3. #
  4. menuconfig SPI
  5. bool "SPI support"
  6. depends on HAS_IOMEM
  7. help
  8. The "Serial Peripheral Interface" is a low level synchronous
  9. protocol. Chips that support SPI can have data transfer rates
  10. up to several tens of Mbit/sec. Chips are addressed with a
  11. controller and a chipselect. Most SPI slaves don't support
  12. dynamic device discovery; some are even write-only or read-only.
  13. SPI is widely used by microcontrollers to talk with sensors,
  14. eeprom and flash memory, codecs and various other controller
  15. chips, analog to digital (and d-to-a) converters, and more.
  16. MMC and SD cards can be accessed using SPI protocol; and for
  17. DataFlash cards used in MMC sockets, SPI must always be used.
  18. SPI is one of a family of similar protocols using a four wire
  19. interface (select, clock, data in, data out) including Microwire
  20. (half duplex), SSP, SSI, and PSP. This driver framework should
  21. work with most such devices and controllers.
  22. if SPI
  23. config SPI_DEBUG
  24. bool "Debug support for SPI drivers"
  25. depends on DEBUG_KERNEL
  26. help
  27. Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
  28. sysfs, and debugfs support in SPI controller and protocol drivers.
  29. #
  30. # MASTER side ... talking to discrete SPI slave chips including microcontrollers
  31. #
  32. config SPI_MASTER
  33. # bool "SPI Master Support"
  34. bool
  35. default SPI
  36. help
  37. If your system has an master-capable SPI controller (which
  38. provides the clock and chipselect), you can enable that
  39. controller and the protocol drivers for the SPI slave chips
  40. that are connected.
  41. if SPI_MASTER
  42. config SPI_MEM
  43. bool "SPI memory extension"
  44. help
  45. Enable this option if you want to enable the SPI memory extension.
  46. This extension is meant to simplify interaction with SPI memories
  47. by providing a high-level interface to send memory-like commands.
  48. comment "SPI Master Controller Drivers"
  49. config SPI_ALTERA
  50. tristate "Altera SPI Controller"
  51. help
  52. This is the driver for the Altera SPI Controller.
  53. config SPI_ATH79
  54. tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
  55. depends on ATH79 && GPIOLIB
  56. select SPI_BITBANG
  57. help
  58. This enables support for the SPI controller present on the
  59. Atheros AR71XX/AR724X/AR913X SoCs.
  60. config SPI_ARMADA_3700
  61. tristate "Marvell Armada 3700 SPI Controller"
  62. depends on (ARCH_MVEBU && OF) || COMPILE_TEST
  63. help
  64. This enables support for the SPI controller present on the
  65. Marvell Armada 3700 SoCs.
  66. config SPI_ATMEL
  67. tristate "Atmel SPI Controller"
  68. depends on ARCH_AT91 || COMPILE_TEST
  69. help
  70. This selects a driver for the Atmel SPI Controller, present on
  71. many AT91 ARM chips.
  72. config SPI_AU1550
  73. tristate "Au1550/Au1200/Au1300 SPI Controller"
  74. depends on MIPS_ALCHEMY
  75. select SPI_BITBANG
  76. help
  77. If you say yes to this option, support will be included for the
  78. PSC SPI controller found on Au1550, Au1200 and Au1300 series.
  79. config SPI_AXI_SPI_ENGINE
  80. tristate "Analog Devices AXI SPI Engine controller"
  81. depends on HAS_IOMEM
  82. help
  83. This enables support for the Analog Devices AXI SPI Engine SPI controller.
  84. It is part of the SPI Engine framework that is used in some Analog Devices
  85. reference designs for FPGAs.
  86. config SPI_BCM2835
  87. tristate "BCM2835 SPI controller"
  88. depends on GPIOLIB
  89. depends on ARCH_BCM2835 || COMPILE_TEST
  90. help
  91. This selects a driver for the Broadcom BCM2835 SPI master.
  92. The BCM2835 contains two types of SPI master controller; the
  93. "universal SPI master", and the regular SPI controller. This driver
  94. is for the regular SPI controller. Slave mode operation is not also
  95. not supported.
  96. config SPI_BCM2835AUX
  97. tristate "BCM2835 SPI auxiliary controller"
  98. depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
  99. help
  100. This selects a driver for the Broadcom BCM2835 SPI aux master.
  101. The BCM2835 contains two types of SPI master controller; the
  102. "universal SPI master", and the regular SPI controller.
  103. This driver is for the universal/auxiliary SPI controller.
  104. config SPI_BCM63XX
  105. tristate "Broadcom BCM63xx SPI controller"
  106. depends on BCM63XX || COMPILE_TEST
  107. help
  108. Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
  109. config SPI_BCM63XX_HSSPI
  110. tristate "Broadcom BCM63XX HS SPI controller driver"
  111. depends on BCM63XX || COMPILE_TEST
  112. help
  113. This enables support for the High Speed SPI controller present on
  114. newer Broadcom BCM63XX SoCs.
  115. config SPI_BCM_QSPI
  116. tristate "Broadcom BSPI and MSPI controller support"
  117. depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
  118. BMIPS_GENERIC || COMPILE_TEST
  119. default ARCH_BCM_IPROC
  120. help
  121. Enables support for the Broadcom SPI flash and MSPI controller.
  122. Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
  123. based platforms. This driver works for both SPI master for spi-nor
  124. flash device as well as MSPI device.
  125. config SPI_BITBANG
  126. tristate "Utilities for Bitbanging SPI masters"
  127. help
  128. With a few GPIO pins, your system can bitbang the SPI protocol.
  129. Select this to get SPI support through I/O pins (GPIO, parallel
  130. port, etc). Or, some systems' SPI master controller drivers use
  131. this code to manage the per-word or per-transfer accesses to the
  132. hardware shift registers.
  133. This is library code, and is automatically selected by drivers that
  134. need it. You only need to select this explicitly to support driver
  135. modules that aren't part of this kernel tree.
  136. config SPI_BUTTERFLY
  137. tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
  138. depends on PARPORT
  139. select SPI_BITBANG
  140. help
  141. This uses a custom parallel port cable to connect to an AVR
  142. Butterfly <http://www.atmel.com/products/avr/butterfly>, an
  143. inexpensive battery powered microcontroller evaluation board.
  144. This same cable can be used to flash new firmware.
  145. config SPI_CADENCE
  146. tristate "Cadence SPI controller"
  147. help
  148. This selects the Cadence SPI controller master driver
  149. used by Xilinx Zynq and ZynqMP.
  150. config SPI_CLPS711X
  151. tristate "CLPS711X host SPI controller"
  152. depends on ARCH_CLPS711X || COMPILE_TEST
  153. help
  154. This enables dedicated general purpose SPI/Microwire1-compatible
  155. master mode interface (SSI1) for CLPS711X-based CPUs.
  156. config SPI_COLDFIRE_QSPI
  157. tristate "Freescale Coldfire QSPI controller"
  158. depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
  159. help
  160. This enables support for the Coldfire QSPI controller in master
  161. mode.
  162. config SPI_DAVINCI
  163. tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
  164. depends on ARCH_DAVINCI || ARCH_KEYSTONE
  165. select SPI_BITBANG
  166. help
  167. SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
  168. config SPI_DESIGNWARE
  169. tristate "DesignWare SPI controller core support"
  170. help
  171. general driver for SPI controller core from DesignWare
  172. config SPI_DW_PCI
  173. tristate "PCI interface driver for DW SPI core"
  174. depends on SPI_DESIGNWARE && PCI
  175. config SPI_DW_MID_DMA
  176. bool "DMA support for DW SPI controller on Intel MID platform"
  177. depends on SPI_DW_PCI && DW_DMAC_PCI
  178. config SPI_DW_MMIO
  179. tristate "Memory-mapped io interface driver for DW SPI core"
  180. depends on SPI_DESIGNWARE
  181. config SPI_DLN2
  182. tristate "Diolan DLN-2 USB SPI adapter"
  183. depends on MFD_DLN2
  184. help
  185. If you say yes to this option, support will be included for Diolan
  186. DLN2, a USB to SPI interface.
  187. This driver can also be built as a module. If so, the module
  188. will be called spi-dln2.
  189. config SPI_EFM32
  190. tristate "EFM32 SPI controller"
  191. depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
  192. select SPI_BITBANG
  193. help
  194. Driver for the spi controller found on Energy Micro's EFM32 SoCs.
  195. config SPI_EP93XX
  196. tristate "Cirrus Logic EP93xx SPI controller"
  197. depends on ARCH_EP93XX || COMPILE_TEST
  198. help
  199. This enables using the Cirrus EP93xx SPI controller in master
  200. mode.
  201. config SPI_FALCON
  202. bool "Falcon SPI controller support"
  203. depends on SOC_FALCON
  204. help
  205. The external bus unit (EBU) found on the FALC-ON SoC has SPI
  206. emulation that is designed for serial flash access. This driver
  207. has only been tested with m25p80 type chips. The hardware has no
  208. support for other types of SPI peripherals.
  209. config SPI_FSL_LPSPI
  210. tristate "Freescale i.MX LPSPI controller"
  211. depends on ARCH_MXC || COMPILE_TEST
  212. help
  213. This enables Freescale i.MX LPSPI controllers in master mode.
  214. config SPI_GPIO
  215. tristate "GPIO-based bitbanging SPI Master"
  216. depends on GPIOLIB || COMPILE_TEST
  217. select SPI_BITBANG
  218. help
  219. This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
  220. interface to manage MOSI, MISO, SCK, and chipselect signals. SPI
  221. slaves connected to a bus using this driver are configured as usual,
  222. except that the spi_board_info.controller_data holds the GPIO number
  223. for the chipselect used by this controller driver.
  224. Note that this driver often won't achieve even 1 Mbit/sec speeds,
  225. making it unusually slow for SPI. If your platform can inline
  226. GPIO operations, you should be able to leverage that for better
  227. speed with a custom version of this driver; see the source code.
  228. config SPI_IMG_SPFI
  229. tristate "IMG SPFI controller"
  230. depends on MIPS || COMPILE_TEST
  231. help
  232. This enables support for the SPFI master controller found on
  233. IMG SoCs.
  234. config SPI_IMX
  235. tristate "Freescale i.MX SPI controllers"
  236. depends on ARCH_MXC || COMPILE_TEST
  237. select SPI_BITBANG
  238. help
  239. This enables using the Freescale i.MX SPI controllers in master
  240. mode.
  241. config SPI_JCORE
  242. tristate "J-Core SPI Master"
  243. depends on OF && (SUPERH || COMPILE_TEST)
  244. help
  245. This enables support for the SPI master controller in the J-Core
  246. synthesizable, open source SoC.
  247. config SPI_LM70_LLP
  248. tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
  249. depends on PARPORT
  250. select SPI_BITBANG
  251. help
  252. This driver supports the NS LM70 LLP Evaluation Board,
  253. which interfaces to an LM70 temperature sensor using
  254. a parallel port.
  255. config SPI_LP8841_RTC
  256. tristate "ICP DAS LP-8841 SPI Controller for RTC"
  257. depends on MACH_PXA27X_DT || COMPILE_TEST
  258. help
  259. This driver provides an SPI master device to drive Maxim
  260. DS-1302 real time clock.
  261. Say N here unless you plan to run the kernel on an ICP DAS
  262. LP-8x4x industrial computer.
  263. config SPI_MPC52xx
  264. tristate "Freescale MPC52xx SPI (non-PSC) controller support"
  265. depends on PPC_MPC52xx
  266. help
  267. This drivers supports the MPC52xx SPI controller in master SPI
  268. mode.
  269. config SPI_MPC52xx_PSC
  270. tristate "Freescale MPC52xx PSC SPI controller"
  271. depends on PPC_MPC52xx
  272. help
  273. This enables using the Freescale MPC52xx Programmable Serial
  274. Controller in master SPI mode.
  275. config SPI_MPC512x_PSC
  276. tristate "Freescale MPC512x PSC SPI controller"
  277. depends on PPC_MPC512x
  278. help
  279. This enables using the Freescale MPC5121 Programmable Serial
  280. Controller in SPI master mode.
  281. config SPI_FSL_LIB
  282. tristate
  283. depends on OF
  284. config SPI_FSL_CPM
  285. tristate
  286. depends on FSL_SOC
  287. config SPI_FSL_SPI
  288. tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
  289. depends on OF
  290. select SPI_FSL_LIB
  291. select SPI_FSL_CPM if FSL_SOC
  292. help
  293. This enables using the Freescale SPI controllers in master mode.
  294. MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
  295. MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
  296. This also enables using the Aeroflex Gaisler GRLIB SPI controller in
  297. master mode.
  298. config SPI_FSL_DSPI
  299. tristate "Freescale DSPI controller"
  300. select REGMAP_MMIO
  301. depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
  302. help
  303. This enables support for the Freescale DSPI controller in master
  304. mode. VF610 platform uses the controller.
  305. config SPI_FSL_ESPI
  306. tristate "Freescale eSPI controller"
  307. depends on FSL_SOC
  308. help
  309. This enables using the Freescale eSPI controllers in master mode.
  310. From MPC8536, 85xx platform uses the controller, and all P10xx,
  311. P20xx, P30xx,P40xx, P50xx uses this controller.
  312. config SPI_MESON_SPICC
  313. tristate "Amlogic Meson SPICC controller"
  314. depends on ARCH_MESON || COMPILE_TEST
  315. help
  316. This enables master mode support for the SPICC (SPI communication
  317. controller) available in Amlogic Meson SoCs.
  318. config SPI_MESON_SPIFC
  319. tristate "Amlogic Meson SPIFC controller"
  320. depends on ARCH_MESON || COMPILE_TEST
  321. select REGMAP_MMIO
  322. help
  323. This enables master mode support for the SPIFC (SPI flash
  324. controller) available in Amlogic Meson SoCs.
  325. config SPI_MT65XX
  326. tristate "MediaTek SPI controller"
  327. depends on ARCH_MEDIATEK || COMPILE_TEST
  328. help
  329. This selects the MediaTek(R) SPI bus driver.
  330. If you want to use MediaTek(R) SPI interface,
  331. say Y or M here.If you are not sure, say N.
  332. SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
  333. config SPI_NUC900
  334. tristate "Nuvoton NUC900 series SPI"
  335. depends on ARCH_W90X900
  336. select SPI_BITBANG
  337. help
  338. SPI driver for Nuvoton NUC900 series ARM SoCs
  339. config SPI_LANTIQ_SSC
  340. tristate "Lantiq SSC SPI controller"
  341. depends on LANTIQ || COMPILE_TEST
  342. help
  343. This driver supports the Lantiq SSC SPI controller in master
  344. mode. This controller is found on Intel (former Lantiq) SoCs like
  345. the Danube, Falcon, xRX200, xRX300.
  346. config SPI_OC_TINY
  347. tristate "OpenCores tiny SPI"
  348. depends on GPIOLIB || COMPILE_TEST
  349. select SPI_BITBANG
  350. help
  351. This is the driver for OpenCores tiny SPI master controller.
  352. config SPI_OCTEON
  353. tristate "Cavium OCTEON SPI controller"
  354. depends on CAVIUM_OCTEON_SOC
  355. help
  356. SPI host driver for the hardware found on some Cavium OCTEON
  357. SOCs.
  358. config SPI_OMAP_UWIRE
  359. tristate "OMAP1 MicroWire"
  360. depends on ARCH_OMAP1
  361. select SPI_BITBANG
  362. help
  363. This hooks up to the MicroWire controller on OMAP1 chips.
  364. config SPI_OMAP24XX
  365. tristate "McSPI driver for OMAP"
  366. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  367. select SG_SPLIT
  368. help
  369. SPI master controller for OMAP24XX and later Multichannel SPI
  370. (McSPI) modules.
  371. config SPI_TI_QSPI
  372. tristate "DRA7xxx QSPI controller support"
  373. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  374. help
  375. QSPI master controller for DRA7xxx used for flash devices.
  376. This device supports single, dual and quad read support, while
  377. it only supports single write mode.
  378. config SPI_OMAP_100K
  379. tristate "OMAP SPI 100K"
  380. depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
  381. help
  382. OMAP SPI 100K master controller for omap7xx boards.
  383. config SPI_ORION
  384. tristate "Orion SPI master"
  385. depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
  386. help
  387. This enables using the SPI master controller on the Orion
  388. and MVEBU chips.
  389. config SPI_PHYTIUM
  390. tristate "Phytium SPI controller core support"
  391. depends on ARM64
  392. help
  393. This selects a driver for Phytium SPI controller.
  394. If you say yes to this option, support will be included for
  395. FT-2000/4 SoC SPI controller.
  396. config SPI_PIC32
  397. tristate "Microchip PIC32 series SPI"
  398. depends on MACH_PIC32 || COMPILE_TEST
  399. help
  400. SPI driver for Microchip PIC32 SPI master controller.
  401. config SPI_PIC32_SQI
  402. tristate "Microchip PIC32 Quad SPI driver"
  403. depends on MACH_PIC32 || COMPILE_TEST
  404. help
  405. SPI driver for PIC32 Quad SPI controller.
  406. config SPI_PL022
  407. tristate "ARM AMBA PL022 SSP controller"
  408. depends on ARM_AMBA
  409. default y if MACH_U300
  410. default y if ARCH_REALVIEW
  411. default y if INTEGRATOR_IMPD1
  412. default y if ARCH_VERSATILE
  413. help
  414. This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
  415. controller. If you have an embedded system with an AMBA(R)
  416. bus and a PL022 controller, say Y or M here.
  417. config SPI_PPC4xx
  418. tristate "PPC4xx SPI Controller"
  419. depends on PPC32 && 4xx
  420. select SPI_BITBANG
  421. help
  422. This selects a driver for the PPC4xx SPI Controller.
  423. config SPI_PXA2XX
  424. tristate "PXA2xx SSP SPI master"
  425. depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
  426. select PXA_SSP if ARCH_PXA || ARCH_MMP
  427. help
  428. This enables using a PXA2xx or Sodaville SSP port as a SPI master
  429. controller. The driver can be configured to use any SSP port and
  430. additional documentation can be found a Documentation/spi/pxa2xx.
  431. config SPI_PXA2XX_PCI
  432. def_tristate SPI_PXA2XX && PCI && COMMON_CLK
  433. config SPI_ROCKCHIP
  434. tristate "Rockchip SPI controller driver"
  435. help
  436. This selects a driver for Rockchip SPI controller.
  437. If you say yes to this option, support will be included for
  438. RK3066, RK3188 and RK3288 families of SPI controller.
  439. Rockchip SPI controller support DMA transport and PIO mode.
  440. The main usecase of this controller is to use spi flash as boot
  441. device.
  442. config SPI_RB4XX
  443. tristate "Mikrotik RB4XX SPI master"
  444. depends on SPI_MASTER && ATH79
  445. help
  446. SPI controller driver for the Mikrotik RB4xx series boards.
  447. config SPI_RSPI
  448. tristate "Renesas RSPI/QSPI controller"
  449. depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
  450. help
  451. SPI driver for Renesas RSPI and QSPI blocks.
  452. config SPI_QUP
  453. tristate "Qualcomm SPI controller with QUP interface"
  454. depends on ARCH_QCOM || (ARM && COMPILE_TEST)
  455. help
  456. Qualcomm Universal Peripheral (QUP) core is an AHB slave that
  457. provides a common data path (an output FIFO and an input FIFO)
  458. for serial peripheral interface (SPI) mini-core. SPI in master
  459. mode supports up to 50MHz, up to four chip selects, programmable
  460. data path from 4 bits to 32 bits and numerous protocol variants.
  461. This driver can also be built as a module. If so, the module
  462. will be called spi_qup.
  463. config SPI_S3C24XX
  464. tristate "Samsung S3C24XX series SPI"
  465. depends on ARCH_S3C24XX
  466. select SPI_BITBANG
  467. help
  468. SPI driver for Samsung S3C24XX series ARM SoCs
  469. config SPI_S3C24XX_FIQ
  470. bool "S3C24XX driver with FIQ pseudo-DMA"
  471. depends on SPI_S3C24XX
  472. select FIQ
  473. help
  474. Enable FIQ support for the S3C24XX SPI driver to provide pseudo
  475. DMA by using the fast-interrupt request framework, This allows
  476. the driver to get DMA-like performance when there are either
  477. no free DMA channels, or when doing transfers that required both
  478. TX and RX data paths.
  479. config SPI_S3C64XX
  480. tristate "Samsung S3C64XX series type SPI"
  481. depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
  482. help
  483. SPI driver for Samsung S3C64XX and newer SoCs.
  484. config SPI_SC18IS602
  485. tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
  486. depends on I2C
  487. help
  488. SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge.
  489. config SPI_SH_MSIOF
  490. tristate "SuperH MSIOF SPI controller"
  491. depends on HAVE_CLK
  492. depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST
  493. help
  494. SPI driver for SuperH and SH Mobile MSIOF blocks.
  495. config SPI_SH
  496. tristate "SuperH SPI controller"
  497. depends on SUPERH || COMPILE_TEST
  498. help
  499. SPI driver for SuperH SPI blocks.
  500. config SPI_SH_SCI
  501. tristate "SuperH SCI SPI controller"
  502. depends on SUPERH
  503. select SPI_BITBANG
  504. help
  505. SPI driver for SuperH SCI blocks.
  506. config SPI_SH_HSPI
  507. tristate "SuperH HSPI controller"
  508. depends on ARCH_RENESAS || COMPILE_TEST
  509. help
  510. SPI driver for SuperH HSPI blocks.
  511. config SPI_SIRF
  512. tristate "CSR SiRFprimaII SPI controller"
  513. depends on SIRF_DMA
  514. select SPI_BITBANG
  515. help
  516. SPI driver for CSR SiRFprimaII SoCs
  517. config SPI_SPRD_ADI
  518. tristate "Spreadtrum ADI controller"
  519. depends on ARCH_SPRD || COMPILE_TEST
  520. depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK)
  521. help
  522. ADI driver based on SPI for Spreadtrum SoCs.
  523. config SPI_STM32
  524. tristate "STMicroelectronics STM32 SPI controller"
  525. depends on ARCH_STM32 || COMPILE_TEST
  526. help
  527. SPI driver for STMicroelectonics STM32 SoCs.
  528. STM32 SPI controller supports DMA and PIO modes. When DMA
  529. is not available, the driver automatically falls back to
  530. PIO mode.
  531. config SPI_ST_SSC4
  532. tristate "STMicroelectronics SPI SSC-based driver"
  533. depends on ARCH_STI || COMPILE_TEST
  534. help
  535. STMicroelectronics SoCs support for SPI. If you say yes to
  536. this option, support will be included for the SSC driven SPI.
  537. config SPI_SUN4I
  538. tristate "Allwinner A10 SoCs SPI controller"
  539. depends on ARCH_SUNXI || COMPILE_TEST
  540. help
  541. SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
  542. config SPI_SUN6I
  543. tristate "Allwinner A31 SPI controller"
  544. depends on ARCH_SUNXI || COMPILE_TEST
  545. depends on RESET_CONTROLLER
  546. help
  547. This enables using the SPI controller on the Allwinner A31 SoCs.
  548. config SPI_MXS
  549. tristate "Freescale MXS SPI controller"
  550. depends on ARCH_MXS
  551. select STMP_DEVICE
  552. help
  553. SPI driver for Freescale MXS devices.
  554. config SPI_TEGRA114
  555. tristate "NVIDIA Tegra114 SPI Controller"
  556. depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
  557. depends on RESET_CONTROLLER
  558. help
  559. SPI driver for NVIDIA Tegra114 SPI Controller interface. This controller
  560. is different than the older SoCs SPI controller and also register interface
  561. get changed with this controller.
  562. config SPI_TEGRA20_SFLASH
  563. tristate "Nvidia Tegra20 Serial flash Controller"
  564. depends on ARCH_TEGRA || COMPILE_TEST
  565. depends on RESET_CONTROLLER
  566. help
  567. SPI driver for Nvidia Tegra20 Serial flash Controller interface.
  568. The main usecase of this controller is to use spi flash as boot
  569. device.
  570. config SPI_TEGRA20_SLINK
  571. tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
  572. depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
  573. depends on RESET_CONTROLLER
  574. help
  575. SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
  576. config SPI_THUNDERX
  577. tristate "Cavium ThunderX SPI controller"
  578. depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
  579. help
  580. SPI host driver for the hardware found on Cavium ThunderX
  581. SOCs.
  582. config SPI_TOPCLIFF_PCH
  583. tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
  584. depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
  585. help
  586. SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus
  587. used in some x86 embedded processors.
  588. This driver also supports the ML7213/ML7223/ML7831, a companion chip
  589. for the Atom E6xx series and compatible with the Intel EG20T PCH.
  590. config SPI_TXX9
  591. tristate "Toshiba TXx9 SPI controller"
  592. depends on GPIOLIB && (CPU_TX49XX || COMPILE_TEST)
  593. help
  594. SPI driver for Toshiba TXx9 MIPS SoCs
  595. config SPI_UNIPHIER
  596. tristate "Socionext UniPhier SPI Controller"
  597. depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
  598. help
  599. This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller.
  600. UniPhier SoCs have SCSSI and MCSSI SPI controllers.
  601. Every UniPhier SoC has SCSSI which supports single channel.
  602. Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels.
  603. This driver supports SCSSI only.
  604. If your SoC supports SCSSI, say Y here.
  605. config SPI_XCOMM
  606. tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
  607. depends on I2C
  608. help
  609. Support for the SPI-I2C bridge found on the Analog Devices
  610. AD-FMCOMMS1-EBZ board.
  611. config SPI_XILINX
  612. tristate "Xilinx SPI controller common module"
  613. depends on HAS_IOMEM
  614. select SPI_BITBANG
  615. help
  616. This exposes the SPI controller IP from the Xilinx EDK.
  617. See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
  618. Product Specification document (DS464) for hardware details.
  619. Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
  620. config SPI_XLP
  621. tristate "Netlogic XLP SPI controller driver"
  622. depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
  623. help
  624. Enable support for the SPI controller on the Netlogic XLP SoCs.
  625. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
  626. and XLP5XX.
  627. If you have a Netlogic XLP platform say Y here.
  628. If unsure, say N.
  629. config SPI_XTENSA_XTFPGA
  630. tristate "Xtensa SPI controller for xtfpga"
  631. depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
  632. select SPI_BITBANG
  633. help
  634. SPI driver for xtfpga SPI master controller.
  635. This simple SPI master controller is built into xtfpga bitstreams
  636. and is used to control daughterboard audio codec. It always transfers
  637. 16 bit words in SPI mode 0, automatically asserting CS on transfer
  638. start and deasserting on end.
  639. config SPI_ZYNQMP_GQSPI
  640. tristate "Xilinx ZynqMP GQSPI controller"
  641. depends on SPI_MASTER && HAS_DMA
  642. help
  643. Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
  644. #
  645. # Add new SPI master controllers in alphabetical order above this line
  646. #
  647. #
  648. # There are lots of SPI device types, with sensors and memory
  649. # being probably the most widely used ones.
  650. #
  651. comment "SPI Protocol Masters"
  652. config SPI_SPIDEV
  653. tristate "User mode SPI device driver support"
  654. help
  655. This supports user mode SPI protocol drivers.
  656. Note that this application programming interface is EXPERIMENTAL
  657. and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
  658. config SPI_LOOPBACK_TEST
  659. tristate "spi loopback test framework support"
  660. depends on m
  661. help
  662. This enables the SPI loopback testing framework driver
  663. primarily used for development of spi_master drivers
  664. and to detect regressions
  665. config SPI_TLE62X0
  666. tristate "Infineon TLE62X0 (for power switching)"
  667. depends on SYSFS
  668. help
  669. SPI driver for Infineon TLE62X0 series line driver chips,
  670. such as the TLE6220, TLE6230 and TLE6240. This provides a
  671. sysfs interface, with each line presented as a kind of GPIO
  672. exposing both switch control and diagnostic feedback.
  673. #
  674. # Add new SPI protocol masters in alphabetical order above this line
  675. #
  676. endif # SPI_MASTER
  677. #
  678. # SLAVE side ... listening to other SPI masters
  679. #
  680. config SPI_SLAVE
  681. bool "SPI slave protocol handlers"
  682. help
  683. If your system has a slave-capable SPI controller, you can enable
  684. slave protocol handlers.
  685. if SPI_SLAVE
  686. config SPI_SLAVE_TIME
  687. tristate "SPI slave handler reporting boot up time"
  688. help
  689. SPI slave handler responding with the time of reception of the last
  690. SPI message.
  691. config SPI_SLAVE_SYSTEM_CONTROL
  692. tristate "SPI slave handler controlling system state"
  693. help
  694. SPI slave handler to allow remote control of system reboot, power
  695. off, halt, and suspend.
  696. endif # SPI_SLAVE
  697. endif # SPI