Jagan Teki | de82305 | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 1 | menu "SPI Support" |
| 2 | |
Masahiro Yamada | da333ae | 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 | f94a1be | 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 | 892cac7 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 15 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 16 | if DM_SPI |
| 17 | |
Thomas Chou | 15a56f9 | 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 | b85dc46 | 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 | 0eafd4b | 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 |
| 40 | many AT32 (AVR32) and AT91 (ARM) chips. This driver can be |
| 41 | used to access the SPI Flash, such as AT25DF321. |
| 42 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 43 | config CADENCE_QSPI |
| 44 | bool "Cadence QSPI driver" |
| 45 | help |
| 46 | Enable the Cadence Quad-SPI (QSPI) driver. This driver can be |
| 47 | used to access the SPI NOR flash on platforms embedding this |
| 48 | Cadence IP core. |
| 49 | |
| 50 | config DESIGNWARE_SPI |
| 51 | bool "Designware SPI driver" |
| 52 | help |
| 53 | Enable the Designware SPI driver. This driver can be used to |
| 54 | access the SPI NOR flash on platforms embedding this Designware |
| 55 | IP core. |
| 56 | |
Jagan Teki | c354eee | 2015-06-27 15:32:19 +0530 | [diff] [blame] | 57 | config EXYNOS_SPI |
| 58 | bool "Samsung Exynos SPI driver" |
| 59 | help |
| 60 | Enable the Samsung Exynos SPI driver. This driver can be used to |
| 61 | access the SPI NOR flash on platforms embedding this Samsung |
| 62 | Exynos IP core. |
| 63 | |
Jagan Teki | 94ea308 | 2015-06-27 14:17:06 +0530 | [diff] [blame] | 64 | config FSL_DSPI |
| 65 | bool "Freescale DSPI driver" |
| 66 | help |
| 67 | Enable the Freescale DSPI driver. This driver can be used to |
| 68 | access the SPI NOR flash and SPI Data flash on platforms embedding |
| 69 | this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms |
| 70 | use this driver. |
| 71 | |
Jagan Teki | 4563601 | 2015-06-27 15:43:27 +0530 | [diff] [blame] | 72 | config ICH_SPI |
| 73 | bool "Intel ICH SPI driver" |
| 74 | help |
| 75 | Enable the Intel ICH SPI driver. This driver can be used to |
| 76 | access the SPI NOR flash on platforms embedding this Intel |
| 77 | ICH IP core. |
| 78 | |
Stefan Roese | 3fda4ef | 2016-05-19 15:56:44 +0200 | [diff] [blame] | 79 | config MVEBU_A3700_SPI |
| 80 | bool "Marvell Armada 3700 SPI driver" |
| 81 | help |
| 82 | Enable the Marvell Armada 3700 SPI driver. This driver can be |
| 83 | used to access the SPI NOR flash on platforms embedding this |
| 84 | Marvell IP core. |
| 85 | |
Purna Chandra Mandal | e19b900 | 2016-06-02 14:26:08 +0530 | [diff] [blame] | 86 | config PIC32_SPI |
| 87 | bool "Microchip PIC32 SPI driver" |
| 88 | depends on MACH_PIC32 |
| 89 | help |
| 90 | Enable the Microchip PIC32 SPI driver. This driver can be used |
| 91 | to access the SPI NOR flash, MMC-over-SPI on platforms based on |
| 92 | Microchip PIC32 family devices. |
| 93 | |
Simon Glass | 1b2fd5b | 2015-09-01 19:19:37 -0600 | [diff] [blame] | 94 | config ROCKCHIP_SPI |
| 95 | bool "Rockchip SPI driver" |
| 96 | help |
| 97 | Enable the Rockchip SPI driver, used to access SPI NOR flash and |
| 98 | other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs. |
| 99 | This uses driver model and requires a device tree binding to |
| 100 | operate. |
| 101 | |
Simon Glass | 892cac7 | 2015-03-06 13:19:05 -0700 | [diff] [blame] | 102 | config SANDBOX_SPI |
| 103 | bool "Sandbox SPI driver" |
| 104 | depends on SANDBOX && DM |
| 105 | help |
| 106 | Enable SPI support for sandbox. This is an emulation of a real SPI |
| 107 | bus. Devices can be attached to the bus using the device tree |
| 108 | which specifies the driver to use. As an example, see this device |
| 109 | tree fragment from sandbox.dts. It shows that the SPI bus has a |
| 110 | single flash device on chip select 0 which is emulated by the driver |
| 111 | for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c. |
| 112 | |
| 113 | spi@0 { |
| 114 | #address-cells = <1>; |
| 115 | #size-cells = <0>; |
| 116 | reg = <0>; |
| 117 | compatible = "sandbox,spi"; |
| 118 | cs-gpios = <0>, <&gpio_a 0>; |
| 119 | flash@0 { |
| 120 | reg = <0>; |
| 121 | compatible = "spansion,m25p16", "sandbox,spi-flash"; |
| 122 | spi-max-frequency = <40000000>; |
| 123 | sandbox,filename = "spi.bin"; |
| 124 | }; |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 125 | }; |
Jagan Teki | f924a20 | 2015-06-27 04:41:11 +0530 | [diff] [blame] | 126 | |
Jagan Teki | 5bf9a2d | 2015-06-27 15:57:53 +0530 | [diff] [blame] | 127 | config TEGRA114_SPI |
| 128 | bool "nVidia Tegra114 SPI driver" |
| 129 | help |
| 130 | Enable the nVidia Tegra114 SPI driver. This driver can be used to |
| 131 | access the SPI NOR flash on platforms embedding this nVidia Tegra114 |
| 132 | IP core. |
| 133 | |
| 134 | This controller is different than the older SoCs SPI controller and |
| 135 | also register interface get changed with this controller. |
| 136 | |
Jagan Teki | 2f3e6f8 | 2015-06-27 16:04:05 +0530 | [diff] [blame] | 137 | config TEGRA20_SFLASH |
| 138 | bool "nVidia Tegra20 Serial Flash controller driver" |
| 139 | help |
| 140 | Enable the nVidia Tegra20 Serial Flash controller driver. This driver |
| 141 | can be used to access the SPI NOR flash on platforms embedding this |
| 142 | nVidia Tegra20 IP core. |
| 143 | |
Jagan Teki | 4495830 | 2015-06-27 16:07:54 +0530 | [diff] [blame] | 144 | config TEGRA20_SLINK |
| 145 | bool "nVidia Tegra20/Tegra30 SLINK driver" |
| 146 | help |
| 147 | Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can |
| 148 | be used to access the SPI NOR flash on platforms embedding this |
| 149 | nVidia Tegra20/Tegra30 IP cores. |
| 150 | |
Tom Warren | 4e675ff | 2015-10-12 14:50:54 -0700 | [diff] [blame] | 151 | config TEGRA210_QSPI |
| 152 | bool "nVidia Tegra210 QSPI driver" |
| 153 | help |
| 154 | Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver |
| 155 | be used to access SPI chips on platforms embedding this |
| 156 | NVIDIA Tegra210 IP core. |
| 157 | |
Jagan Teki | 075143d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 158 | config XILINX_SPI |
| 159 | bool "Xilinx SPI driver" |
Jagan Teki | 075143d | 2015-06-27 04:32:43 +0530 | [diff] [blame] | 160 | help |
| 161 | Enable the Xilinx SPI driver from the Xilinx EDK. This SPI |
| 162 | controller support 8 bit SPI transfers only, with or w/o FIFO. |
| 163 | For more info on Xilinx SPI Register Definitions and Overview |
| 164 | see driver file - drivers/spi/xilinx_spi.c |
| 165 | |
Jagan Teki | df30a42 | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 166 | config ZYNQ_SPI |
| 167 | bool "Zynq SPI driver" |
Michal Simek | 8e4920e | 2015-12-07 11:33:58 +0100 | [diff] [blame] | 168 | depends on ARCH_ZYNQ || ARCH_ZYNQMP |
Jagan Teki | df30a42 | 2015-06-27 00:51:38 +0530 | [diff] [blame] | 169 | help |
| 170 | Enable the Zynq SPI driver. This driver can be used to |
| 171 | access the SPI NOR flash on platforms embedding this Zynq |
| 172 | SPI IP core. |
Jagan Teki | de82305 | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 173 | |
Jagan Teki | 78a025a | 2015-08-16 00:19:38 +0530 | [diff] [blame] | 174 | config ZYNQ_QSPI |
| 175 | bool "Zynq QSPI driver" |
| 176 | depends on ARCH_ZYNQ |
| 177 | help |
| 178 | Enable the Zynq Quad-SPI (QSPI) driver. This driver can be |
| 179 | used to access the SPI NOR flash on platforms embedding this |
| 180 | Zynq QSPI IP core. This IP is used to connect the flash in |
| 181 | 4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel. |
| 182 | |
Jagan Teki | 77b8d04 | 2016-03-14 22:41:24 +0530 | [diff] [blame] | 183 | config OMAP3_SPI |
| 184 | bool "McSPI driver for OMAP" |
| 185 | help |
| 186 | SPI master controller for OMAP24XX and later Multichannel SPI |
| 187 | (McSPI). This driver be used to access SPI chips on platforms |
| 188 | embedding this OMAP3 McSPI IP core. |
| 189 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 190 | endif # if DM_SPI |
| 191 | |
Jagan Teki | 3debffa | 2015-06-27 15:21:36 +0530 | [diff] [blame] | 192 | config FSL_ESPI |
| 193 | bool "Freescale eSPI driver" |
| 194 | help |
| 195 | Enable the Freescale eSPI driver. This driver can be used to |
| 196 | access the SPI interface and SPI NOR flash on platforms embedding |
| 197 | this Freescale eSPI IP core. |
| 198 | |
Jagan Teki | 21b1dd1 | 2016-09-03 12:58:33 +0530 | [diff] [blame] | 199 | config FSL_QSPI |
| 200 | bool "Freescale QSPI driver" |
| 201 | help |
| 202 | Enable the Freescale Quad-SPI (QSPI) driver. This driver can be |
| 203 | used to access the SPI NOR flash on platforms embedding this |
| 204 | Freescale IP core. |
| 205 | |
Jagan Teki | e4976af | 2015-06-27 22:37:00 +0530 | [diff] [blame] | 206 | config TI_QSPI |
| 207 | bool "TI QSPI driver" |
| 208 | help |
| 209 | Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. |
| 210 | This driver support spi flash single, quad and memory reads. |
| 211 | |
Jagan Teki | de82305 | 2015-06-27 22:35:14 +0530 | [diff] [blame] | 212 | endmenu # menu "SPI Support" |