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