Blame view

drivers/spi/Kconfig 11.7 KB
f1b1f7706   Adam Ford   Convert CONFIG_SP...
1
2
3
4
  menuconfig SPI
  	bool "SPI Support"
  
  if SPI
de8230535   Jagan Teki   spi: Add Kconfig ...
5

da333ae73   Masahiro Yamada   dm: add entries t...
6
7
8
9
  config DM_SPI
  	bool "Enable Driver Model for SPI drivers"
  	depends on DM
  	help
f94a1bed0   Simon Glass   dm: Expand and co...
10
11
12
13
14
15
16
17
  	  Enable driver model for SPI. The SPI slave interface
  	  (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
  	  the SPI uclass. Drivers provide methods to access the SPI
  	  buses that they control. The uclass interface is defined in
  	  include/spi.h. The existing spi_slave structure is attached
  	  as 'parent data' to every slave on each bus. Slaves
  	  typically use driver-private data instead of extending the
  	  spi_slave structure.
892cac72e   Simon Glass   sandbox: Move CON...
18

d13f5b254   Boris Brezillon   spi: Extend the c...
19
20
21
22
23
24
  config SPI_MEM
  	bool "SPI memory extension"
  	help
  	  Enable this option if you want to enable the SPI memory extension.
  	  This extension is meant to simplify interaction with SPI memories
  	  by providing an high-level interface to send memory-like commands.
6430eea63   Vignesh R   spi: Add non DM v...
25
  if DM_SPI
15a56f9cb   Thomas Chou   spi : convert alt...
26
27
28
29
30
31
32
  config ALTERA_SPI
  	bool "Altera SPI driver"
  	help
  	  Enable the Altera SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Altera
  	  IP core. Please find details on the "Embedded Peripherals IP
  	  User Guide" of Altera.
15927aef0   Jagan Teki   spi: atcspi200: D...
33
34
35
36
37
38
  config ATCSPI200_SPI
  	bool "Andestech ATCSPI200 SPI driver"
  	help
  	  Enable the Andestech ATCSPI200 SPI driver. This driver can be
  	  used to access the SPI flash on AE3XX and AE250 platforms embedding
  	  this Andestech IP core.
b85dc4607   Wills Wang   drivers: spi: add...
39
40
41
42
43
44
45
46
  config ATH79_SPI
  	bool "Atheros SPI driver"
  	depends on ARCH_ATH79
  	help
  	  Enable the Atheros ar7xxx/ar9xxx SoC SPI driver, it was used
  	  to access SPI NOR flash and other SPI peripherals. This driver
  	  uses driver model and requires a device tree binding to operate.
  	  please refer to doc/device-tree-bindings/spi/spi-ath79.txt.
0eafd4b77   Wenyou Yang   dm: at91: Add dri...
47
48
  config ATMEL_SPI
  	bool "Atmel SPI driver"
89d4fc153   Jagan Teki   spi: atmel: defau...
49
  	default y if ARCH_AT91
0eafd4b77   Wenyou Yang   dm: at91: Add dri...
50
51
  	help
  	  This enables driver for the Atmel SPI Controller, present on
daab59ac0   Andy Shevchenko   avr32: Retire AVR...
52
53
  	  many AT91 (ARM) chips. This driver can be used to access
  	  the SPI Flash, such as AT25DF321.
0eafd4b77   Wenyou Yang   dm: at91: Add dri...
54

29cc4368a   Álvaro Fernández Rojas   dm: spi: add BCM6...
55
56
57
58
59
60
61
  config BCM63XX_HSSPI
  	bool "BCM63XX HSSPI driver"
  	depends on ARCH_BMIPS
  	help
  	  Enable the BCM6328 HSSPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Broadcom
  	  SPI core.
5ac07d296   Álvaro Fernández Rojas   dm: spi: add BCM6...
62
63
64
65
66
67
68
  config BCM63XX_SPI
  	bool "BCM6348 SPI driver"
  	depends on ARCH_BMIPS
  	help
  	  Enable the BCM6348/BCM6358 SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding these Broadcom
  	  SPI cores.
894c3ad27   Thomas Fitzsimmons   board: arm: Add s...
69
70
71
72
73
74
  config BCMSTB_SPI
  	bool "BCMSTB SPI driver"
  	help
  	  Enable the Broadcom set-top box SPI driver. This driver can
  	  be used to access the SPI flash on platforms embedding this
  	  Broadcom SPI core.
e4976af86   Jagan Teki   spi: Kconfig: Sho...
75
76
77
78
79
80
81
82
83
84
85
86
87
  config CADENCE_QSPI
  	bool "Cadence QSPI driver"
  	help
  	  Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Cadence IP core.
  
  config DESIGNWARE_SPI
  	bool "Designware SPI driver"
  	help
  	  Enable the Designware SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Designware
  	  IP core.
c354eee8d   Jagan Teki   spi: Kconfig: Add...
88
89
90
91
92
93
  config EXYNOS_SPI
  	bool "Samsung Exynos SPI driver"
  	help
  	  Enable the Samsung Exynos SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Samsung
  	  Exynos IP core.
94ea308d7   Jagan Teki   spi: Kconfig: Add...
94
95
96
97
98
99
100
  config FSL_DSPI
  	bool "Freescale DSPI driver"
  	help
  	  Enable the Freescale DSPI driver. This driver can be used to
  	  access the SPI NOR flash and SPI Data flash on platforms embedding
  	  this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
  	  use this driver.
456360102   Jagan Teki   spi: Kconfig: Add...
101
102
  config ICH_SPI
  	bool "Intel ICH SPI driver"
6d8251783   Vignesh R   configs: Don't us...
103
  	imply SPI_FLASH_BAR
456360102   Jagan Teki   spi: Kconfig: Add...
104
105
106
107
  	help
  	  Enable the Intel ICH SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Intel
  	  ICH IP core.
9d26506a9   Neil Armstrong   spi: Add Amlogic ...
108
109
110
111
112
113
114
  config MESON_SPIFC
  	bool "Amlogic Meson SPI Flash Controller driver"
  	depends on ARCH_MESON
  	help
  	  Enable the Amlogic Meson SPI Flash Controller SPIFC) driver.
  	  This driver can be used to access the SPI NOR flash chips on
  	  Amlogic Meson SoCs.
