Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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 MT7621_SPI
  103. bool "MediaTek MT7621 SPI driver"
  104. depends on ARCH_MT7620
  105. help
  106. Enable the MT7621 SPI driver. This driver can be used to access
  107. the SPI NOR flash on platforms embedding this Ralink / MediaTek
  108. SPI core, like MT7621/7628/7688.
  109. config MVEBU_A3700_SPI
  110. bool "Marvell Armada 3700 SPI driver"
  111. select CLK_ARMADA_3720
  112. help
  113. Enable the Marvell Armada 3700 SPI driver. This driver can be
  114. used to access the SPI NOR flash on platforms embedding this
  115. Marvell IP core.
  116. config PIC32_SPI
  117. bool "Microchip PIC32 SPI driver"
  118. depends on MACH_PIC32
  119. help
  120. Enable the Microchip PIC32 SPI driver. This driver can be used
  121. to access the SPI NOR flash, MMC-over-SPI on platforms based on
  122. Microchip PIC32 family devices.
  123. config PL022_SPI
  124. bool "ARM AMBA PL022 SSP controller driver"
  125. depends on ARM
  126. help
  127. This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
  128. controller. If you have an embedded system with an AMBA(R)
  129. bus and a PL022 controller, say Y or M here.
  130. config RENESAS_RPC_SPI
  131. bool "Renesas RPC SPI driver"
  132. depends on RCAR_GEN3
  133. help
  134. Enable the Renesas RPC SPI driver, used to access SPI NOR flash
  135. on Renesas RCar Gen3 SoCs. This uses driver model and requires a
  136. device tree binding to operate.
  137. config ROCKCHIP_SPI
  138. bool "Rockchip SPI driver"
  139. help
  140. Enable the Rockchip SPI driver, used to access SPI NOR flash and
  141. other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs.
  142. This uses driver model and requires a device tree binding to
  143. operate.
  144. config SANDBOX_SPI
  145. bool "Sandbox SPI driver"
  146. depends on SANDBOX && DM
  147. help
  148. Enable SPI support for sandbox. This is an emulation of a real SPI
  149. bus. Devices can be attached to the bus using the device tree
  150. which specifies the driver to use. As an example, see this device
  151. tree fragment from sandbox.dts. It shows that the SPI bus has a
  152. single flash device on chip select 0 which is emulated by the driver
  153. for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c.
  154. spi@0 {
  155. #address-cells = <1>;
  156. #size-cells = <0>;
  157. reg = <0>;
  158. compatible = "sandbox,spi";
  159. cs-gpios = <0>, <&gpio_a 0>;
  160. flash@0 {
  161. reg = <0>;
  162. compatible = "spansion,m25p16", "sandbox,spi-flash";
  163. spi-max-frequency = <40000000>;
  164. sandbox,filename = "spi.bin";
  165. };
  166. };
  167. config STM32_QSPI
  168. bool "STM32F7 QSPI driver"
  169. depends on STM32F7
  170. help
  171. Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be
  172. used to access the SPI NOR flash chips on platforms embedding
  173. this ST IP core.
  174. config SUN4I_SPI
  175. bool "Allwinner A10 SoCs SPI controller"
  176. help
  177. SPI driver for Allwinner sun4i, sun5i and sun7i SoCs
  178. config TEGRA114_SPI
  179. bool "nVidia Tegra114 SPI driver"
  180. help
  181. Enable the nVidia Tegra114 SPI driver. This driver can be used to
  182. access the SPI NOR flash on platforms embedding this nVidia Tegra114
  183. IP core.
  184. This controller is different than the older SoCs SPI controller and
  185. also register interface get changed with this controller.
  186. config TEGRA20_SFLASH
  187. bool "nVidia Tegra20 Serial Flash controller driver"
  188. help
  189. Enable the nVidia Tegra20 Serial Flash controller driver. This driver
  190. can be used to access the SPI NOR flash on platforms embedding this
  191. nVidia Tegra20 IP core.
  192. config TEGRA20_SLINK
  193. bool "nVidia Tegra20/Tegra30 SLINK driver"
  194. help
  195. Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can
  196. be used to access the SPI NOR flash on platforms embedding this
  197. nVidia Tegra20/Tegra30 IP cores.
  198. config TEGRA210_QSPI
  199. bool "nVidia Tegra210 QSPI driver"
  200. help
  201. Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver
  202. be used to access SPI chips on platforms embedding this
  203. NVIDIA Tegra210 IP core.
  204. config XILINX_SPI
  205. bool "Xilinx SPI driver"
  206. help
  207. Enable the Xilinx SPI driver from the Xilinx EDK. This SPI
  208. controller support 8 bit SPI transfers only, with or w/o FIFO.
  209. For more info on Xilinx SPI Register Definitions and Overview
  210. see driver file - drivers/spi/xilinx_spi.c
  211. config ZYNQ_SPI
  212. bool "Zynq SPI driver"
  213. depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
  214. help
  215. Enable the Zynq SPI driver. This driver can be used to
  216. access the SPI NOR flash on platforms embedding this Zynq
  217. SPI IP core.
  218. config ZYNQ_QSPI
  219. bool "Zynq QSPI driver"
  220. depends on ARCH_ZYNQ
  221. help
  222. Enable the Zynq Quad-SPI (QSPI) driver. This driver can be
  223. used to access the SPI NOR flash on platforms embedding this
  224. Zynq QSPI IP core. This IP is used to connect the flash in
  225. 4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
  226. config ZYNQMP_GQSPI
  227. bool "Configure ZynqMP Generic QSPI"
  228. depends on ARCH_ZYNQMP || ARCH_VERSAL
  229. help
  230. This option is used to enable ZynqMP QSPI controller driver which
  231. is used to communicate with qspi flash devices.
  232. endif # if DM_SPI
  233. config SOFT_SPI
  234. bool "Soft SPI driver"
  235. help
  236. Enable Soft SPI driver. This driver is to use GPIO simulate
  237. the SPI protocol.
  238. config CF_SPI
  239. bool "ColdFire SPI driver"
  240. help
  241. Enable the ColdFire SPI driver. This driver can be used on
  242. some m68k SoCs.
  243. config FSL_ESPI
  244. bool "Freescale eSPI driver"
  245. help
  246. Enable the Freescale eSPI driver. This driver can be used to
  247. access the SPI interface and SPI NOR flash on platforms embedding
  248. this Freescale eSPI IP core.
  249. config FSL_QSPI
  250. bool "Freescale QSPI driver"
  251. help
  252. Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
  253. used to access the SPI NOR flash on platforms embedding this
  254. Freescale IP core.
  255. config DAVINCI_SPI
  256. bool "Davinci & Keystone SPI driver"
  257. depends on ARCH_DAVINCI || ARCH_KEYSTONE
  258. help
  259. Enable the Davinci SPI driver
  260. config SH_SPI
  261. bool "SuperH SPI driver"
  262. help
  263. Enable the SuperH SPI controller driver. This driver can be used
  264. on various SuperH SoCs, such as SH7757.
  265. config SH_QSPI
  266. bool "Renesas Quad SPI driver"
  267. help
  268. Enable the Renesas Quad SPI controller driver. This driver can be
  269. used on Renesas SoCs.
  270. config TI_QSPI
  271. bool "TI QSPI driver"
  272. help
  273. Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
  274. This driver support spi flash single, quad and memory reads.
  275. config KIRKWOOD_SPI
  276. bool "Marvell Kirkwood SPI Driver"
  277. help
  278. Enable support for SPI on various Marvell SoCs, such as
  279. Kirkwood and Armada 375.
  280. config LPC32XX_SSP
  281. bool "LPC32XX SPI Driver"
  282. help
  283. Enable support for SPI on LPC32xx
  284. config MPC8XX_SPI
  285. bool "MPC8XX SPI Driver"
  286. depends on MPC8xx
  287. help
  288. Enable support for SPI on MPC8XX
  289. config MPC8XXX_SPI
  290. bool "MPC8XXX SPI Driver"
  291. help
  292. Enable support for SPI on the MPC8XXX PowerPC SoCs.
  293. config MXC_SPI
  294. bool "MXC SPI Driver"
  295. help
  296. Enable the MXC SPI controller driver. This driver can be used
  297. on various i.MX SoCs such as i.MX31/35/51/6/7.
  298. config MXS_SPI
  299. bool "MXS SPI Driver"
  300. help
  301. Enable the MXS SPI controller driver. This driver can be used
  302. on the i.MX23 and i.MX28 SoCs.
  303. config OMAP3_SPI
  304. bool "McSPI driver for OMAP"
  305. help
  306. SPI master controller for OMAP24XX and later Multichannel SPI
  307. (McSPI). This driver be used to access SPI chips on platforms
  308. embedding this OMAP3 McSPI IP core.
  309. endif # menu "SPI Support"