Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  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. comment "SPI Master Controller Drivers"
  43. config SPI_ALTERA
  44. tristate "Altera SPI Controller"
  45. help
  46. This is the driver for the Altera SPI Controller.
  47. config SPI_ATH79
  48. tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
  49. depends on ATH79 && GPIOLIB
  50. select SPI_BITBANG
  51. help
  52. This enables support for the SPI controller present on the
  53. Atheros AR71XX/AR724X/AR913X SoCs.
  54. config SPI_ARMADA_3700
  55. tristate "Marvell Armada 3700 SPI Controller"
  56. depends on (ARCH_MVEBU && OF) || COMPILE_TEST
  57. help
  58. This enables support for the SPI controller present on the
  59. Marvell Armada 3700 SoCs.
  60. config SPI_ATMEL
  61. tristate "Atmel SPI Controller"
  62. depends on HAS_DMA
  63. depends on ARCH_AT91 || COMPILE_TEST
  64. help
  65. This selects a driver for the Atmel SPI Controller, present on
  66. many AT91 ARM chips.
  67. config SPI_AU1550
  68. tristate "Au1550/Au1200/Au1300 SPI Controller"
  69. depends on MIPS_ALCHEMY
  70. select SPI_BITBANG
  71. help
  72. If you say yes to this option, support will be included for the
  73. PSC SPI controller found on Au1550, Au1200 and Au1300 series.
  74. config SPI_AXI_SPI_ENGINE
  75. tristate "Analog Devices AXI SPI Engine controller"
  76. depends on HAS_IOMEM
  77. help
  78. This enables support for the Analog Devices AXI SPI Engine SPI controller.
  79. It is part of the SPI Engine framework that is used in some Analog Devices
  80. reference designs for FPGAs.
  81. config SPI_BCM2835
  82. tristate "BCM2835 SPI controller"
  83. depends on GPIOLIB
  84. depends on ARCH_BCM2835 || COMPILE_TEST
  85. help
  86. This selects a driver for the Broadcom BCM2835 SPI master.
  87. The BCM2835 contains two types of SPI master controller; the
  88. "universal SPI master", and the regular SPI controller. This driver
  89. is for the regular SPI controller. Slave mode operation is not also
  90. not supported.
  91. config SPI_BCM2835AUX
  92. tristate "BCM2835 SPI auxiliary controller"
  93. depends on (ARCH_BCM2835 && GPIOLIB) || COMPILE_TEST
  94. help
  95. This selects a driver for the Broadcom BCM2835 SPI aux master.
  96. The BCM2835 contains two types of SPI master controller; the
  97. "universal SPI master", and the regular SPI controller.
  98. This driver is for the universal/auxiliary SPI controller.
  99. config SPI_BCM53XX
  100. tristate "Broadcom BCM53xx SPI controller"
  101. depends on ARCH_BCM_5301X
  102. depends on BCMA_POSSIBLE
  103. select BCMA
  104. help
  105. Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.
  106. config SPI_BCM63XX
  107. tristate "Broadcom BCM63xx SPI controller"
  108. depends on BCM63XX || COMPILE_TEST
  109. help
  110. Enable support for the SPI controller on the Broadcom BCM63xx SoCs.
  111. config SPI_BCM63XX_HSSPI
  112. tristate "Broadcom BCM63XX HS SPI controller driver"
  113. depends on BCM63XX || COMPILE_TEST
  114. help
  115. This enables support for the High Speed SPI controller present on
  116. newer Broadcom BCM63XX SoCs.
  117. config SPI_BCM_QSPI
  118. tristate "Broadcom BSPI and MSPI controller support"
  119. depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \
  120. BMIPS_GENERIC || COMPILE_TEST
  121. default ARCH_BCM_IPROC
  122. help
  123. Enables support for the Broadcom SPI flash and MSPI controller.
  124. Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
  125. based platforms. This driver works for both SPI master for spi-nor
  126. flash device as well as MSPI device.
  127. config SPI_BITBANG
  128. tristate "Utilities for Bitbanging SPI masters"
  129. help
  130. With a few GPIO pins, your system can bitbang the SPI protocol.
  131. Select this to get SPI support through I/O pins (GPIO, parallel
  132. port, etc). Or, some systems' SPI master controller drivers use
  133. this code to manage the per-word or per-transfer accesses to the
  134. hardware shift registers.
  135. This is library code, and is automatically selected by drivers that
  136. need it. You only need to select this explicitly to support driver
  137. modules that aren't part of this kernel tree.
  138. config SPI_BUTTERFLY
  139. tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
  140. depends on PARPORT
  141. select SPI_BITBANG
  142. help
  143. This uses a custom parallel port cable to connect to an AVR
  144. Butterfly <http://www.atmel.com/products/avr/butterfly>, an
  145. inexpensive battery powered microcontroller evaluation board.
  146. This same cable can be used to flash new firmware.
  147. config SPI_CADENCE
  148. tristate "Cadence SPI controller"
  149. help
  150. This selects the Cadence SPI controller master driver
  151. used by Xilinx Zynq and ZynqMP.
  152. config SPI_CLPS711X
  153. tristate "CLPS711X host SPI controller"
  154. depends on ARCH_CLPS711X || COMPILE_TEST
  155. help
  156. This enables dedicated general purpose SPI/Microwire1-compatible
  157. master mode interface (SSI1) for CLPS711X-based CPUs.
  158. config SPI_COLDFIRE_QSPI
  159. tristate "Freescale Coldfire QSPI controller"
  160. depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x)
  161. help
  162. This enables support for the Coldfire QSPI controller in master
  163. mode.
  164. config SPI_DAVINCI
  165. tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
  166. depends on ARCH_DAVINCI || ARCH_KEYSTONE
  167. select SPI_BITBANG
  168. help
  169. SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
  170. config SPI_DESIGNWARE
  171. tristate "DesignWare SPI controller core support"
  172. help
  173. general driver for SPI controller core from DesignWare
  174. config SPI_DW_PCI
  175. tristate "PCI interface driver for DW SPI core"
  176. depends on SPI_DESIGNWARE && PCI
  177. config SPI_DW_MID_DMA
  178. bool "DMA support for DW SPI controller on Intel MID platform"
  179. depends on SPI_DW_PCI && DW_DMAC_PCI
  180. config SPI_DW_MMIO
  181. tristate "Memory-mapped io interface driver for DW SPI core"
  182. depends on SPI_DESIGNWARE
  183. config SPI_DLN2
  184. tristate "Diolan DLN-2 USB SPI adapter"
  185. depends on MFD_DLN2
  186. help
  187. If you say yes to this option, support will be included for Diolan
  188. DLN2, a USB to SPI interface.
  189. This driver can also be built as a module. If so, the module
  190. will be called spi-dln2.
  191. config SPI_EFM32
  192. tristate "EFM32 SPI controller"
  193. depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
  194. select SPI_BITBANG
  195. help
  196. Driver for the spi controller found on Energy Micro's EFM32 SoCs.
  197. config SPI_EP93XX
  198. tristate "Cirrus Logic EP93xx SPI controller"
  199. depends on HAS_DMA
  200. depends on ARCH_EP93XX || COMPILE_TEST
  201. help
  202. This enables using the Cirrus EP93xx SPI controller in master
  203. mode.
  204. config SPI_FALCON
  205. bool "Falcon SPI controller support"
  206. depends on SOC_FALCON
  207. help
  208. The external bus unit (EBU) found on the FALC-ON SoC has SPI
  209. emulation that is designed for serial flash access. This driver
  210. has only been tested with m25p80 type chips. The hardware has no
  211. support for other types of SPI peripherals.
  212. config SPI_FSL_LPSPI
  213. tristate "Freescale i.MX LPSPI controller"
  214. depends on ARCH_MXC || COMPILE_TEST
  215. help
  216. This enables Freescale i.MX LPSPI controllers in master mode.
  217. config SPI_GPIO
  218. tristate "GPIO-based bitbanging SPI Master"
  219. depends on GPIOLIB || COMPILE_TEST
  220. select SPI_BITBANG
  221. help
  222. This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
  223. interface to manage MOSI, MISO, SCK, and chipselect signals. SPI
  224. slaves connected to a bus using this driver are configured as usual,
  225. except that the spi_board_info.controller_data holds the GPIO number
  226. for the chipselect used by this controller driver.
  227. Note that this driver often won't achieve even 1 Mbit/sec speeds,
  228. making it unusually slow for SPI. If your platform can inline
  229. GPIO operations, you should be able to leverage that for better
  230. speed with a custom version of this driver; see the source code.
  231. config SPI_IMG_SPFI
  232. tristate "IMG SPFI controller"
  233. depends on MIPS || COMPILE_TEST
  234. help
  235. This enables support for the SPFI master controller found on
  236. IMG SoCs.
  237. config SPI_IMX
  238. tristate "Freescale i.MX SPI controllers"
  239. depends on ARCH_MXC || COMPILE_TEST
  240. select SPI_BITBANG
  241. help
  242. This enables using the Freescale i.MX SPI controllers in master
  243. mode.
  244. config SPI_JCORE
  245. tristate "J-Core SPI Master"
  246. depends on OF && (SUPERH || COMPILE_TEST)
  247. help
  248. This enables support for the SPI master controller in the J-Core
  249. synthesizable, open source SoC.
  250. config SPI_LM70_LLP
  251. tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
  252. depends on PARPORT
  253. select SPI_BITBANG
  254. help
  255. This driver supports the NS LM70 LLP Evaluation Board,
  256. which interfaces to an LM70 temperature sensor using
  257. a parallel port.
  258. config SPI_LP8841_RTC
  259. tristate "ICP DAS LP-8841 SPI Controller for RTC"
  260. depends on MACH_PXA27X_DT || COMPILE_TEST
  261. help
  262. This driver provides an SPI master device to drive Maxim
  263. DS-1302 real time clock.
  264. Say N here unless you plan to run the kernel on an ICP DAS
  265. LP-8x4x industrial computer.
  266. config SPI_MPC52xx
  267. tristate "Freescale MPC52xx SPI (non-PSC) controller support"
  268. depends on PPC_MPC52xx
  269. help
  270. This drivers supports the MPC52xx SPI controller in master SPI
  271. mode.
  272. config SPI_MPC52xx_PSC
  273. tristate "Freescale MPC52xx PSC SPI controller"
  274. depends on PPC_MPC52xx
  275. help
  276. This enables using the Freescale MPC52xx Programmable Serial
  277. Controller in master SPI mode.
  278. config SPI_MPC512x_PSC
  279. tristate "Freescale MPC512x PSC SPI controller"
  280. depends on PPC_MPC512x
  281. help
  282. This enables using the Freescale MPC5121 Programmable Serial
  283. Controller in SPI master mode.
  284. config SPI_FSL_LIB
  285. tristate
  286. depends on OF
  287. config SPI_FSL_CPM
  288. tristate
  289. depends on FSL_SOC
  290. config SPI_FSL_SPI
  291. tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
  292. depends on OF
  293. select SPI_FSL_LIB
  294. select SPI_FSL_CPM if FSL_SOC
  295. help
  296. This enables using the Freescale SPI controllers in master mode.
  297. MPC83xx platform uses the controller in cpu mode or CPM/QE mode.
  298. MPC8569 uses the controller in QE mode, MPC8610 in cpu mode.
  299. This also enables using the Aeroflex Gaisler GRLIB SPI controller in
  300. master mode.
  301. config SPI_FSL_DSPI
  302. tristate "Freescale DSPI controller"
  303. select REGMAP_MMIO
  304. depends on HAS_DMA
  305. depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST
  306. help
  307. This enables support for the Freescale DSPI controller in master
  308. mode. VF610 platform uses the controller.
  309. config SPI_FSL_ESPI
  310. tristate "Freescale eSPI controller"
  311. depends on FSL_SOC
  312. help
  313. This enables using the Freescale eSPI controllers in master mode.
  314. From MPC8536, 85xx platform uses the controller, and all P10xx,
  315. P20xx, P30xx,P40xx, P50xx uses this controller.
  316. config SPI_MESON_SPICC
  317. tristate "Amlogic Meson SPICC controller"
  318. depends on ARCH_MESON || COMPILE_TEST
  319. help
  320. This enables master mode support for the SPICC (SPI communication
  321. controller) available in Amlogic Meson SoCs.
  322. config SPI_MESON_SPIFC
  323. tristate "Amlogic Meson SPIFC controller"
  324. depends on ARCH_MESON || COMPILE_TEST
  325. select REGMAP_MMIO
  326. help
  327. This enables master mode support for the SPIFC (SPI flash
  328. controller) available in Amlogic Meson SoCs.
  329. config SPI_MT65XX
  330. tristate "MediaTek SPI controller"
  331. depends on ARCH_MEDIATEK || COMPILE_TEST
  332. help
  333. This selects the MediaTek(R) SPI bus driver.
  334. If you want to use MediaTek(R) SPI interface,
  335. say Y or M here.If you are not sure, say N.
  336. SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs.
  337. config SPI_NUC900
  338. tristate "Nuvoton NUC900 series SPI"
  339. depends on ARCH_W90X900
  340. select SPI_BITBANG
  341. help
  342. SPI driver for Nuvoton NUC900 series ARM SoCs
  343. config SPI_LANTIQ_SSC
  344. tristate "Lantiq SSC SPI controller"
  345. depends on LANTIQ || COMPILE_TEST
  346. help
  347. This driver supports the Lantiq SSC SPI controller in master
  348. mode. This controller is found on Intel (former Lantiq) SoCs like
  349. the Danube, Falcon, xRX200, xRX300.
  350. config SPI_OC_TINY
  351. tristate "OpenCores tiny SPI"
  352. depends on GPIOLIB || COMPILE_TEST
  353. select SPI_BITBANG
  354. help
  355. This is the driver for OpenCores tiny SPI master controller.
  356. config SPI_OCTEON
  357. tristate "Cavium OCTEON SPI controller"
  358. depends on CAVIUM_OCTEON_SOC
  359. help
  360. SPI host driver for the hardware found on some Cavium OCTEON
  361. SOCs.
  362. config SPI_OMAP_UWIRE
  363. tristate "OMAP1 MicroWire"
  364. depends on ARCH_OMAP1
  365. select SPI_BITBANG
  366. help
  367. This hooks up to the MicroWire controller on OMAP1 chips.
  368. config SPI_OMAP24XX
  369. tristate "McSPI driver for OMAP"
  370. depends on HAS_DMA
  371. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  372. select SG_SPLIT
  373. help
  374. SPI master controller for OMAP24XX and later Multichannel SPI
  375. (McSPI) modules.
  376. config SPI_TI_QSPI
  377. tristate "DRA7xxx QSPI controller support"
  378. depends on HAS_DMA
  379. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  380. help
  381. QSPI master controller for DRA7xxx used for flash devices.
  382. This device supports single, dual and quad read support, while
  383. it only supports single write mode.
  384. config SPI_OMAP_100K
  385. tristate "OMAP SPI 100K"
  386. depends on ARCH_OMAP850 || ARCH_OMAP730 || COMPILE_TEST
  387. help
  388. OMAP SPI 100K master controller for omap7xx boards.
  389. config SPI_ORION
  390. tristate "Orion SPI master"
  391. depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
  392. help
  393. This enables using the SPI master controller on the Orion
  394. and MVEBU chips.
  395. config SPI_PIC32
  396. tristate "Microchip PIC32 series SPI"
  397. depends on MACH_PIC32 || COMPILE_TEST
  398. help
  399. SPI driver for Microchip PIC32 SPI master controller.
  400. config SPI_PIC32_SQI
  401. tristate "Microchip PIC32 Quad SPI driver"
  402. depends on MACH_PIC32 || COMPILE_TEST
  403. depends on HAS_DMA
  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 && HAS_DMA
  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 && HAS_DMA
  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 && HAS_DMA
  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_XCOMM
  596. tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
  597. depends on I2C
  598. help
  599. Support for the SPI-I2C bridge found on the Analog Devices
  600. AD-FMCOMMS1-EBZ board.
  601. config SPI_XILINX
  602. tristate "Xilinx SPI controller common module"
  603. depends on HAS_IOMEM
  604. select SPI_BITBANG
  605. help
  606. This exposes the SPI controller IP from the Xilinx EDK.
  607. See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
  608. Product Specification document (DS464) for hardware details.
  609. Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
  610. config SPI_XLP
  611. tristate "Netlogic XLP SPI controller driver"
  612. depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST
  613. help
  614. Enable support for the SPI controller on the Netlogic XLP SoCs.
  615. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
  616. and XLP5XX.
  617. If you have a Netlogic XLP platform say Y here.
  618. If unsure, say N.
  619. config SPI_XTENSA_XTFPGA
  620. tristate "Xtensa SPI controller for xtfpga"
  621. depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
  622. select SPI_BITBANG
  623. help
  624. SPI driver for xtfpga SPI master controller.
  625. This simple SPI master controller is built into xtfpga bitstreams
  626. and is used to control daughterboard audio codec. It always transfers
  627. 16 bit words in SPI mode 0, automatically asserting CS on transfer
  628. start and deasserting on end.
  629. config SPI_ZYNQMP_GQSPI
  630. tristate "Xilinx ZynqMP GQSPI controller"
  631. depends on SPI_MASTER && HAS_DMA
  632. help
  633. Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
  634. #
  635. # Add new SPI master controllers in alphabetical order above this line
  636. #
  637. #
  638. # There are lots of SPI device types, with sensors and memory
  639. # being probably the most widely used ones.
  640. #
  641. comment "SPI Protocol Masters"
  642. config SPI_SPIDEV
  643. tristate "User mode SPI device driver support"
  644. help
  645. This supports user mode SPI protocol drivers.
  646. Note that this application programming interface is EXPERIMENTAL
  647. and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.
  648. config SPI_LOOPBACK_TEST
  649. tristate "spi loopback test framework support"
  650. depends on m
  651. help
  652. This enables the SPI loopback testing framework driver
  653. primarily used for development of spi_master drivers
  654. and to detect regressions
  655. config SPI_TLE62X0
  656. tristate "Infineon TLE62X0 (for power switching)"
  657. depends on SYSFS
  658. help
  659. SPI driver for Infineon TLE62X0 series line driver chips,
  660. such as the TLE6220, TLE6230 and TLE6240. This provides a
  661. sysfs interface, with each line presented as a kind of GPIO
  662. exposing both switch control and diagnostic feedback.
  663. #
  664. # Add new SPI protocol masters in alphabetical order above this line
  665. #
  666. endif # SPI_MASTER
  667. #
  668. # SLAVE side ... listening to other SPI masters
  669. #
  670. config SPI_SLAVE
  671. bool "SPI slave protocol handlers"
  672. help
  673. If your system has a slave-capable SPI controller, you can enable
  674. slave protocol handlers.
  675. if SPI_SLAVE
  676. config SPI_SLAVE_TIME
  677. tristate "SPI slave handler reporting boot up time"
  678. help
  679. SPI slave handler responding with the time of reception of the last
  680. SPI message.
  681. config SPI_SLAVE_SYSTEM_CONTROL
  682. tristate "SPI slave handler controlling system state"
  683. help
  684. SPI slave handler to allow remote control of system reboot, power
  685. off, halt, and suspend.
  686. endif # SPI_SLAVE
  687. endif # SPI