f34d0315e   Christophe Leroy   spi: mpc8xx: Migr...
115
116
117
118
119
  config MPC8XX_SPI
  	bool "MPC8XX SPI Driver"
  	depends on MPC8xx
  	help
  	  Enable support for SPI on MPC8XX
5eee9dee4   Stefan Roese   spi: Add SPI driv...
120
121
122
123
124
125
126
  config MT7621_SPI
  	bool "MediaTek MT7621 SPI driver"
  	depends on ARCH_MT7620
  	help
  	  Enable the MT7621 SPI driver. This driver can be used to access
  	  the SPI NOR flash on platforms embedding this Ralink / MediaTek
  	  SPI core, like MT7621/7628/7688.
052cafd2a   Guochun Mao   spi: mtk_qspi: ad...
127
128
  config MTK_QSPI
  	bool "Mediatek QSPI driver"
6d8251783   Vignesh R   configs: Don't us...
129
  	imply SPI_FLASH_BAR
052cafd2a   Guochun Mao   spi: mtk_qspi: ad...
130
131
132
133
  	help
  	  Enable the Mediatek QSPI driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Mediatek QSPI IP core.
3fda4ef39   Stefan Roese   spi: Add driver f...
134
135
  config MVEBU_A3700_SPI
  	bool "Marvell Armada 3700 SPI driver"
dbbd5bdd2   Marek Behún   spi: mvebu_a3700_...
136
  	select CLK_ARMADA_3720
3fda4ef39   Stefan Roese   spi: Add driver f...
137
138
139
140
  	help
  	  Enable the Marvell Armada 3700 SPI driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Marvell IP core.
e19b90045   Purna Chandra Mandal   spi: pic32_spi: a...
141
142
143
144
145
146
147
  config PIC32_SPI
  	bool "Microchip PIC32 SPI driver"
  	depends on MACH_PIC32
  	help
  	  Enable the Microchip PIC32 SPI driver. This driver can be used
  	  to access the SPI NOR flash, MMC-over-SPI on platforms based on
  	  Microchip PIC32 family devices.
