Jagan Teki | bfd3f8b | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 1 | menu "SPI Support" |
| 2 | |
Masahiro Yamada | 57ad8ee | 2014-10-23 22:26:09 +0900 | [diff] [blame] | 3 | config DM_SPI |
| 4 | bool "Enable Driver Model for SPI drivers" |
| 5 | depends on DM |
| 6 | help |
Simon Glass | d8b771d | 2015-02-05 21:41:35 -0700 | [diff] [blame] | 7 | Enable driver model for SPI. The SPI slave interface |
| 8 | (spi_setup_slave(), spi_xfer(), etc.) is then implemented by |
| 9 | the SPI uclass. Drivers provide methods to access the SPI |
| 10 | buses that they control. The uclass interface is defined in |
| 11 | include/spi.h. The existing spi_slave structure is attached |
| 12 | as 'parent data' to every slave on each bus. Slaves |
| 13 | typically use driver-private data instead of extending the |
| 14 | spi_slave structure. |
Simon Glass | 4b322d3 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 15 | |
Jagan Teki | 15a932c | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 16 | if DM_SPI |
| 17 | |
Thomas Chou | c589954 | 2015-10-14 08:33:34 +0800 | [diff] [blame] | 18 | config ALTERA_SPI |
| 19 | bool "Altera SPI driver" |
| 20 | help |
| 21 | Enable the Altera SPI driver. This driver can be used to |
| 22 | access the SPI NOR flash on platforms embedding this Altera |
| 23 | IP core. Please find details on the "Embedded Peripherals IP |
| 24 | User Guide" of Altera. |
| 25 | |
Wills Wang | f502148 | 2016-03-16 16:59:58 +0800 | [diff] [blame] | 26 | config ATH79_SPI |
| 27 | bool "Atheros SPI driver" |
| 28 | depends on ARCH_ATH79 |
| 29 | help |
| 30 | Enable the Atheros ar7xxx/ar9xxx SoC SPI driver, it was used |
| 31 | to access SPI NOR flash and other SPI peripherals. This driver |
| 32 | uses driver model and requires a device tree binding to operate. |
| 33 | please refer to doc/device-tree-bindings/spi/spi-ath79.txt. |
| 34 | |
Wenyou Yang | da8ee98 | 2016-10-28 14:17:49 +0800 | [diff] [blame] | 35 | config ATMEL_SPI |
| 36 | bool "Atmel SPI driver" |
| 37 | depends on ARCH_AT91 |
| 38 | help |
| 39 | This enables driver for the Atmel SPI Controller, present on |
Andy Shevchenko | 8cb5cdd | 2017-07-05 16:25:22 +0300 | [diff] [blame] | 40 | many AT91 (ARM) chips. This driver can be used to access |
| 41 | the SPI Flash, such as AT25DF321. |
Wenyou Yang | da8ee98 | 2016-10-28 14:17:49 +0800 | [diff] [blame] | 42 | |
Álvaro Fernández Rojas | 55d96ec | 2018-01-20 02:13:38 +0100 | [diff] [blame] | 43 | config BCM63XX_HSSPI |
| 44 | bool "BCM63XX HSSPI driver" |
| 45 | depends on ARCH_BMIPS |
| 46 | help |
| 47 | Enable the BCM6328 HSSPI driver. This driver can be used to |
| 48 | access the SPI NOR flash on platforms embedding this Broadcom |
| 49 | SPI core. |
| 50 | |
Álvaro Fernández Rojas | cc243c6 | 2018-01-23 17:14:58 +0100 | [diff] [blame] | 51 | config BCM63XX_SPI |
| 52 | bool "BCM6348 SPI driver" |
| 53 | depends on ARCH_BMIPS |
| 54 | help |
| 55 | Enable the BCM6348/BCM6358 SPI driver. This driver can be used to |
| 56 | access the SPI NOR flash on platforms embedding these Broadcom |
| 57 | SPI cores. |
| 58 | |
Jagan Teki | 15a932c | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 59 | config CADENCE_QSPI |
| 60 | bool "Cadence QSPI driver" |
| 61 | help |
| 62 | Enable the Cadence Quad-SPI (QSPI) driver. This driver can be |
| 63 | used to access the SPI NOR flash on platforms embedding this |
| 64 | Cadence IP core. |
| 65 | |
| 66 | config DESIGNWARE_SPI |
| 67 | bool "Designware SPI driver" |
| 68 | help |
| 69 | Enable the Designware SPI driver. This driver can be used to |
| 70 | access the SPI NOR flash on platforms embedding this Designware |
| 71 | IP core. |
| 72 | |
Jagan Teki | 6274bf9 | 2015-06-27 15:32:19 +0530 | [diff] [blame] | 73 | config EXYNOS_SPI |
| 74 | bool "Samsung Exynos SPI driver" |
| 75 | help |
| 76 | Enable the Samsung Exynos SPI driver. This driver can be used to |
| 77 | access the SPI NOR flash on platforms embedding this Samsung |
| 78 | Exynos IP core. |
| 79 | |
Jagan Teki | ae30c02 | 2015-06-27 14:17:06 +0530 | [diff] [blame] | 80 | config FSL_DSPI |
| 81 | bool "Freescale DSPI driver" |
| 82 | help |
| 83 | Enable the Freescale DSPI driver. This driver can be used to |
| 84 | access the SPI NOR flash and SPI Data flash on platforms embedding |
| 85 | this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms |
| 86 | use this driver. |
| 87 | |
Jagan Teki | 3872b7c | 2015-06-27 15:43:27 +0530 | [diff] [blame] | 88 | config ICH_SPI |
| 89 | bool "Intel ICH SPI driver" |
| 90 | help |
| 91 | Enable the Intel ICH SPI driver. This driver can be used to |
| 92 | access the SPI NOR flash on platforms embedding this Intel |
| 93 | ICH IP core. |
| 94 | |
Stefan Roese | 9ec1c78 | 2016-05-19 15:56:44 +0200 | [diff] [blame] | 95 | config MVEBU_A3700_SPI |
| 96 | bool "Marvell Armada 3700 SPI driver" |
| 97 | help |
| 98 | Enable the Marvell Armada 3700 SPI driver. This driver can be |
| 99 | used to access the SPI NOR flash on platforms embedding this |
| 100 | Marvell IP core. |
| 101 | |
Purna Chandra Mandal | ffa5442 | 2016-06-02 14:26:08 +0530 | [diff] [blame] | 102 | config PIC32_SPI |
| 103 | bool "Microchip PIC32 SPI driver" |
| 104 | depends on MACH_PIC32 |
| 105 | help |
| 106 | Enable the Microchip PIC32 SPI driver. This driver can be used |
| 107 | to access the SPI NOR flash, MMC-over-SPI on platforms based on |
| 108 | Microchip PIC32 family devices. |
| 109 | |
Simon Glass | d1c1377 | 2015-09-01 19:19:37 -0600 | [diff] [blame] | 110 | config ROCKCHIP_SPI |
| 111 | bool "Rockchip SPI driver" |
| 112 | help |
| 113 | Enable the Rockchip SPI driver, used to access SPI NOR flash and |
| 114 | other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs. |
| 115 | This uses driver model and requires a device tree binding to |
| 116 | operate. |
| 117 | |
Simon Glass | 4b322d3 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 118 | config SANDBOX_SPI |
| 119 | bool "Sandbox SPI driver" |
| 120 | depends on SANDBOX && DM |
| 121 | help |
| 122 | Enable SPI support for sandbox. This is an emulation of a real SPI |
| 123 | bus. Devices can be attached to the bus using the device tree |
| 124 | which specifies the driver to use. As an example, see this device |
| 125 | tree fragment from sandbox.dts. It shows that the SPI bus has a |
| 126 | single flash device on chip select 0 which is emulated by the driver |
| 127 | for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c. |
| 128 | |
| 129 | spi@0 { |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <0>; |
| 132 | reg = <0>; |
| 133 | compatible = "sandbox,spi"; |
| 134 | cs-gpios = <0>, <&gpio_a 0>; |
| 135 | flash@0 { |
| 136 | reg = <0>; |
| 137 | compatible = "spansion,m25p16", "sandbox,spi-flash"; |
| 138 | spi-max-frequency = <40000000>; |
| 139 | sandbox,filename = "spi.bin"; |
| 140 | }; |
Jagan Teki | 15a932c | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 141 | }; |
Jagan Teki | dd32f51 | 2015-06-27 04:41:11 +0530 | [diff] [blame] | 142 | |
Michael Kurz | 337ff2a | 2017-01-22 16:04:30 +0100 | [diff] [blame] | 143 | config STM32_QSPI |
| 144 | bool "STM32F7 QSPI driver" |
| 145 | depends on STM32F7 |
| 146 | help |
| 147 | Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be |
| 148 | used to access the SPI NOR flash chips on platforms embedding |
| 149 | this ST IP core. |
| 150 | |
Jagan Teki | 7977d66 | 2015-06-27 15:57:53 +0530 | [diff] [blame] | 151 | config TEGRA114_SPI |
| 152 | bool "nVidia Tegra114 SPI driver" |
| 153 | help |
| 154 | Enable the nVidia Tegra114 SPI driver. This driver can be used to |
| 155 | access the SPI NOR flash on platforms embedding this nVidia Tegra114 |
| 156 | IP core. |
| 157 | |
| 158 | This controller is different than the older SoCs SPI controller and |
| 159 | also register interface get changed with this controller. |
| 160 | |
Jagan Teki | a900d40 | 2015-06-27 16:04:05 +0530 | [diff] [blame] | 161 | config TEGRA20_SFLASH |
| 162 | bool "nVidia Tegra20 Serial Flash controller driver" |
| 163 | help |
| 164 | Enable the nVidia Tegra20 Serial Flash controller driver. This driver |
| 165 | can be used to access the SPI NOR flash on platforms embedding this |
| 166 | nVidia Tegra20 IP core. |
| 167 | |
Jagan Teki | 271aa56 | 2015-06-27 16:07:54 +0530 | [diff] [blame] | 168 | config TEGRA20_SLINK |
| 169 | bool "nVidia Tegra20/Tegra30 SLINK driver" |
| 170 | help |
| 171 | Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can |
| 172 | be used to access the SPI NOR flash on platforms embedding this |
| 173 | nVidia Tegra20/Tegra30 IP cores. |
| 174 | |
Tom Warren | 5fb0c84 | 2015-10-12 14:50:54 -0700 | [diff] [blame] | 175 | config TEGRA210_QSPI |
| 176 | bool "nVidia Tegra210 QSPI driver" |
| 177 | help |
| 178 | Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver |
| 179 | be used to access SPI chips on platforms embedding this |
| 180 | NVIDIA Tegra210 IP core. |
| 181 | |
Jagan Teki | cd70d7d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 182 | config XILINX_SPI |
| 183 | bool "Xilinx SPI driver" |
Jagan Teki | cd70d7d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 184 | help |
| 185 | Enable the Xilinx SPI driver from the Xilinx EDK. This SPI |
| 186 | controller support 8 bit SPI transfers only, with or w/o FIFO. |
| 187 | For more info on Xilinx SPI Register Definitions and Overview |
| 188 | see driver file - drivers/spi/xilinx_spi.c |
| 189 | |
Jagan Teki | cad526f | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 190 | config ZYNQ_SPI |
| 191 | bool "Zynq SPI driver" |
Michal Simek | f5a0371 | 2015-12-07 11:33:58 +0100 | [diff] [blame] | 192 | depends on ARCH_ZYNQ || ARCH_ZYNQMP |
Jagan Teki | cad526f | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 193 | help |
| 194 | Enable the Zynq SPI driver. This driver can be used to |
| 195 | access the SPI NOR flash on platforms embedding this Zynq |
| 196 | SPI IP core. |
Jagan Teki | bfd3f8b | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 197 | |
Jagan Teki | f2e1c41 | 2015-08-16 00:19:38 +0530 | [diff] [blame] | 198 | config ZYNQ_QSPI |
| 199 | bool "Zynq QSPI driver" |
| 200 | depends on ARCH_ZYNQ |
| 201 | help |
| 202 | Enable the Zynq Quad-SPI (QSPI) driver. This driver can be |
| 203 | used to access the SPI NOR flash on platforms embedding this |
| 204 | Zynq QSPI IP core. This IP is used to connect the flash in |
| 205 | 4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel. |
| 206 | |
Jagan Teki | 15a932c | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 207 | endif # if DM_SPI |
| 208 | |
Peng Fan | 176ee21 | 2017-04-13 14:09:55 +0800 | [diff] [blame] | 209 | config SOFT_SPI |
| 210 | bool "Soft SPI driver" |
| 211 | help |
| 212 | Enable Soft SPI driver. This driver is to use GPIO simulate |
| 213 | the SPI protocol. |
| 214 | |
Tuomas Tynkkynen | 4afde86 | 2018-02-07 02:42:23 +0200 | [diff] [blame] | 215 | config CF_SPI |
| 216 | bool "ColdFire SPI driver" |
| 217 | help |
| 218 | Enable the ColdFire SPI driver. This driver can be used on |
| 219 | some m68k SoCs. |
| 220 | |
Jagan Teki | a0497a3 | 2015-06-27 15:21:36 +0530 | [diff] [blame] | 221 | config FSL_ESPI |
| 222 | bool "Freescale eSPI driver" |
| 223 | help |
| 224 | Enable the Freescale eSPI driver. This driver can be used to |
| 225 | access the SPI interface and SPI NOR flash on platforms embedding |
| 226 | this Freescale eSPI IP core. |
| 227 | |
Jagan Teki | 467c629 | 2016-09-03 12:58:33 +0530 | [diff] [blame] | 228 | config FSL_QSPI |
| 229 | bool "Freescale QSPI driver" |
| 230 | help |
| 231 | Enable the Freescale Quad-SPI (QSPI) driver. This driver can be |
| 232 | used to access the SPI NOR flash on platforms embedding this |
| 233 | Freescale IP core. |
| 234 | |
Rick Chen | 6ae5ac4 | 2017-11-23 14:19:36 +0800 | [diff] [blame] | 235 | config ATCSPI200_SPI |
| 236 | bool "Andestech ATCSPI200 SPI driver" |
rick | 67dd233 | 2017-08-28 15:08:01 +0800 | [diff] [blame] | 237 | help |
Rick Chen | 6ae5ac4 | 2017-11-23 14:19:36 +0800 | [diff] [blame] | 238 | Enable the Andestech ATCSPI200 SPI driver. This driver can be |
| 239 | used to access the SPI flash on AE3XX and AE250 platforms embedding |
| 240 | this Andestech IP core. |
rick | 67dd233 | 2017-08-28 15:08:01 +0800 | [diff] [blame] | 241 | |
Adam Ford | 19b336e | 2017-12-30 07:33:42 -0600 | [diff] [blame] | 242 | config DAVINCI_SPI |
| 243 | bool "Davinci & Keystone SPI driver" |
| 244 | depends on ARCH_DAVINCI || ARCH_KEYSTONE |
| 245 | help |
| 246 | Enable the Davinci SPI driver |
| 247 | |
Tuomas Tynkkynen | 1eadef8 | 2018-02-07 02:42:16 +0200 | [diff] [blame] | 248 | config SH_SPI |
| 249 | bool "SuperH SPI driver" |
| 250 | help |
| 251 | Enable the SuperH SPI controller driver. This driver can be used |
| 252 | on various SuperH SoCs, such as SH7757. |
| 253 | |
Tuomas Tynkkynen | fa8fdfd | 2018-02-07 02:42:17 +0200 | [diff] [blame] | 254 | config SH_QSPI |
| 255 | bool "Renesas Quad SPI driver" |
| 256 | help |
| 257 | Enable the Renesas Quad SPI controller driver. This driver can be |
| 258 | used on Renesas SoCs. |
| 259 | |
Jagan Teki | 15a932c | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 260 | config TI_QSPI |
| 261 | bool "TI QSPI driver" |
| 262 | help |
| 263 | Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. |
| 264 | This driver support spi flash single, quad and memory reads. |
| 265 | |
Tuomas Tynkkynen | 13b5cb8 | 2018-02-07 02:42:22 +0200 | [diff] [blame] | 266 | config KIRKWOOD_SPI |
| 267 | bool "Marvell Kirkwood SPI Driver" |
| 268 | help |
| 269 | Enable support for SPI on various Marvell SoCs, such as |
| 270 | Kirkwood and Armada 375. |
| 271 | |
Tuomas Tynkkynen | 2621268 | 2018-02-07 02:42:21 +0200 | [diff] [blame] | 272 | config LPC32XX_SSP |
| 273 | bool "LPC32XX SPI Driver" |
| 274 | help |
| 275 | Enable support for SPI on LPC32xx |
| 276 | |
Christophe Leroy | 8c3f122 | 2017-07-06 10:33:25 +0200 | [diff] [blame] | 277 | config MPC8XX_SPI |
| 278 | bool "MPC8XX SPI Driver" |
| 279 | depends on 8xx |
| 280 | help |
| 281 | Enable support for SPI on MPC8XX |
| 282 | |
Tuomas Tynkkynen | d331891 | 2018-02-07 02:42:20 +0200 | [diff] [blame] | 283 | config MPC8XXX_SPI |
| 284 | bool "MPC8XXX SPI Driver" |
| 285 | help |
| 286 | Enable support for SPI on the MPC8XXX PowerPC SoCs. |
| 287 | |
Tuomas Tynkkynen | d395879 | 2018-02-07 02:42:19 +0200 | [diff] [blame] | 288 | config MXC_SPI |
| 289 | bool "MXC SPI Driver" |
| 290 | help |
| 291 | Enable the MXC SPI controller driver. This driver can be used |
| 292 | on various i.MX SoCs such as i.MX31/35/51/6/7. |
| 293 | |
Tuomas Tynkkynen | 3244de9 | 2018-02-07 02:42:18 +0200 | [diff] [blame] | 294 | config MXS_SPI |
| 295 | bool "MXS SPI Driver" |
| 296 | help |
| 297 | Enable the MXS SPI controller driver. This driver can be used |
| 298 | on the i.MX23 and i.MX28 SoCs. |
| 299 | |
Adam Ford | 03a333a | 2017-07-26 22:25:29 -0500 | [diff] [blame] | 300 | config OMAP3_SPI |
| 301 | bool "McSPI driver for OMAP" |
| 302 | help |
| 303 | SPI master controller for OMAP24XX and later Multichannel SPI |
| 304 | (McSPI). This driver be used to access SPI chips on platforms |
| 305 | embedding this OMAP3 McSPI IP core. |
| 306 | |
Jagan Teki | bfd3f8b | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 307 | endmenu # menu "SPI Support" |