Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. menuconfig SPI
  2. bool "SPI Support"
  3. if SPI
  4. config DM_SPI
  5. bool "Enable Driver Model for SPI drivers"
  6. depends on DM
  7. help
  8. Enable driver model for SPI. The SPI slave interface
  9. (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
  10. the SPI uclass. Drivers provide methods to access the SPI
  11. buses that they control. The uclass interface is defined in
  12. include/spi.h. The existing spi_slave structure is attached
  13. as 'parent data' to every slave on each bus. Slaves
  14. typically use driver-private data instead of extending the
  15. spi_slave structure.
  16. if DM_SPI
  17. config SPI_MEM
  18. bool "SPI memory extension"
  19. help
  20. Enable this option if you want to enable the SPI memory extension.
  21. This extension is meant to simplify interaction with SPI memories
  22. by providing an high-level interface to send memory-like commands.
  23. config ALTERA_SPI
  24. bool "Altera SPI driver"
  25. help
  26. Enable the Altera SPI driver. This driver can be used to
  27. access the SPI NOR flash on platforms embedding this Altera
  28. IP core. Please find details on the "Embedded Peripherals IP
  29. User Guide" of Altera.
  30. config ATCSPI200_SPI
  31. bool "Andestech ATCSPI200 SPI driver"
  32. help
  33. Enable the Andestech ATCSPI200 SPI driver. This driver can be
  34. used to access the SPI flash on AE3XX and AE250 platforms embedding
  35. this Andestech IP core.
  36. config ATH79_SPI
  37. bool "Atheros SPI driver"
  38. depends on ARCH_ATH79
  39. help
  40. Enable the Atheros ar7xxx/ar9xxx SoC SPI driver, it was used
  41. to access SPI NOR flash and other SPI peripherals. This driver
  42. uses driver model and requires a device tree binding to operate.
  43. please refer to doc/device-tree-bindings/spi/spi-ath79.txt.
  44. config ATMEL_SPI
  45. bool "Atmel SPI driver"
  46. default y if ARCH_AT91
  47. help
  48. This enables driver for the Atmel SPI Controller, present on
  49. many AT91 (ARM) chips. This driver can be used to access
  50. the SPI Flash, such as AT25DF321.
  51. config BCM63XX_HSSPI
  52. bool "BCM63XX HSSPI driver"
  53. depends on ARCH_BMIPS
  54. help
  55. Enable the BCM6328 HSSPI driver. This driver can be used to
  56. access the SPI NOR flash on platforms embedding this Broadcom
  57. SPI core.
  58. config BCM63XX_SPI
  59. bool "BCM6348 SPI driver"
  60. depends on ARCH_BMIPS
  61. help
  62. Enable the BCM6348/BCM6358 SPI driver. This driver can be used to
  63. access the SPI NOR flash on platforms embedding these Broadcom
  64. SPI cores.
  65. config BCMSTB_SPI
  66. bool "BCMSTB SPI driver"
  67. help
  68. Enable the Broadcom set-top box SPI driver. This driver can
  69. be used to access the SPI flash on platforms embedding this
  70. Broadcom SPI core.
  71. config CADENCE_QSPI
  72. bool "Cadence QSPI driver"
  73. help
  74. Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
  75. used to access the SPI NOR flash on platforms embedding this
  76. Cadence IP core.
  77. config DESIGNWARE_SPI
  78. bool "Designware SPI driver"
  79. help
  80. Enable the Designware SPI driver. This driver can be used to
  81. access the SPI NOR flash on platforms embedding this Designware
  82. IP core.
  83. config EXYNOS_SPI
  84. bool "Samsung Exynos SPI driver"
  85. help
  86. Enable the Samsung Exynos SPI driver. This driver can be used to
  87. access the SPI NOR flash on platforms embedding this Samsung
  88. Exynos IP core.
  89. config FSL_DSPI
  90. bool "Freescale DSPI driver"
  91. help
  92. Enable the Freescale DSPI driver. This driver can be used to
  93. access the SPI NOR flash and SPI Data flash on platforms embedding
  94. this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
  95. use this driver.
  96. config ICH_SPI
  97. bool "Intel ICH SPI driver"
  98. help
  99. Enable the Intel ICH SPI driver. This driver can be used to
  100. access the SPI NOR flash on platforms embedding this Intel
  101. ICH IP core.
  102. config MVEBU_A3700_SPI
  103. bool "Marvell Armada 3700 SPI driver"
  104. select CLK_ARMADA_3720
  105. help
  106. Enable the Marvell Armada 3700 SPI driver. This driver can be
  107. used to access the SPI NOR flash on platforms embedding this
  108. Marvell IP core.
  109. config PIC32_SPI
  110. bool "Microchip PIC32 SPI driver"
  111. depends on MACH_PIC32
  112. help
  113. Enable the Microchip PIC32 SPI driver. This driver can be used
  114. to access the SPI NOR flash, MMC-over-SPI on platforms based on
  115. Microchip PIC32 family devices.
  116. config PL022_SPI
  117. bool "ARM AMBA PL022 SSP controller driver"
  118. depends on ARM
  119. help
  120. This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
  121. controller. If you have an embedded system with an AMBA(R)
  122. bus and a PL022 controller, say Y or M here.
  123. config RENESAS_RPC_SPI
  124. bool "Renesas RPC SPI driver"
  125. depends on RCAR_GEN3
  126. help
  127. Enable the Renesas RPC SPI driver, used to access SPI NOR flash
  128. on Renesas RCar Gen3 SoCs. This uses driver model and requires a
  129. device tree binding to operate.
  130. config ROCKCHIP_SPI
  131. bool "Rockchip SPI driver"
  132. help
  133. Enable the Rockchip SPI driver, used to access SPI NOR flash and
  134. other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs.
  135. This uses driver model and requires a device tree binding to
  136. operate.
  137. config SANDBOX_SPI
  138. bool "Sandbox SPI driver"
  139. depends on SANDBOX && DM
  140. help
  141. Enable SPI support for sandbox. This is an emulation of a real SPI
  142. bus. Devices can be attached to the bus using the device tree
  143. which specifies the driver to use. As an example, see this device
  144. tree fragment from sandbox.dts. It shows that the SPI bus has a
  145. single flash device on chip select 0 which is emulated by the driver
  146. for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c.
  147. spi@0 {
  148. #address-cells = <1>;
  149. #size-cells = <0>;
  150. reg = <0>;
  151. compatible = "sandbox,spi";
  152. cs-gpios = <0>, <&gpio_a 0>;
  153. flash@0 {
  154. reg = <0>;
  155. compatible = "spansion,m25p16", "sandbox,spi-flash";
  156. spi-max-frequency = <40000000>;
  157. sandbox,filename = "spi.bin";
  158. };
  159. };
  160. config STM32_QSPI
  161. bool "STM32F7 QSPI driver"
  162. depends on STM32F7
  163. help
  164. Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be
  165. used to access the SPI NOR flash chips on platforms embedding
  166. this ST IP core.
  167. config SUN4I_SPI
  168. bool "Allwinner A10 SoCs SPI controller"
  169. help
  170. SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
  171. config TEGRA114_SPI
  172. bool "nVidia Tegra114 SPI driver"
  173. help
  174. Enable the nVidia Tegra114 SPI driver. This driver can be used to
  175. access the SPI NOR flash on platforms embedding this nVidia Tegra114
  176. IP core.
  177. This controller is different than the older SoCs SPI controller and
  178. also register interface get changed with this controller.
  179. config TEGRA20_SFLASH
  180. bool "nVidia Tegra20 Serial Flash controller driver"
  181. help
  182. Enable the nVidia Tegra20 Serial Flash controller driver. This driver
  183. can be used to access the SPI NOR flash on platforms embedding this
  184. nVidia Tegra20 IP core.
  185. config TEGRA20_SLINK
  186. bool "nVidia Tegra20/Tegra30 SLINK driver"
  187. help
  188. Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can
  189. be used to access the SPI NOR flash on platforms embedding this
  190. nVidia Tegra20/Tegra30 IP cores.
  191. config TEGRA210_QSPI
  192. bool "nVidia Tegra210 QSPI driver"
  193. help
  194. Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver
  195. be used to access SPI chips on platforms embedding this
  196. NVIDIA Tegra210 IP core.
  197. config XILINX_SPI
  198. bool "Xilinx SPI driver"
  199. help
  200. Enable the Xilinx SPI driver from the Xilinx EDK. This SPI
  201. controller support 8 bit SPI transfers only, with or w/o FIFO.
  202. For more info on Xilinx SPI Register Definitions and Overview
  203. see driver file - drivers/spi/xilinx_spi.c
  204. config ZYNQ_SPI
  205. bool "Zynq SPI driver"
  206. depends on ARCH_ZYNQ || ARCH_ZYNQMP
  207. help
  208. Enable the Zynq SPI driver. This driver can be used to
  209. access the SPI NOR flash on platforms embedding this Zynq
  210. SPI IP core.
  211. config ZYNQ_QSPI
  212. bool "Zynq QSPI driver"
  213. depends on ARCH_ZYNQ
  214. help
  215. Enable the Zynq Quad-SPI (QSPI) driver. This driver can be
  216. used to access the SPI NOR flash on platforms embedding this
  217. Zynq QSPI IP core. This IP is used to connect the flash in
  218. 4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
  219. config ZYNQMP_GQSPI
  220. bool "Configure ZynqMP Generic QSPI"
  221. depends on ARCH_ZYNQMP
  222. help
  223. This option is used to enable ZynqMP QSPI controller driver which
  224. is used to communicate with qspi flash devices.
  225. endif # if DM_SPI
  226. config SOFT_SPI
  227. bool "Soft SPI driver"
  228. help
  229. Enable Soft SPI driver. This driver is to use GPIO simulate
  230. the SPI protocol.
  231. config CF_SPI
  232. bool "ColdFire SPI driver"
  233. help
  234. Enable the ColdFire SPI driver. This driver can be used on
  235. some m68k SoCs.
  236. config FSL_ESPI
  237. bool "Freescale eSPI driver"
  238. help
  239. Enable the Freescale eSPI driver. This driver can be used to
  240. access the SPI interface and SPI NOR flash on platforms embedding
  241. this Freescale eSPI IP core.
  242. config FSL_QSPI
  243. bool "Freescale QSPI driver"
  244. help
  245. Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
  246. used to access the SPI NOR flash on platforms embedding this
  247. Freescale IP core.
  248. config DAVINCI_SPI
  249. bool "Davinci & Keystone SPI driver"
  250. depends on ARCH_DAVINCI || ARCH_KEYSTONE
  251. help
  252. Enable the Davinci SPI driver
  253. config SH_SPI
  254. bool "SuperH SPI driver"
  255. help
  256. Enable the SuperH SPI controller driver. This driver can be used
  257. on various SuperH SoCs, such as SH7757.
  258. config SH_QSPI
  259. bool "Renesas Quad SPI driver"
  260. help
  261. Enable the Renesas Quad SPI controller driver. This driver can be
  262. used on Renesas SoCs.
  263. config TI_QSPI
  264. bool "TI QSPI driver"
  265. help
  266. Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
  267. This driver support spi flash single, quad and memory reads.
  268. config KIRKWOOD_SPI
  269. bool "Marvell Kirkwood SPI Driver"
  270. help
  271. Enable support for SPI on various Marvell SoCs, such as
  272. Kirkwood and Armada 375.
  273. config LPC32XX_SSP
  274. bool "LPC32XX SPI Driver"
  275. help
  276. Enable support for SPI on LPC32xx
  277. config MPC8XX_SPI
  278. bool "MPC8XX SPI Driver"
  279. depends on MPC8xx
  280. help
  281. Enable support for SPI on MPC8XX
  282. config MPC8XXX_SPI
  283. bool "MPC8XXX SPI Driver"
  284. help
  285. Enable support for SPI on the MPC8XXX PowerPC SoCs.
  286. config MXC_SPI
  287. bool "MXC SPI Driver"
  288. help
  289. Enable the MXC SPI controller driver. This driver can be used
  290. on various i.MX SoCs such as i.MX31/35/51/6/7.
  291. config MXS_SPI
  292. bool "MXS SPI Driver"
  293. help
  294. Enable the MXS SPI controller driver. This driver can be used
  295. on the i.MX23 and i.MX28 SoCs.
  296. config OMAP3_SPI
  297. bool "McSPI driver for OMAP"
  298. help
  299. SPI master controller for OMAP24XX and later Multichannel SPI
  300. (McSPI). This driver be used to access SPI chips on platforms
  301. embedding this OMAP3 McSPI IP core.
  302. endif # menu "SPI Support"