8a4791fa0   Quentin Schulz   spi: add support ...
148
149
150
151
152
153
154
  config PL022_SPI
  	bool "ARM AMBA PL022 SSP controller driver"
  	depends on ARM
  	help
  	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
  	  controller. If you have an embedded system with an AMBA(R)
  	  bus and a PL022 controller, say Y or M here.
fbebea27e   Marek Vasut   mtd: spi: Add Ren...
155
156
157
  config RENESAS_RPC_SPI
  	bool "Renesas RPC SPI driver"
  	depends on RCAR_GEN3
6d8251783   Vignesh R   configs: Don't us...
158
  	imply SPI_FLASH_BAR
fbebea27e   Marek Vasut   mtd: spi: Add Ren...
159
160
161
162
  	help
  	  Enable the Renesas RPC SPI driver, used to access SPI NOR flash
  	  on Renesas RCar Gen3 SoCs. This uses driver model and requires a
  	  device tree binding to operate.
1b2fd5bf4   Simon Glass   rockchip: Add SPI...
163
164
165
166
167
168
169
  config ROCKCHIP_SPI
  	bool "Rockchip SPI driver"
  	help
  	  Enable the Rockchip SPI driver, used to access SPI NOR flash and
  	  other SPI peripherals (such as the Chrome OS EC) on Rockchip SoCs.
  	  This uses driver model and requires a device tree binding to
  	  operate.
892cac72e   Simon Glass   sandbox: Move CON...
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
  config SANDBOX_SPI
  	bool "Sandbox SPI driver"
  	depends on SANDBOX && DM
  	help
  	  Enable SPI support for sandbox. This is an emulation of a real SPI
  	  bus. Devices can be attached to the bus using the device tree
  	  which specifies the driver to use. As an example, see this device
  	  tree fragment from sandbox.dts. It shows that the SPI bus has a
  	  single flash device on chip select 0 which is emulated by the driver
  	  for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c.
  
  	  spi@0 {
  		#address-cells = <1>;
  		#size-cells = <0>;
  		reg = <0>;
  		compatible = "sandbox,spi";
  		cs-gpios = <0>, <&gpio_a 0>;
  		flash@0 {
  			reg = <0>;
  			compatible = "spansion,m25p16", "sandbox,spi-flash";
  			spi-max-frequency = <40000000>;
  			sandbox,filename = "spi.bin";
  		};
e4976af86   Jagan Teki   spi: Kconfig: Sho...
193
  	  };
f924a2090   Jagan Teki   spi: Kconfig: Add...
194

a51cd54ef   Jagan Teki   spi: Rename sun4i...
195
196
197
198
199
200
  config SPI_SUNXI
  	bool "Allwinner SoC SPI controllers"
  	help
  	  Enable the Allwinner SoC SPi controller driver.
  
  	  Same controller driver can reuse in all Allwinner SoC variants.
d4363baad   Michael Kurz   ARM: SPI: stm32: ...
201
202
203
  config STM32_QSPI
  	bool "STM32F7 QSPI driver"
  	depends on STM32F7
6d8251783   Vignesh R   configs: Don't us...
204
  	imply SPI_FLASH_BAR
d4363baad   Michael Kurz   ARM: SPI: stm32: ...
205
206
207
208
  	help
  	  Enable the STM32F7 Quad-SPI (QSPI) driver. This driver can be
  	  used to access the SPI NOR flash chips on platforms embedding
  	  this ST IP core.
5bf9a2d3d   Jagan Teki   spi: Kconfig: Add...
209
210
211
212
213
214
215
216
217
  config TEGRA114_SPI
  	bool "nVidia Tegra114 SPI driver"
  	help
  	  Enable the nVidia Tegra114 SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this nVidia Tegra114
  	  IP core.
  
  	  This controller is different than the older SoCs SPI controller and
  	  also register interface get changed with this controller.
2f3e6f8cc   Jagan Teki   spi: Kconfig: Add...
218
219
220
221
222
223
  config TEGRA20_SFLASH
  	bool "nVidia Tegra20 Serial Flash controller driver"
  	help
  	  Enable the nVidia Tegra20 Serial Flash controller driver. This driver
  	  can be used to access the SPI NOR flash on platforms embedding this
  	  nVidia Tegra20 IP core.
