Kconfig 25 KB

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