Kconfig 24 KB

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