4495830c5   Jagan Teki   spi: Kconfig: Add...
224
225
226
227
228
229
  config TEGRA20_SLINK
  	bool "nVidia Tegra20/Tegra30 SLINK driver"
  	help
  	  Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can
  	  be used to access the SPI NOR flash on platforms embedding this
  	  nVidia Tegra20/Tegra30 IP cores.
4e675ff24   Tom Warren   Tegra: T210: Add ...
230
231
232
233
234
235
  config TEGRA210_QSPI
  	bool "nVidia Tegra210 QSPI driver"
  	help
  	  Enable the Tegra Quad-SPI (QSPI) driver for T210. This driver
  	  be used to access SPI chips on platforms embedding this
  	  NVIDIA Tegra210 IP core.
075143d3c   Jagan Teki   spi: Kconfig: Add...
236
237
  config XILINX_SPI
  	bool "Xilinx SPI driver"
075143d3c   Jagan Teki   spi: Kconfig: Add...
238
239
240
241
242
  	help
  	  Enable the Xilinx SPI driver from the Xilinx EDK. This SPI
  	  controller support 8 bit SPI transfers only, with or w/o FIFO.
  	  For more info on Xilinx SPI Register Definitions and Overview
  	  see driver file - drivers/spi/xilinx_spi.c
df30a425b   Jagan Teki   spi: Kconfig: Add...
243
244
  config ZYNQ_SPI
  	bool "Zynq SPI driver"
ec48b6c99   Michal Simek   arm64: versal: Ad...
245
  	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
df30a425b   Jagan Teki   spi: Kconfig: Add...
246
247
248
249
  	help
  	  Enable the Zynq SPI driver. This driver can be used to
  	  access the SPI NOR flash on platforms embedding this Zynq
  	  SPI IP core.
de8230535   Jagan Teki   spi: Add Kconfig ...
250

78a025ace   Jagan Teki   spi: Kconfig: Add...
251
252
253
  config ZYNQ_QSPI
  	bool "Zynq QSPI driver"
  	depends on ARCH_ZYNQ
6d8251783   Vignesh R   configs: Don't us...
254
  	imply SPI_FLASH_BAR
78a025ace   Jagan Teki   spi: Kconfig: Add...
255
256
257
258
259
  	help
  	  Enable the Zynq Quad-SPI (QSPI) driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Zynq QSPI IP core. This IP is used to connect the flash in
  	  4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
22cca1730   Siva Durga Prasad Paladugu   spi: zynqmp_gqspi...
260
261
  config ZYNQMP_GQSPI
  	bool "Configure ZynqMP Generic QSPI"
ec48b6c99   Michal Simek   arm64: versal: Ad...
262
  	depends on ARCH_ZYNQMP || ARCH_VERSAL
22cca1730   Siva Durga Prasad Paladugu   spi: zynqmp_gqspi...
263
264
265
  	help
  	  This option is used to enable ZynqMP QSPI controller driver which
  	  is used to communicate with qspi flash devices.
e4976af86   Jagan Teki   spi: Kconfig: Sho...
266
  endif # if DM_SPI
41eb8ff5e   Peng Fan   spi: kconfig: add...
267
268
269
270
271
  config SOFT_SPI
  	bool "Soft SPI driver"
  	help
  	 Enable Soft SPI driver. This driver is to use GPIO simulate
  	 the SPI protocol.
fd6e0b052   Lars Povlsen   mips: spi: mscc: ...
272
273
274
275
276
277
  config MSCC_BB_SPI
  	bool "MSCC bitbang SPI driver"
  	depends on SOC_VCOREIII
  	help
  	  Enable MSCC bitbang SPI driver. This driver can be used on
  	  MSCC SOCs.
fbca0e66c   Tuomas Tynkkynen   spi: Migrate CONF...
278
279
280
281
282
  config CF_SPI
  	bool "ColdFire SPI driver"
  	help
  	  Enable the ColdFire SPI driver. This driver can be used on
  	  some m68k SoCs.
3debffa70   Jagan Teki   spi: Kconfig: Add...
283
284
285
286
287
288
  config FSL_ESPI
  	bool "Freescale eSPI driver"
  	help
  	  Enable the Freescale eSPI driver. This driver can be used to
  	  access the SPI interface and SPI NOR flash on platforms embedding
  	  this Freescale eSPI IP core.
