Adam Ford | f1b1f77 | 2018-04-15 13:51:26 -0400 | [diff] [blame] | 1 | menuconfig SPI |
| 2 | bool "SPI Support" |
| 3 | |
| 4 | if SPI |
Jagan Teki | de82305 | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 5 | |
Masahiro Yamada | da333ae | 2014-10-23 22:26:09 +0900 | [diff] [blame] | 6 | config DM_SPI |
| 7 | bool "Enable Driver Model for SPI drivers" |
| 8 | depends on DM |
| 9 | help |
Simon Glass | f94a1be | 2015-02-05 21:41:35 -0700 | [diff] [blame] | 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. |
Simon Glass | 892cac7 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 18 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 19 | if DM_SPI |
| 20 | |
Thomas Chou | 15a56f9 | 2015-10-14 08:33:34 +0800 | [diff] [blame] | 21 | config ALTERA_SPI |
| 22 | bool "Altera SPI driver" |
| 23 | help |
| 24 | Enable the Altera SPI driver. This driver can be used to |
| 25 | access the SPI NOR flash on platforms embedding this Altera |
| 26 | IP core. Please find details on the "Embedded Peripherals IP |
| 27 | User Guide" of Altera. |
| 28 | |
Jagan Teki | 15927ae | 2018-03-07 10:33:33 +0530 | [diff] [blame] | 29 | config ATCSPI200_SPI |
| 30 | bool "Andestech ATCSPI200 SPI driver" |
| 31 | help |
| 32 | Enable the Andestech ATCSPI200 SPI driver. This driver can be |
| 33 | used to access the SPI flash on AE3XX and AE250 platforms embedding |
| 34 | this Andestech IP core. |
| 35 | |
Wills Wang | b85dc46 | 2016-03-16 16:59:58 +0800 | [diff] [blame] | 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 | |
Wenyou Yang | 0eafd4b | 2016-10-28 14:17:49 +0800 | [diff] [blame] | 45 | config ATMEL_SPI |
| 46 | bool "Atmel SPI driver" |
Jagan Teki | 89d4fc1 | 2018-03-14 18:46:44 +0530 | [diff] [blame] | 47 | default y if ARCH_AT91 |
Wenyou Yang | 0eafd4b | 2016-10-28 14:17:49 +0800 | [diff] [blame] | 48 | help |
| 49 | This enables driver for the Atmel SPI Controller, present on |
Andy Shevchenko | daab59a | 2017-07-05 16:25:22 +0300 | [diff] [blame] | 50 | many AT91 (ARM) chips. This driver can be used to access |
| 51 | the SPI Flash, such as AT25DF321. |
Wenyou Yang | 0eafd4b | 2016-10-28 14:17:49 +0800 | [diff] [blame] | 52 | |
Álvaro Fernández Rojas | 29cc436 | 2018-01-20 02:13:38 +0100 | [diff] [blame] | 53 | config BCM63XX_HSSPI |
| 54 | bool "BCM63XX HSSPI driver" |
| 55 | depends on ARCH_BMIPS |
| 56 | help |
| 57 | Enable the BCM6328 HSSPI driver. This driver can be used to |
| 58 | access the SPI NOR flash on platforms embedding this Broadcom |
| 59 | SPI core. |
| 60 | |
Álvaro Fernández Rojas | 5ac07d2 | 2018-01-23 17:14:58 +0100 | [diff] [blame] | 61 | config BCM63XX_SPI |
| 62 | bool "BCM6348 SPI driver" |
| 63 | depends on ARCH_BMIPS |
| 64 | help |
| 65 | Enable the BCM6348/BCM6358 SPI driver. This driver can be used to |
| 66 | access the SPI NOR flash on platforms embedding these Broadcom |
| 67 | SPI cores. |
| 68 | |
Thomas Fitzsimmons | 894c3ad | 2018-06-08 17:59:45 -0400 | [diff] [blame^] | 69 | config BCMSTB_SPI |
| 70 | bool "BCMSTB SPI driver" |
| 71 | help |
| 72 | Enable the Broadcom set-top box SPI driver. This driver can |
| 73 | be used to access the SPI flash on platforms embedding this |
| 74 | Broadcom SPI core. |
| 75 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 76 | config CADENCE_QSPI |
| 77 | bool "Cadence QSPI driver" |
| 78 | help |
| 79 | Enable the Cadence Quad-SPI (QSPI) driver. This driver can be |
| 80 | used to access the SPI NOR flash on platforms embedding this |
| 81 | Cadence IP core. |
| 82 | |
| 83 | config DESIGNWARE_SPI |
| 84 | bool "Designware SPI driver" |
| 85 | help |
| 86 | Enable the Designware SPI driver. This driver can be used to |
| 87 | access the SPI NOR flash on platforms embedding this Designware |
| 88 | IP core. |
| 89 | |
Jagan Teki | c354eee | 2015-06-27 15:32:19 +0530 | [diff] [blame] | 90 | config EXYNOS_SPI |
| 91 | bool "Samsung Exynos SPI driver" |
| 92 | help |
| 93 | Enable the Samsung Exynos SPI driver. This driver can be used to |
| 94 | access the SPI NOR flash on platforms embedding this Samsung |
| 95 | Exynos IP core. |
| 96 | |
Jagan Teki | 94ea308 | 2015-06-27 14:17:06 +0530 | [diff] [blame] | 97 | config FSL_DSPI |
| 98 | bool "Freescale DSPI driver" |
| 99 | help |
| 100 | Enable the Freescale DSPI driver. This driver can be used to |
| 101 | access the SPI NOR flash and SPI Data flash on platforms embedding |
| 102 | this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms |
| 103 | use this driver. |
| 104 | |
Jagan Teki | 4563601 | 2015-06-27 15:43:27 +0530 | [diff] [blame] | 105 | config ICH_SPI |
| 106 | bool "Intel ICH SPI driver" |
| 107 | help |
| 108 | Enable the Intel ICH SPI driver. This driver can be used to |
| 109 | access the SPI NOR flash on platforms embedding this Intel |
| 110 | ICH IP core. |
| 111 | |
Stefan Roese | 3fda4ef | 2016-05-19 15:56:44 +0200 | [diff] [blame] | 112 | config MVEBU_A3700_SPI |
| 113 | bool "Marvell Armada 3700 SPI driver" |
Marek Behún | dbbd5bd | 2018-04-24 17:21:26 +0200 | [diff] [blame] | 114 | select CLK_ARMADA_3720 |
Stefan Roese | 3fda4ef | 2016-05-19 15:56:44 +0200 | [diff] [blame] | 115 | help |
| 116 | Enable the Marvell Armada 3700 SPI driver. This driver can be |
| 117 | used to access the SPI NOR flash on platforms embedding this |
| 118 | Marvell IP core. |
| 119 | |
Purna Chandra Mandal | e19b900 | 2016-06-02 14:26:08 +0530 | [diff] [blame] | 120 | config PIC32_SPI |
| 121 | bool "Microchip PIC32 SPI driver" |
| 122 | depends on MACH_PIC32 |
| 123 | help |
| 124 | Enable the Microchip PIC32 SPI driver. This driver can be used |
| 125 | to access the SPI NOR flash, MMC-over-SPI on platforms based on |
| 126 | Microchip PIC32 family devices. |
| 127 | |
Marek Vasut | fbebea2 | 2017-11-29 06:29:46 +0100 | [diff] [blame] | 128 | config RENESAS_RPC_SPI |
| 129 | bool "Renesas RPC SPI driver" |
| 130 | depends on RCAR_GEN3 |
| 131 | help |
| 132 | Enable the Renesas RPC SPI driver, used to access SPI NOR flash |
| 133 | on Renesas RCar Gen3 SoCs. This uses driver model and requires a |
| 134 | device tree binding to operate. |
| 135 | |
Simon Glass | 1b2fd5b | 2015-09-01 19:19:37 -0600 | [diff] [blame] | 136 | config ROCKCHIP_SPI |
| 137 | bool "Rockchip SPI driver" |
| 138 | help |
| 139 | Enable the Rockchip SPI driver, used to access SPI NOR flash and |
| 140 | other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs. |
| 141 | This uses driver model and requires a device tree binding to |
| 142 | operate. |
| 143 | |
Simon Glass | 892cac7 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 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 | |
| 155 | spi@0 { |
| 156 | #address-cells = <1>; |
| 157 | #size-cells = <0>; |
| 158 | reg = <0>; |
| 159 | compatible = "sandbox,spi"; |
| 160 | cs-gpios = <0>, <&gpio_a 0>; |
| 161 | flash@0 { |
| 162 | reg = <0>; |
| 163 | compatible = "spansion,m25p16", "sandbox,spi-flash"; |
| 164 | spi-max-frequency = <40000000>; |
| 165 | sandbox,filename = "spi.bin"; |
| 166 | }; |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 167 | }; |
Jagan Teki | f924a20 | 2015-06-27 04:41:11 +0530 | [diff] [blame] | 168 | |
Michael Kurz | d4363ba | 2017-01-22 16:04:30 +0100 | [diff] [blame] | 169 | config STM32_QSPI |
| 170 | bool "STM32F7 QSPI driver" |
| 171 | depends on STM32F7 |
| 172 | help |
| 173 | Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be |
| 174 | used to access the SPI NOR flash chips on platforms embedding |
| 175 | this ST IP core. |
| 176 | |
Jagan Teki | 5bf9a2d | 2015-06-27 15:57:53 +0530 | [diff] [blame] | 177 | config TEGRA114_SPI |
| 178 | bool "nVidia Tegra114 SPI driver" |
| 179 | help |
| 180 | Enable the nVidia Tegra114 SPI driver. This driver can be used to |
| 181 | access the SPI NOR flash on platforms embedding this nVidia Tegra114 |
| 182 | IP core. |
| 183 | |
| 184 | This controller is different than the older SoCs SPI controller and |
| 185 | also register interface get changed with this controller. |
| 186 | |
Jagan Teki | 2f3e6f8 | 2015-06-27 16:04:05 +0530 | [diff] [blame] | 187 | config TEGRA20_SFLASH |
| 188 | bool "nVidia Tegra20 Serial Flash controller driver" |
| 189 | help |
| 190 | Enable the nVidia Tegra20 Serial Flash controller driver. This driver |
| 191 | can be used to access the SPI NOR flash on platforms embedding this |
| 192 | nVidia Tegra20 IP core. |
| 193 | |
Jagan Teki | 4495830 | 2015-06-27 16:07:54 +0530 | [diff] [blame] | 194 | config TEGRA20_SLINK |
| 195 | bool "nVidia Tegra20/Tegra30 SLINK driver" |
| 196 | help |
| 197 | Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can |
| 198 | be used to access the SPI NOR flash on platforms embedding this |
| 199 | nVidia Tegra20/Tegra30 IP cores. |
| 200 | |
Tom Warren | 4e675ff | 2015-10-12 14:50:54 -0700 | [diff] [blame] | 201 | config TEGRA210_QSPI |
| 202 | bool "nVidia Tegra210 QSPI driver" |
| 203 | help |
| 204 | Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver |
| 205 | be used to access SPI chips on platforms embedding this |
| 206 | NVIDIA Tegra210 IP core. |
| 207 | |
Jagan Teki | 075143d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 208 | config XILINX_SPI |
| 209 | bool "Xilinx SPI driver" |
Jagan Teki | 075143d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 210 | help |
| 211 | Enable the Xilinx SPI driver from the Xilinx EDK. This SPI |
| 212 | controller support 8 bit SPI transfers only, with or w/o FIFO. |
| 213 | For more info on Xilinx SPI Register Definitions and Overview |
| 214 | see driver file - drivers/spi/xilinx_spi.c |
| 215 | |
Jagan Teki | df30a42 | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 216 | config ZYNQ_SPI |
| 217 | bool "Zynq SPI driver" |
Michal Simek | 8e4920e | 2015-12-07 11:33:58 +0100 | [diff] [blame] | 218 | depends on ARCH_ZYNQ || ARCH_ZYNQMP |
Jagan Teki | df30a42 | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 219 | help |
| 220 | Enable the Zynq SPI driver. This driver can be used to |
| 221 | access the SPI NOR flash on platforms embedding this Zynq |
| 222 | SPI IP core. |
Jagan Teki | de82305 | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 223 | |
Jagan Teki | 78a025a | 2015-08-16 00:19:38 +0530 | [diff] [blame] | 224 | config ZYNQ_QSPI |
| 225 | bool "Zynq QSPI driver" |
| 226 | depends on ARCH_ZYNQ |
| 227 | help |
| 228 | Enable the Zynq Quad-SPI (QSPI) driver. This driver can be |
| 229 | used to access the SPI NOR flash on platforms embedding this |
| 230 | Zynq QSPI IP core. This IP is used to connect the flash in |
| 231 | 4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel. |
| 232 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 233 | endif # if DM_SPI |
| 234 | |
Peng Fan | 41eb8ff | 2017-04-13 14:09:55 +0800 | [diff] [blame] | 235 | config SOFT_SPI |
| 236 | bool "Soft SPI driver" |
| 237 | help |
| 238 | Enable Soft SPI driver. This driver is to use GPIO simulate |
| 239 | the SPI protocol. |
| 240 | |
Tuomas Tynkkynen | fbca0e6 | 2018-02-07 02:42:23 +0200 | [diff] [blame] | 241 | config CF_SPI |
| 242 | bool "ColdFire SPI driver" |
| 243 | help |
| 244 | Enable the ColdFire SPI driver. This driver can be used on |
| 245 | some m68k SoCs. |
| 246 | |
Jagan Teki | 3debffa | 2015-06-27 15:21:36 +0530 | [diff] [blame] | 247 | config FSL_ESPI |
| 248 | bool "Freescale eSPI driver" |
| 249 | help |
| 250 | Enable the Freescale eSPI driver. This driver can be used to |
| 251 | access the SPI interface and SPI NOR flash on platforms embedding |
| 252 | this Freescale eSPI IP core. |
| 253 | |
Jagan Teki | 21b1dd1 | 2016-09-03 12:58:33 +0530 | [diff] [blame] | 254 | config FSL_QSPI |
| 255 | bool "Freescale QSPI driver" |
| 256 | help |
| 257 | Enable the Freescale Quad-SPI (QSPI) driver. This driver can be |
| 258 | used to access the SPI NOR flash on platforms embedding this |
| 259 | Freescale IP core. |
| 260 | |
Adam Ford | 26410c1 | 2017-12-30 07:33:42 -0600 | [diff] [blame] | 261 | config DAVINCI_SPI |
| 262 | bool "Davinci & Keystone SPI driver" |
| 263 | depends on ARCH_DAVINCI || ARCH_KEYSTONE |
| 264 | help |
| 265 | Enable the Davinci SPI driver |
| 266 | |
Tuomas Tynkkynen | 95d3877 | 2018-02-07 02:42:16 +0200 | [diff] [blame] | 267 | config SH_SPI |
| 268 | bool "SuperH SPI driver" |
| 269 | help |
| 270 | Enable the SuperH SPI controller driver. This driver can be used |
| 271 | on various SuperH SoCs, such as SH7757. |
| 272 | |
Tuomas Tynkkynen | a5dfabe | 2018-02-07 02:42:17 +0200 | [diff] [blame] | 273 | config SH_QSPI |
| 274 | bool "Renesas Quad SPI driver" |
| 275 | help |
| 276 | Enable the Renesas Quad SPI controller driver. This driver can be |
| 277 | used on Renesas SoCs. |
| 278 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 279 | config TI_QSPI |
| 280 | bool "TI QSPI driver" |
| 281 | help |
| 282 | Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. |
| 283 | This driver support spi flash single, quad and memory reads. |
| 284 | |
Tuomas Tynkkynen | 4a942f4 | 2018-02-07 02:42:22 +0200 | [diff] [blame] | 285 | config KIRKWOOD_SPI |
| 286 | bool "Marvell Kirkwood SPI Driver" |
| 287 | help |
| 288 | Enable support for SPI on various Marvell SoCs, such as |
| 289 | Kirkwood and Armada 375. |
| 290 | |
Tuomas Tynkkynen | 2c4b096 | 2018-02-07 02:42:21 +0200 | [diff] [blame] | 291 | config LPC32XX_SSP |
| 292 | bool "LPC32XX SPI Driver" |
| 293 | help |
| 294 | Enable support for SPI on LPC32xx |
| 295 | |
Christophe Leroy | f88c431 | 2017-07-06 10:33:25 +0200 | [diff] [blame] | 296 | config MPC8XX_SPI |
| 297 | bool "MPC8XX SPI Driver" |
Christophe Leroy | ee1e600 | 2018-03-16 17:20:41 +0100 | [diff] [blame] | 298 | depends on MPC8xx |
Christophe Leroy | f88c431 | 2017-07-06 10:33:25 +0200 | [diff] [blame] | 299 | help |
| 300 | Enable support for SPI on MPC8XX |
| 301 | |
Tuomas Tynkkynen | bbdf386 | 2018-02-07 02:42:20 +0200 | [diff] [blame] | 302 | config MPC8XXX_SPI |
| 303 | bool "MPC8XXX SPI Driver" |
| 304 | help |
| 305 | Enable support for SPI on the MPC8XXX PowerPC SoCs. |
| 306 | |
Tuomas Tynkkynen | 60e5456 | 2018-02-07 02:42:19 +0200 | [diff] [blame] | 307 | config MXC_SPI |
| 308 | bool "MXC SPI Driver" |
| 309 | help |
| 310 | Enable the MXC SPI controller driver. This driver can be used |
| 311 | on various i.MX SoCs such as i.MX31/35/51/6/7. |
| 312 | |
Tuomas Tynkkynen | 7b819b5 | 2018-02-07 02:42:18 +0200 | [diff] [blame] | 313 | config MXS_SPI |
| 314 | bool "MXS SPI Driver" |
| 315 | help |
| 316 | Enable the MXS SPI controller driver. This driver can be used |
| 317 | on the i.MX23 and i.MX28 SoCs. |
| 318 | |
Adam Ford | a41e3e1 | 2017-07-26 22:25:29 -0500 | [diff] [blame] | 319 | config OMAP3_SPI |
| 320 | bool "McSPI driver for OMAP" |
| 321 | help |
| 322 | SPI master controller for OMAP24XX and later Multichannel SPI |
| 323 | (McSPI). This driver be used to access SPI chips on platforms |
| 324 | embedding this OMAP3 McSPI IP core. |
| 325 | |
Adam Ford | f1b1f77 | 2018-04-15 13:51:26 -0400 | [diff] [blame] | 326 | endif # menu "SPI Support" |