902fba8f7   Ye Li   MLK-14938-19 spi:...
289
290
291
292
293
294
  config FSL_FSPI
  	bool "Freescale FlexSPI driver"
  	help
  	  Enable the Freescale FlexSPI (FSPI) driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Freescale IP core.
d5c2580a2   Ye Li   MLK-22556-1 spi: ...
295
296
297
298
299
300
  config FSL_FSPI_NAND
  	bool "Freescale FlexSPI driver for SPI NAND"
  	help
  	  Enable the Freescale FlexSPI (FSPI) NAND driver. This driver can be
  	  used to access the SPI NAND flash on platforms embedding this
  	  Freescale IP core.
21b1dd18f   Jagan Teki   spi: Kconfig: Mov...
301
302
  config FSL_QSPI
  	bool "Freescale QSPI driver"
6d8251783   Vignesh R   configs: Don't us...
303
  	imply SPI_FLASH_BAR
21b1dd18f   Jagan Teki   spi: Kconfig: Mov...
304
305
306
307
  	help
  	  Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
  	  used to access the SPI NOR flash on platforms embedding this
  	  Freescale IP core.
26410c151   Adam Ford   Convert CONFIG_DA...
308
309
310
311
312
  config DAVINCI_SPI
  	bool "Davinci & Keystone SPI driver"
  	depends on ARCH_DAVINCI || ARCH_KEYSTONE
  	help
  	  Enable the Davinci SPI driver
95d3877a5   Tuomas Tynkkynen   spi: Migrate CONF...
313
314
315
316
317
  config SH_SPI
  	bool "SuperH SPI driver"
  	help
  	  Enable the SuperH SPI controller driver. This driver can be used
  	  on various SuperH SoCs, such as SH7757.
a5dfabea1   Tuomas Tynkkynen   spi: Migrate CONF...
318
319
320
321
322
  config SH_QSPI
  	bool "Renesas Quad SPI driver"
  	help
  	  Enable the Renesas Quad SPI controller driver. This driver can be
  	  used on Renesas SoCs.
e4976af86   Jagan Teki   spi: Kconfig: Sho...
323
324
325
326
327
  config TI_QSPI
  	bool "TI QSPI driver"
  	help
  	  Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
  	  This driver support spi flash single, quad and memory reads.
4a942f49b   Tuomas Tynkkynen   spi: Migrate CONF...
328
329
330
331
332
  config KIRKWOOD_SPI
  	bool "Marvell Kirkwood SPI Driver"
  	help
  	  Enable support for SPI on various Marvell SoCs, such as
  	  Kirkwood and Armada 375.
2c4b096b4   Tuomas Tynkkynen   spi: Migrate CONF...
333
334
335
336
  config LPC32XX_SSP
  	bool "LPC32XX SPI Driver"
  	help
  	  Enable support for SPI on LPC32xx
bbdf38698   Tuomas Tynkkynen   spi: Migrate CONF...
337
338
339
340
  config MPC8XXX_SPI
  	bool "MPC8XXX SPI Driver"
  	help
  	  Enable support for SPI on the MPC8XXX PowerPC SoCs.
60e545629   Tuomas Tynkkynen   spi: Migrate CONF...
341
342
343
344
345
  config MXC_SPI
  	bool "MXC SPI Driver"
  	help
  	  Enable the MXC SPI controller driver. This driver can be used
  	  on various i.MX SoCs such as i.MX31/35/51/6/7.
7b819b569   Tuomas Tynkkynen   spi: Migrate CONF...
346
347
348
349
350
  config MXS_SPI
  	bool "MXS SPI Driver"
  	help
  	  Enable the MXS SPI controller driver. This driver can be used
  	  on the i.MX23 and i.MX28 SoCs.
a41e3e148   Adam Ford   OMAP3_SPI: Kconfi...
351
352
353
354
355
356
  config OMAP3_SPI
  	bool "McSPI driver for OMAP"
  	help
  	  SPI master controller for OMAP24XX and later Multichannel SPI
  	  (McSPI). This driver be used to access SPI chips on platforms
  	  embedding this OMAP3 McSPI IP core.
f1b1f7706   Adam Ford   Convert CONFIG_SP...
357
  endif # menu "SPI Support"