| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# SPI driver configuration |
| 4 |
# |
| 5 |
menuconfig SPI |
| 6 |
bool "SPI support" |
| 7 |
depends on HAS_IOMEM |
| 8 |
help |
| 9 |
The "Serial Peripheral Interface" is a low level synchronous |
| 10 |
protocol. Chips that support SPI can have data transfer rates |
| 11 |
up to several tens of Mbit/sec. Chips are addressed with a |
| 12 |
controller and a chipselect. Most SPI slaves don't support |
| 13 |
dynamic device discovery; some are even write-only or read-only. |
| 14 |
|
| 15 |
SPI is widely used by microcontrollers to talk with sensors, |
| 16 |
eeprom and flash memory, codecs and various other controller |
| 17 |
chips, analog to digital (and d-to-a) converters, and more. |
| 18 |
MMC and SD cards can be accessed using SPI protocol; and for |
| 19 |
DataFlash cards used in MMC sockets, SPI must always be used. |
| 20 |
|
| 21 |
SPI is one of a family of similar protocols using a four wire |
| 22 |
interface (select, clock, data in, data out) including Microwire |
| 23 |
(half duplex), SSP, SSI, and PSP. This driver framework should |
| 24 |
work with most such devices and controllers. |
| 25 |
|
| 26 |
if SPI |
| 27 |
|
| 28 |
config SPI_DEBUG |
| 29 |
bool "Debug support for SPI drivers" |
| 30 |
depends on DEBUG_KERNEL |
| 31 |
help |
| 32 |
Say "yes" to enable debug messaging (like dev_dbg and pr_debug), |
| 33 |
sysfs, and debugfs support in SPI controller and protocol drivers. |
| 34 |
|
| 35 |
# |
| 36 |
# MASTER side ... talking to discrete SPI slave chips including microcontrollers |
| 37 |
# |
| 38 |
|
| 39 |
config SPI_MASTER |
| 40 |
# bool "SPI Master Support" |
| 41 |
bool |
| 42 |
default SPI |
| 43 |
help |
| 44 |
If your system has an master-capable SPI controller (which |
| 45 |
provides the clock and chipselect), you can enable that |
| 46 |
controller and the protocol drivers for the SPI slave chips |
| 47 |
that are connected. |
| 48 |
|
| 49 |
if SPI_MASTER |
| 50 |
|
| 51 |
config SPI_MEM |
| 52 |
bool "SPI memory extension" |
| 53 |
help |
| 54 |
Enable this option if you want to enable the SPI memory extension. |
| 55 |
This extension is meant to simplify interaction with SPI memories |
| 56 |
by providing a high-level interface to send memory-like commands. |
| 57 |
|
| 58 |
config SPI_OFFLOAD |
| 59 |
bool |
| 60 |
|
| 61 |
comment "SPI Master Controller Drivers" |
| 62 |
|
| 63 |
config SPI_AIROHA_SNFI |
| 64 |
tristate "Airoha SPI NAND Flash Interface" |
| 65 |
depends on ARCH_AIROHA || COMPILE_TEST |
| 66 |
depends on SPI_MASTER |
| 67 |
select REGMAP_MMIO |
| 68 |
help |
| 69 |
This enables support for SPI-NAND mode on the Airoha NAND |
| 70 |
Flash Interface found on Airoha ARM SoCs. This controller |
| 71 |
is implemented as a SPI-MEM controller. |
| 72 |
|
| 73 |
config SPI_ALTERA |
| 74 |
tristate "Altera SPI Controller platform driver" |
| 75 |
select SPI_ALTERA_CORE |
| 76 |
select REGMAP_MMIO |
| 77 |
help |
| 78 |
This is the driver for the Altera SPI Controller. |
| 79 |
|
| 80 |
config SPI_ALTERA_CORE |
| 81 |
tristate "Altera SPI Controller core code" if COMPILE_TEST |
| 82 |
select REGMAP |
| 83 |
help |
| 84 |
"The core code for the Altera SPI Controller" |
| 85 |
|
| 86 |
config SPI_ALTERA_DFL |
| 87 |
tristate "DFL bus driver for Altera SPI Controller" |
| 88 |
depends on FPGA_DFL |
| 89 |
select SPI_ALTERA_CORE |
| 90 |
help |
| 91 |
This is a Device Feature List (DFL) bus driver for the |
| 92 |
Altera SPI master controller. The SPI master is connected |
| 93 |
to a SPI slave to Avalon bridge in a Intel MAX BMC. |
| 94 |
|
| 95 |
config SPI_AMLOGIC_SPIFC_A1 |
| 96 |
tristate "Amlogic A1 SPIFC controller" |
| 97 |
depends on ARCH_MESON || COMPILE_TEST |
| 98 |
help |
| 99 |
This enables master mode support for the SPIFC (SPI flash |
| 100 |
controller) available in Amlogic A1 (A113L SoC). |
| 101 |
|
| 102 |
config SPI_AMLOGIC_SPIFC_A4 |
| 103 |
tristate "Amlogic A4 SPI Flash controller" |
| 104 |
depends on ARCH_MESON || COMPILE_TEST |
| 105 |
select REGMAP_MMIO |
| 106 |
help |
| 107 |
This enables SPI mode on the NAND Flash Controller of Amlogic |
| 108 |
ARM SoCs. It supports SPI Nor Flash and SPI NAND Flash (Could |
| 109 |
enable Host ECC HW engine). The controller implements the |
| 110 |
SPI-MEM interface, it doesn't support generic SPI. |
| 111 |
|
| 112 |
config SPI_AMLOGIC_SPISG |
| 113 |
tristate "Amlogic SPISG controller" |
| 114 |
depends on COMMON_CLK |
| 115 |
depends on ARCH_MESON || COMPILE_TEST |
| 116 |
help |
| 117 |
This enables master mode support for the SPISG (SPI scatter-gather |
| 118 |
communication controller), which is available on platforms such as |
| 119 |
Amlogic A4 SoCs. |
| 120 |
|
| 121 |
config SPI_APPLE |
| 122 |
tristate "Apple SoC SPI Controller platform driver" |
| 123 |
depends on ARCH_APPLE || COMPILE_TEST |
| 124 |
help |
| 125 |
This enables support for the SPI controller present on |
| 126 |
many Apple SoCs, including the t8103 (M1), t8112 (M2) |
| 127 |
and t600x (M1 Pro/Max/Ultra). Multiple SPI controller |
| 128 |
instances are present on the SoC and each connects usually |
| 129 |
to a single device like spi-nor (nvram), input device controller |
| 130 |
or fingerprint sensor. |
| 131 |
|
| 132 |
config SPI_AR934X |
| 133 |
tristate "Qualcomm Atheros AR934X/QCA95XX SPI controller driver" |
| 134 |
depends on ATH79 || COMPILE_TEST |
| 135 |
help |
| 136 |
This enables support for the SPI controller present on the |
| 137 |
Qualcomm Atheros AR934X/QCA95XX SoCs. |
| 138 |
|
| 139 |
config SPI_ATCSPI200 |
| 140 |
tristate "Andes ATCSPI200 SPI controller" |
| 141 |
depends on ARCH_ANDES |
| 142 |
help |
| 143 |
SPI driver for Andes ATCSPI200 SPI controller. |
| 144 |
ATCSPI200 controller supports DMA and PIO modes. When DMA |
| 145 |
is not available, the driver automatically falls back to |
| 146 |
PIO mode. |
| 147 |
|
| 148 |
config SPI_ATH79 |
| 149 |
tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" |
| 150 |
depends on ATH79 || COMPILE_TEST |
| 151 |
select SPI_BITBANG |
| 152 |
help |
| 153 |
This enables support for the SPI controller present on the |
| 154 |
Atheros AR71XX/AR724X/AR913X SoCs. |
| 155 |
|
| 156 |
config SPI_ARMADA_3700 |
| 157 |
tristate "Marvell Armada 3700 SPI Controller" |
| 158 |
depends on (ARCH_MVEBU && OF) || COMPILE_TEST |
| 159 |
help |
| 160 |
This enables support for the SPI controller present on the |
| 161 |
Marvell Armada 3700 SoCs. |
| 162 |
|
| 163 |
config SPI_ASPEED_SMC |
| 164 |
tristate "Aspeed flash controllers in SPI mode" |
| 165 |
depends on ARCH_ASPEED || COMPILE_TEST |
| 166 |
depends on OF |
| 167 |
help |
| 168 |
This enables support for the Firmware Memory controller (FMC) |
| 169 |
in the Aspeed AST2600, AST2500 and AST2400 SoCs when attached |
| 170 |
to SPI NOR chips, and support for the SPI flash memory |
| 171 |
controller (SPI) for the host firmware. The implementation |
| 172 |
only supports SPI NOR. |
| 173 |
|
| 174 |
config SPI_ATMEL |
| 175 |
tristate "Atmel SPI Controller" |
| 176 |
depends on ARCH_MICROCHIP || COMPILE_TEST |
| 177 |
depends on OF |
| 178 |
help |
| 179 |
This selects a driver for the Atmel SPI Controller, present on |
| 180 |
many AT91 ARM chips. |
| 181 |
|
| 182 |
config SPI_AT91_USART |
| 183 |
tristate "Atmel USART Controller SPI driver" |
| 184 |
depends on (ARCH_AT91 || COMPILE_TEST) |
| 185 |
depends on MFD_AT91_USART |
| 186 |
help |
| 187 |
This selects a driver for the AT91 USART Controller as SPI Master, |
| 188 |
present on AT91 and SAMA5 SoC series. |
| 189 |
|
| 190 |
config SPI_ATMEL_QUADSPI |
| 191 |
tristate "Atmel Quad SPI Controller" |
| 192 |
depends on ARCH_AT91 || COMPILE_TEST |
| 193 |
depends on OF && HAS_IOMEM |
| 194 |
help |
| 195 |
This enables support for the Quad SPI controller in master mode. |
| 196 |
This driver does not support generic SPI. The implementation only |
| 197 |
supports spi-mem interface. |
| 198 |
|
| 199 |
config SPI_AU1550 |
| 200 |
tristate "Au1550/Au1200/Au1300 SPI Controller" |
| 201 |
depends on MIPS_ALCHEMY |
| 202 |
select SPI_BITBANG |
| 203 |
help |
| 204 |
If you say yes to this option, support will be included for the |
| 205 |
PSC SPI controller found on Au1550, Au1200 and Au1300 series. |
| 206 |
|
| 207 |
config SPI_AXI_SPI_ENGINE |
| 208 |
tristate "Analog Devices AXI SPI Engine controller" |
| 209 |
depends on HAS_IOMEM |
| 210 |
select SPI_OFFLOAD |
| 211 |
help |
| 212 |
This enables support for the Analog Devices AXI SPI Engine SPI controller. |
| 213 |
It is part of the SPI Engine framework that is used in some Analog Devices |
| 214 |
reference designs for FPGAs. |
| 215 |
|
| 216 |
config SPI_AXIADO |
| 217 |
tristate "Axiado DB-H SPI controller" |
| 218 |
depends on SPI_MEM |
| 219 |
depends on ARCH_AXIADO || COMPILE_TEST |
| 220 |
help |
| 221 |
Enable support for the SPI controller present on Axiado AX3000 SoCs. |
| 222 |
|
| 223 |
The implementation supports host-only mode and does not provide target |
| 224 |
functionality. It is intended for use cases where the SoC acts as the SPI |
| 225 |
host, communicating with peripheral devices such as flash memory. |
| 226 |
|
| 227 |
config SPI_BCM2835 |
| 228 |
tristate "BCM2835 SPI controller" |
| 229 |
depends on GPIOLIB |
| 230 |
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST |
| 231 |
help |
| 232 |
This selects a driver for the Broadcom BCM2835 SPI master. |
| 233 |
|
| 234 |
The BCM2835 contains two types of SPI master controller; the |
| 235 |
"universal SPI master", and the regular SPI controller. This driver |
| 236 |
is for the regular SPI controller. Slave mode operation is not also |
| 237 |
not supported. |
| 238 |
|
| 239 |
config SPI_BCM2835AUX |
| 240 |
tristate "BCM2835 SPI auxiliary controller" |
| 241 |
depends on ((ARCH_BCM2835 || ARCH_BRCMSTB) && GPIOLIB) || COMPILE_TEST |
| 242 |
help |
| 243 |
This selects a driver for the Broadcom BCM2835 SPI aux master. |
| 244 |
|
| 245 |
The BCM2835 contains two types of SPI master controller; the |
| 246 |
"universal SPI master", and the regular SPI controller. |
| 247 |
This driver is for the universal/auxiliary SPI controller. |
| 248 |
|
| 249 |
config SPI_BCM63XX |
| 250 |
tristate "Broadcom BCM63xx SPI controller" |
| 251 |
depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST |
| 252 |
help |
| 253 |
Enable support for the SPI controller on the Broadcom BCM63xx SoCs. |
| 254 |
|
| 255 |
config SPI_BCM63XX_HSSPI |
| 256 |
tristate "Broadcom BCM63XX HS SPI controller driver" |
| 257 |
depends on BCM63XX || BMIPS_GENERIC || ARCH_BCMBCA || COMPILE_TEST |
| 258 |
help |
| 259 |
This enables support for the High Speed SPI controller present on |
| 260 |
newer Broadcom BCM63XX SoCs. |
| 261 |
|
| 262 |
config SPI_BCM_QSPI |
| 263 |
tristate "Broadcom BSPI and MSPI controller support" |
| 264 |
depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || \ |
| 265 |
BMIPS_GENERIC || COMPILE_TEST |
| 266 |
default ARCH_BCM_IPROC |
| 267 |
help |
| 268 |
Enables support for the Broadcom SPI flash and MSPI controller. |
| 269 |
Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs |
| 270 |
based platforms. This driver works for both SPI master for SPI NOR |
| 271 |
flash device as well as MSPI device. |
| 272 |
|
| 273 |
config SPI_BCMBCA_HSSPI |
| 274 |
tristate "Broadcom BCMBCA HS SPI controller driver" |
| 275 |
depends on ARCH_BCMBCA || COMPILE_TEST |
| 276 |
help |
| 277 |
This enables support for the High Speed SPI controller present on |
| 278 |
newer Broadcom BCMBCA SoCs. These SoCs include an updated SPI controller |
| 279 |
that adds the capability to allow the driver to control chip select |
| 280 |
explicitly. |
| 281 |
|
| 282 |
config SPI_BITBANG |
| 283 |
tristate "Utilities for Bitbanging SPI host controllers" |
| 284 |
help |
| 285 |
With a few GPIO pins, your system can bitbang the SPI protocol. |
| 286 |
Select this to get SPI support through I/O pins (GPIO, parallel |
| 287 |
port, etc). Or, some systems' SPI host controller drivers use |
| 288 |
this code to manage the per-word or per-transfer accesses to the |
| 289 |
hardware shift registers. |
| 290 |
|
| 291 |
This is library code, and is automatically selected by drivers that |
| 292 |
need it. You only need to select this explicitly to support driver |
| 293 |
modules that aren't part of this kernel tree. |
| 294 |
|
| 295 |
config SPI_BUTTERFLY |
| 296 |
tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)" |
| 297 |
depends on PARPORT |
| 298 |
select SPI_BITBANG |
| 299 |
help |
| 300 |
This uses a custom parallel port cable to connect to an AVR |
| 301 |
Butterfly <http://www.atmel.com/products/avr/butterfly>, an |
| 302 |
inexpensive battery powered microcontroller evaluation board. |
| 303 |
This same cable can be used to flash new firmware. |
| 304 |
|
| 305 |
config SPI_CADENCE |
| 306 |
tristate "Cadence SPI controller" |
| 307 |
help |
| 308 |
This selects the Cadence SPI controller master driver |
| 309 |
used by Xilinx Zynq and ZynqMP. |
| 310 |
|
| 311 |
config SPI_CADENCE_QUADSPI |
| 312 |
tristate "Cadence Quad SPI controller" |
| 313 |
depends on OF && (ARM || ARM64 || X86 || RISCV || MIPS || COMPILE_TEST) |
| 314 |
help |
| 315 |
Enable support for the Cadence Quad SPI Flash controller. |
| 316 |
|
| 317 |
Cadence QSPI is a specialized controller for connecting an SPI |
| 318 |
Flash over 1/2/4-bit wide bus. Enable this option if you have a |
| 319 |
device with a Cadence QSPI controller and want to access the |
| 320 |
Flash as an MTD device. |
| 321 |
|
| 322 |
config SPI_CADENCE_XSPI |
| 323 |
tristate "Cadence XSPI controller" |
| 324 |
depends on OF && HAS_IOMEM && 64BIT |
| 325 |
depends on SPI_MEM |
| 326 |
help |
| 327 |
Enable support for the Cadence XSPI Flash controller. |
| 328 |
|
| 329 |
Cadence XSPI is a specialized controller for connecting an SPI |
| 330 |
Flash over up to 8-bit wide bus. Enable this option if you have a |
| 331 |
device with a Cadence XSPI controller and want to access the |
| 332 |
Flash as an MTD device. |
| 333 |
|
| 334 |
config SPI_CH341 |
| 335 |
tristate "CH341 USB2SPI adapter" |
| 336 |
depends on SPI_MASTER && USB |
| 337 |
help |
| 338 |
Enables the SPI controller on the CH341a USB to serial chip |
| 339 |
|
| 340 |
config SPI_CLPS711X |
| 341 |
tristate "CLPS711X host SPI controller" |
| 342 |
depends on ARCH_CLPS711X || COMPILE_TEST |
| 343 |
help |
| 344 |
This enables dedicated general purpose SPI/Microwire1-compatible |
| 345 |
master mode interface (SSI1) for CLPS711X-based CPUs. |
| 346 |
|
| 347 |
config SPI_COLDFIRE_QSPI |
| 348 |
tristate "Freescale Coldfire QSPI controller" |
| 349 |
depends on (M520x || M523x || M5249 || M525x || M527x || M528x || M532x) |
| 350 |
help |
| 351 |
This enables support for the Coldfire QSPI controller in master |
| 352 |
mode. |
| 353 |
|
| 354 |
config SPI_CS42L43 |
| 355 |
tristate "Cirrus Logic CS42L43 SPI controller" |
| 356 |
depends on MFD_CS42L43 && PINCTRL_CS42L43 |
| 357 |
select GPIO_SWNODE_UNDEFINED |
| 358 |
help |
| 359 |
This enables support for the SPI controller inside the Cirrus Logic |
| 360 |
CS42L43 audio codec. |
| 361 |
|
| 362 |
config SPI_DAVINCI |
| 363 |
tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" |
| 364 |
depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST |
| 365 |
select SPI_BITBANG |
| 366 |
help |
| 367 |
SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. |
| 368 |
|
| 369 |
config SPI_DESIGNWARE |
| 370 |
tristate "DesignWare SPI controller core support" |
| 371 |
imply SPI_MEM |
| 372 |
help |
| 373 |
general driver for SPI controller core from DesignWare |
| 374 |
|
| 375 |
if SPI_DESIGNWARE |
| 376 |
|
| 377 |
config SPI_DW_DMA |
| 378 |
bool "DMA support for DW SPI controller" |
| 379 |
|
| 380 |
config SPI_DW_PCI |
| 381 |
tristate "PCI interface driver for DW SPI core" |
| 382 |
depends on PCI |
| 383 |
|
| 384 |
config SPI_DW_MMIO |
| 385 |
tristate "Memory-mapped io interface driver for DW SPI core" |
| 386 |
depends on HAS_IOMEM |
| 387 |
|
| 388 |
endif |
| 389 |
|
| 390 |
config SPI_DLN2 |
| 391 |
tristate "Diolan DLN-2 USB SPI adapter" |
| 392 |
depends on MFD_DLN2 |
| 393 |
help |
| 394 |
If you say yes to this option, support will be included for Diolan |
| 395 |
DLN2, a USB to SPI interface. |
| 396 |
|
| 397 |
This driver can also be built as a module. If so, the module |
| 398 |
will be called spi-dln2. |
| 399 |
|
| 400 |
config SPI_EP93XX |
| 401 |
tristate "Cirrus Logic EP93xx SPI controller" |
| 402 |
depends on ARCH_EP93XX || COMPILE_TEST |
| 403 |
help |
| 404 |
This enables using the Cirrus EP93xx SPI controller in master |
| 405 |
mode. |
| 406 |
|
| 407 |
config SPI_FALCON |
| 408 |
bool "Falcon SPI controller support" |
| 409 |
depends on SOC_FALCON |
| 410 |
help |
| 411 |
The external bus unit (EBU) found on the FALC-ON SoC has SPI |
| 412 |
emulation that is designed for serial flash access. This driver |
| 413 |
has only been tested with m25p80 type chips. The hardware has no |
| 414 |
support for other types of SPI peripherals. |
| 415 |
|
| 416 |
config SPI_FSI |
| 417 |
tristate "FSI SPI driver" |
| 418 |
depends on FSI |
| 419 |
help |
| 420 |
This enables support for the driver for FSI bus attached SPI |
| 421 |
controllers. |
| 422 |
|
| 423 |
config SPI_FSL_LPSPI |
| 424 |
tristate "Freescale i.MX LPSPI controller" |
| 425 |
depends on ARCH_MXC || COMPILE_TEST |
| 426 |
help |
| 427 |
This enables Freescale i.MX LPSPI controllers in master mode. |
| 428 |
|
| 429 |
config SPI_FSL_QUADSPI |
| 430 |
tristate "Freescale QSPI controller" |
| 431 |
depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || \ |
| 432 |
ARCH_SPACEMIT || COMPILE_TEST |
| 433 |
depends on HAS_IOMEM |
| 434 |
help |
| 435 |
This enables support for the Quad SPI controller in master mode. |
| 436 |
Up to four flash chips can be connected on two buses with two |
| 437 |
chipselects each. |
| 438 |
This controller does not support generic SPI messages. It only |
| 439 |
supports the high-level SPI memory interface. |
| 440 |
|
| 441 |
config SPI_GXP |
| 442 |
tristate "GXP SPI driver" |
| 443 |
depends on ARCH_HPE || COMPILE_TEST |
| 444 |
help |
| 445 |
This enables support for the driver for GXP bus attached SPI |
| 446 |
controllers. |
| 447 |
|
| 448 |
config SPI_HISI_KUNPENG |
| 449 |
tristate "HiSilicon SPI Controller for Kunpeng SoCs" |
| 450 |
depends on (ARM64 && ACPI) || COMPILE_TEST |
| 451 |
help |
| 452 |
This enables support for HiSilicon SPI controller found on |
| 453 |
Kunpeng SoCs. |
| 454 |
|
| 455 |
This driver can also be built as a module. If so, the module |
| 456 |
will be called hisi-kunpeng-spi. |
| 457 |
|
| 458 |
config SPI_HISI_SFC_V3XX |
| 459 |
tristate "HiSilicon SPI NOR Flash Controller for Hi16XX chipsets" |
| 460 |
depends on (ARM64 && ACPI) || COMPILE_TEST |
| 461 |
depends on HAS_IOMEM |
| 462 |
help |
| 463 |
This enables support for HiSilicon v3xx SPI NOR flash controller |
| 464 |
found in hi16xx chipsets. |
| 465 |
|
| 466 |
config SPI_NXP_FLEXSPI |
| 467 |
tristate "NXP Flex SPI controller" |
| 468 |
depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST |
| 469 |
depends on HAS_IOMEM |
| 470 |
help |
| 471 |
This enables support for the Flex SPI controller in master mode. |
| 472 |
Up to four slave devices can be connected on two buses with two |
| 473 |
chipselects each. |
| 474 |
This controller does not support generic SPI messages and only |
| 475 |
supports the high-level SPI memory interface. |
| 476 |
|
| 477 |
config SPI_NXP_XSPI |
| 478 |
tristate "NXP xSPI controller" |
| 479 |
depends on ARCH_MXC || COMPILE_TEST |
| 480 |
depends on HAS_IOMEM |
| 481 |
help |
| 482 |
This enables support for the xSPI controller. Up to two devices |
| 483 |
can be connected to one host. |
| 484 |
This controller does not support generic SPI messages and only |
| 485 |
supports the high-level SPI memory interface. |
| 486 |
|
| 487 |
config SPI_GPIO |
| 488 |
tristate "GPIO-based bitbanging SPI Master" |
| 489 |
depends on GPIOLIB || COMPILE_TEST |
| 490 |
select SPI_BITBANG |
| 491 |
help |
| 492 |
This simple GPIO bitbanging SPI master uses the arch-neutral GPIO |
| 493 |
interface to manage MOSI, MISO, SCK, and chipselect signals. SPI |
| 494 |
slaves connected to a bus using this driver are configured as usual, |
| 495 |
except that the spi_board_info.controller_data holds the GPIO number |
| 496 |
for the chipselect used by this controller driver. |
| 497 |
|
| 498 |
Note that this driver often won't achieve even 1 Mbit/sec speeds, |
| 499 |
making it unusually slow for SPI. If your platform can inline |
| 500 |
GPIO operations, you should be able to leverage that for better |
| 501 |
speed with a custom version of this driver; see the source code. |
| 502 |
|
| 503 |
config SPI_IMG_SPFI |
| 504 |
tristate "IMG SPFI controller" |
| 505 |
depends on MIPS || COMPILE_TEST |
| 506 |
help |
| 507 |
This enables support for the SPFI master controller found on |
| 508 |
IMG SoCs. |
| 509 |
|
| 510 |
config SPI_IMX |
| 511 |
tristate "Freescale i.MX SPI controllers" |
| 512 |
depends on ARCH_MXC || COMPILE_TEST |
| 513 |
help |
| 514 |
This enables support for the Freescale i.MX SPI controllers. |
| 515 |
|
| 516 |
config SPI_INGENIC |
| 517 |
tristate "Ingenic SoCs SPI controller" |
| 518 |
depends on MACH_INGENIC || COMPILE_TEST |
| 519 |
help |
| 520 |
This enables support for the Ingenic SoCs SPI controller. |
| 521 |
|
| 522 |
To compile this driver as a module, choose M here: the module |
| 523 |
will be called spi-ingenic. |
| 524 |
|
| 525 |
config SPI_INTEL |
| 526 |
tristate |
| 527 |
|
| 528 |
config SPI_INTEL_PCI |
| 529 |
tristate "Intel PCH/PCU SPI flash PCI driver" |
| 530 |
depends on PCI |
| 531 |
depends on X86 || COMPILE_TEST |
| 532 |
depends on SPI_MEM |
| 533 |
select SPI_INTEL |
| 534 |
help |
| 535 |
This enables PCI support for the Intel PCH/PCU SPI controller in |
| 536 |
master mode. This controller is used to hold BIOS and other |
| 537 |
persistent settings. Controllers present in modern Intel hardware |
| 538 |
only work in hardware sequencing mode, this means that the |
| 539 |
controller exposes a subset of operations that makes it safer to |
| 540 |
use. Using this driver it is possible to upgrade BIOS directly |
| 541 |
from Linux. |
| 542 |
|
| 543 |
To compile this driver as a module, choose M here: the module |
| 544 |
will be called spi-intel-pci. |
| 545 |
|
| 546 |
config SPI_INTEL_PLATFORM |
| 547 |
tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)" |
| 548 |
depends on X86 || COMPILE_TEST |
| 549 |
depends on SPI_MEM |
| 550 |
select SPI_INTEL |
| 551 |
help |
| 552 |
This enables platform support for the Intel PCH/PCU SPI |
| 553 |
controller in master mode that is used to hold BIOS and other |
| 554 |
persistent settings. Most of these controllers work in |
| 555 |
software sequencing mode, which means that the controller |
| 556 |
exposes the low level SPI-NOR opcodes to the software. Using |
| 557 |
this driver it is possible to upgrade BIOS directly from Linux. |
| 558 |
|
| 559 |
Say N here unless you know what you are doing. Overwriting the |
| 560 |
SPI flash may render the system unbootable. |
| 561 |
|
| 562 |
To compile this driver as a module, choose M here: the module |
| 563 |
will be called spi-intel-platform. |
| 564 |
|
| 565 |
config SPI_JCORE |
| 566 |
tristate "J-Core SPI Master" |
| 567 |
depends on OF && (SUPERH || COMPILE_TEST) |
| 568 |
help |
| 569 |
This enables support for the SPI master controller in the J-Core |
| 570 |
synthesizable, open source SoC. |
| 571 |
|
| 572 |
config SPI_KSPI2 |
| 573 |
tristate "Support for KEBA SPI master type 2 hardware" |
| 574 |
depends on HAS_IOMEM |
| 575 |
depends on KEBA_CP500 || COMPILE_TEST |
| 576 |
select AUXILIARY_BUS |
| 577 |
help |
| 578 |
This driver supports KEBA SPI master type 2 FPGA implementation, |
| 579 |
as found on CP500 devices for example. |
| 580 |
|
| 581 |
This driver can also be built as a module. If so, the module |
| 582 |
will be called spi-kspi2. |
| 583 |
|
| 584 |
config SPI_LM70_LLP |
| 585 |
tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)" |
| 586 |
depends on PARPORT |
| 587 |
select SPI_BITBANG |
| 588 |
help |
| 589 |
This driver supports the NS LM70 LLP Evaluation Board, |
| 590 |
which interfaces to an LM70 temperature sensor using |
| 591 |
a parallel port. |
| 592 |
|
| 593 |
config SPI_LOONGSON_CORE |
| 594 |
tristate |
| 595 |
depends on LOONGARCH || COMPILE_TEST |
| 596 |
|
| 597 |
config SPI_LOONGSON_PCI |
| 598 |
tristate "Loongson SPI Controller PCI Driver Support" |
| 599 |
select SPI_LOONGSON_CORE |
| 600 |
depends on PCI && (LOONGARCH || COMPILE_TEST) |
| 601 |
help |
| 602 |
This bus driver supports the Loongson SPI hardware controller in |
| 603 |
the Loongson platforms and supports to use PCI framework to |
| 604 |
register SPI device resources. |
| 605 |
Say Y or M here if you want to use the SPI controller on |
| 606 |
Loongson platform. |
| 607 |
|
| 608 |
config SPI_LOONGSON_PLATFORM |
| 609 |
tristate "Loongson SPI Controller Platform Driver Support" |
| 610 |
select SPI_LOONGSON_CORE |
| 611 |
depends on OF && (LOONGARCH || COMPILE_TEST) |
| 612 |
help |
| 613 |
This bus driver supports the Loongson SPI hardware controller in |
| 614 |
the Loongson platforms and supports to use DTS framework to |
| 615 |
register SPI device resources. |
| 616 |
Say Y or M here if you want to use the SPI controller on |
| 617 |
Loongson platform. |
| 618 |
|
| 619 |
config SPI_LP8841_RTC |
| 620 |
tristate "ICP DAS LP-8841 SPI Controller for RTC" |
| 621 |
depends on MACH_PXA27X_DT || COMPILE_TEST |
| 622 |
help |
| 623 |
This driver provides an SPI master device to drive Maxim |
| 624 |
DS-1302 real time clock. |
| 625 |
|
| 626 |
Say N here unless you plan to run the kernel on an ICP DAS |
| 627 |
LP-8x4x industrial computer. |
| 628 |
|
| 629 |
config SPI_MPC52xx |
| 630 |
tristate "Freescale MPC52xx SPI (non-PSC) controller support" |
| 631 |
depends on PPC_MPC52xx |
| 632 |
help |
| 633 |
This drivers supports the MPC52xx SPI controller in master SPI |
| 634 |
mode. |
| 635 |
|
| 636 |
config SPI_MPC52xx_PSC |
| 637 |
tristate "Freescale MPC52xx PSC SPI controller" |
| 638 |
depends on PPC_MPC52xx |
| 639 |
help |
| 640 |
This enables using the Freescale MPC52xx Programmable Serial |
| 641 |
Controller in master SPI mode. |
| 642 |
|
| 643 |
config SPI_MPC512x_PSC |
| 644 |
tristate "Freescale MPC512x PSC SPI controller" |
| 645 |
depends on PPC_MPC512x |
| 646 |
help |
| 647 |
This enables using the Freescale MPC5121 Programmable Serial |
| 648 |
Controller in SPI master mode. |
| 649 |
|
| 650 |
config SPI_FSL_LIB |
| 651 |
tristate |
| 652 |
depends on OF |
| 653 |
|
| 654 |
config SPI_FSL_CPM |
| 655 |
tristate |
| 656 |
depends on FSL_SOC |
| 657 |
|
| 658 |
config SPI_FSL_SPI |
| 659 |
tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller" |
| 660 |
depends on OF |
| 661 |
select SPI_FSL_LIB |
| 662 |
select SPI_FSL_CPM if FSL_SOC |
| 663 |
help |
| 664 |
This enables using the Freescale SPI controllers in master mode. |
| 665 |
MPC83xx platform uses the controller in cpu mode or CPM/QE mode. |
| 666 |
MPC8569 uses the controller in QE mode, MPC8610 in cpu mode. |
| 667 |
This also enables using the Aeroflex Gaisler GRLIB SPI controller in |
| 668 |
master mode. |
| 669 |
|
| 670 |
config SPI_FSL_DSPI |
| 671 |
tristate "Freescale DSPI controller" |
| 672 |
select REGMAP_MMIO |
| 673 |
depends on ARCH_MXC || ARCH_NXP || M5441x || COMPILE_TEST |
| 674 |
help |
| 675 |
This enables support for the Freescale DSPI controller in master |
| 676 |
mode. S32, VF610, LS1021A and ColdFire platforms uses the controller. |
| 677 |
|
| 678 |
config SPI_FSL_ESPI |
| 679 |
tristate "Freescale eSPI controller" |
| 680 |
depends on FSL_SOC |
| 681 |
help |
| 682 |
This enables using the Freescale eSPI controllers in master mode. |
| 683 |
From MPC8536, 85xx platform uses the controller, and all P10xx, |
| 684 |
P20xx, P30xx,P40xx, P50xx uses this controller. |
| 685 |
|
| 686 |
config SPI_LJCA |
| 687 |
tristate "Intel La Jolla Cove Adapter SPI support" |
| 688 |
depends on USB_LJCA |
| 689 |
default USB_LJCA |
| 690 |
help |
| 691 |
Select this option to enable SPI driver for the Intel |
| 692 |
La Jolla Cove Adapter (LJCA) board. |
| 693 |
|
| 694 |
This driver can also be built as a module. If so, the module |
| 695 |
will be called spi-ljca. |
| 696 |
|
| 697 |
config SPI_MESON_SPICC |
| 698 |
tristate "Amlogic Meson SPICC controller" |
| 699 |
depends on COMMON_CLK |
| 700 |
depends on ARCH_MESON || COMPILE_TEST |
| 701 |
help |
| 702 |
This enables master mode support for the SPICC (SPI communication |
| 703 |
controller) available in Amlogic Meson SoCs. |
| 704 |
|
| 705 |
config SPI_MESON_SPIFC |
| 706 |
tristate "Amlogic Meson SPIFC controller" |
| 707 |
depends on ARCH_MESON || COMPILE_TEST |
| 708 |
select REGMAP_MMIO |
| 709 |
help |
| 710 |
This enables master mode support for the SPIFC (SPI flash |
| 711 |
controller) available in Amlogic Meson SoCs. |
| 712 |
|
| 713 |
config SPI_MICROCHIP_CORE_QSPI |
| 714 |
tristate "Microchip FPGA QSPI controllers" |
| 715 |
depends on SPI_MASTER |
| 716 |
help |
| 717 |
This enables the QSPI driver for Microchip FPGA QSPI controllers. |
| 718 |
Say Y or M here if you want to use the QSPI controllers on |
| 719 |
PolarFire SoC. |
| 720 |
If built as a module, it will be called spi-microchip-core-qspi. |
| 721 |
|
| 722 |
config SPI_MICROCHIP_CORE_SPI |
| 723 |
tristate "Microchip FPGA CoreSPI controller" |
| 724 |
depends on SPI_MASTER |
| 725 |
help |
| 726 |
This enables the SPI driver for Microchip FPGA CoreSPI controller. |
| 727 |
Say Y or M here if you want to use the "soft" controllers on |
| 728 |
PolarFire SoC. |
| 729 |
If built as a module, it will be called spi-microchip-core-spi. |
| 730 |
|
| 731 |
config SPI_MT65XX |
| 732 |
tristate "MediaTek SPI controller" |
| 733 |
depends on ARCH_MEDIATEK || COMPILE_TEST |
| 734 |
help |
| 735 |
This selects the MediaTek(R) SPI bus driver. |
| 736 |
If you want to use MediaTek(R) SPI interface, |
| 737 |
say Y or M here.If you are not sure, say N. |
| 738 |
SPI drivers for Mediatek MT65XX and MT81XX series ARM SoCs. |
| 739 |
|
| 740 |
config SPI_MT7621 |
| 741 |
tristate "MediaTek MT7621 SPI Controller" |
| 742 |
depends on RALINK || COMPILE_TEST |
| 743 |
help |
| 744 |
This selects a driver for the MediaTek MT7621 SPI Controller. |
| 745 |
|
| 746 |
config SPI_MTK_NOR |
| 747 |
tristate "MediaTek SPI NOR controller" |
| 748 |
depends on ARCH_MEDIATEK || COMPILE_TEST |
| 749 |
help |
| 750 |
This enables support for SPI NOR controller found on MediaTek |
| 751 |
ARM SoCs. This is a controller specifically for SPI NOR flash. |
| 752 |
It can perform generic SPI transfers up to 6 bytes via generic |
| 753 |
SPI interface as well as several SPI NOR specific instructions |
| 754 |
via SPI MEM interface. |
| 755 |
|
| 756 |
config SPI_MTK_SNFI |
| 757 |
tristate "MediaTek SPI NAND Flash Interface" |
| 758 |
depends on ARCH_MEDIATEK || COMPILE_TEST |
| 759 |
depends on MTD_NAND_ECC_MEDIATEK |
| 760 |
help |
| 761 |
This enables support for SPI-NAND mode on the MediaTek NAND |
| 762 |
Flash Interface found on MediaTek ARM SoCs. This controller |
| 763 |
is implemented as a SPI-MEM controller with pipelined ECC |
| 764 |
capability. |
| 765 |
|
| 766 |
config SPI_WPCM_FIU |
| 767 |
tristate "Nuvoton WPCM450 Flash Interface Unit" |
| 768 |
depends on ARCH_NPCM || COMPILE_TEST |
| 769 |
select REGMAP |
| 770 |
help |
| 771 |
This enables support got the Flash Interface Unit SPI controller |
| 772 |
present in the Nuvoton WPCM450 SoC. |
| 773 |
|
| 774 |
This driver does not support generic SPI. The implementation only |
| 775 |
supports the spi-mem interface. |
| 776 |
|
| 777 |
config SPI_NPCM_FIU |
| 778 |
tristate "Nuvoton NPCM FLASH Interface Unit" |
| 779 |
depends on ARCH_NPCM || COMPILE_TEST |
| 780 |
depends on OF && HAS_IOMEM |
| 781 |
help |
| 782 |
This enables support for the Flash Interface Unit SPI controller |
| 783 |
in master mode. |
| 784 |
This driver does not support generic SPI. The implementation only |
| 785 |
supports spi-mem interface. |
| 786 |
|
| 787 |
config SPI_NPCM_PSPI |
| 788 |
tristate "Nuvoton NPCM PSPI Controller" |
| 789 |
depends on ARCH_NPCM || COMPILE_TEST |
| 790 |
help |
| 791 |
This driver provides support for Nuvoton NPCM BMC |
| 792 |
Peripheral SPI controller in master mode. |
| 793 |
|
| 794 |
config SPI_LANTIQ_SSC |
| 795 |
tristate "Lantiq SSC SPI controller" |
| 796 |
depends on LANTIQ || X86 || COMPILE_TEST |
| 797 |
help |
| 798 |
This driver supports the Lantiq SSC SPI controller in master |
| 799 |
mode. This controller is found on Intel (former Lantiq) SoCs like |
| 800 |
the Danube, Falcon, xRX200, xRX300, Lightning Mountain. |
| 801 |
|
| 802 |
config SPI_OC_TINY |
| 803 |
tristate "OpenCores tiny SPI" |
| 804 |
depends on GPIOLIB || COMPILE_TEST |
| 805 |
select SPI_BITBANG |
| 806 |
help |
| 807 |
This is the driver for OpenCores tiny SPI master controller. |
| 808 |
|
| 809 |
config SPI_OCTEON |
| 810 |
tristate "Cavium OCTEON SPI controller" |
| 811 |
depends on CAVIUM_OCTEON_SOC |
| 812 |
help |
| 813 |
SPI host driver for the hardware found on some Cavium OCTEON |
| 814 |
SOCs. |
| 815 |
|
| 816 |
config SPI_OMAP_UWIRE |
| 817 |
tristate "OMAP1 MicroWire" |
| 818 |
depends on ARCH_OMAP1 || (ARM && COMPILE_TEST) |
| 819 |
select SPI_BITBANG |
| 820 |
help |
| 821 |
This hooks up to the MicroWire controller on OMAP1 chips. |
| 822 |
|
| 823 |
config SPI_OMAP24XX |
| 824 |
tristate "McSPI driver for OMAP" |
| 825 |
depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST |
| 826 |
select SG_SPLIT |
| 827 |
help |
| 828 |
SPI master controller for OMAP24XX and later Multichannel SPI |
| 829 |
(McSPI) modules. |
| 830 |
|
| 831 |
config SPI_TI_QSPI |
| 832 |
tristate "DRA7xxx QSPI controller support" |
| 833 |
depends on ARCH_OMAP2PLUS || COMPILE_TEST |
| 834 |
help |
| 835 |
QSPI master controller for DRA7xxx used for flash devices. |
| 836 |
This device supports single, dual and quad read support, while |
| 837 |
it only supports single write mode. |
| 838 |
|
| 839 |
config SPI_ORION |
| 840 |
tristate "Orion SPI master" |
| 841 |
depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST |
| 842 |
help |
| 843 |
This enables using the SPI master controller on the Orion |
| 844 |
and MVEBU chips. |
| 845 |
|
| 846 |
config SPI_PCI1XXXX |
| 847 |
tristate "PCI1XXXX SPI Bus support" |
| 848 |
depends on PCI |
| 849 |
help |
| 850 |
Say "yes" to Enable the SPI Bus support for the PCI1xxxx card |
| 851 |
This is a PCI to SPI Bus driver |
| 852 |
This driver can be built as module. If so, the module will be |
| 853 |
called as spi-pci1xxxx. |
| 854 |
|
| 855 |
config SPI_PIC32 |
| 856 |
tristate "Microchip PIC32 series SPI" |
| 857 |
depends on MACH_PIC32 || COMPILE_TEST |
| 858 |
help |
| 859 |
SPI driver for Microchip PIC32 SPI master controller. |
| 860 |
|
| 861 |
config SPI_PIC32_SQI |
| 862 |
tristate "Microchip PIC32 Quad SPI driver" |
| 863 |
depends on MACH_PIC32 || COMPILE_TEST |
| 864 |
help |
| 865 |
SPI driver for PIC32 Quad SPI controller. |
| 866 |
|
| 867 |
config SPI_PL022 |
| 868 |
tristate "ARM AMBA PL022 SSP controller" |
| 869 |
depends on ARM_AMBA |
| 870 |
default y if ARCH_REALVIEW |
| 871 |
default y if INTEGRATOR_IMPD1 |
| 872 |
default y if ARCH_VERSATILE |
| 873 |
help |
| 874 |
This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP |
| 875 |
controller. If you have an embedded system with an AMBA(R) |
| 876 |
bus and a PL022 controller, say Y or M here. |
| 877 |
|
| 878 |
config SPI_POLARFIRE_SOC |
| 879 |
tristate "Microchip FPGA SPI controllers" |
| 880 |
depends on SPI_MASTER |
| 881 |
depends on ARCH_MICROCHIP || COMPILE_TEST |
| 882 |
help |
| 883 |
This enables the SPI driver for Microchip FPGA SPI controllers. |
| 884 |
Say Y or M here if you want to use the "hard" controllers on |
| 885 |
PolarFire SoC. |
| 886 |
If built as a module, it will be called spi-mpfs. |
| 887 |
|
| 888 |
config SPI_PPC4xx |
| 889 |
tristate "PPC4xx SPI Controller" |
| 890 |
depends on PPC32 && 4xx |
| 891 |
select SPI_BITBANG |
| 892 |
help |
| 893 |
This selects a driver for the PPC4xx SPI Controller. |
| 894 |
|
| 895 |
config SPI_PXA2XX |
| 896 |
tristate "PXA2xx SSP SPI master" |
| 897 |
depends on ARCH_PXA || ARCH_MMP || (X86 && (PCI || ACPI)) || COMPILE_TEST |
| 898 |
select PXA_SSP if ARCH_PXA || ARCH_MMP |
| 899 |
help |
| 900 |
This enables using a PXA2xx or Sodaville SSP port as a SPI master |
| 901 |
controller. The driver can be configured to use any SSP port. |
| 902 |
|
| 903 |
config SPI_PXA2XX_PCI |
| 904 |
def_tristate SPI_PXA2XX && PCI && COMMON_CLK |
| 905 |
|
| 906 |
config SPI_REALTEK_SNAND |
| 907 |
tristate "Realtek SPI-NAND Flash Controller" |
| 908 |
depends on MACH_REALTEK_RTL || COMPILE_TEST |
| 909 |
select REGMAP |
| 910 |
help |
| 911 |
This enables support for the SPI-NAND Flash controller on |
| 912 |
Realtek SoCs. |
| 913 |
|
| 914 |
This driver does not support generic SPI. The implementation |
| 915 |
only supports the spi-mem interface. |
| 916 |
|
| 917 |
config SPI_ROCKCHIP |
| 918 |
tristate "Rockchip SPI controller driver" |
| 919 |
depends on ARCH_ROCKCHIP || COMPILE_TEST |
| 920 |
help |
| 921 |
This selects a driver for Rockchip SPI controller. |
| 922 |
|
| 923 |
If you say yes to this option, support will be included for |
| 924 |
RK3066, RK3188 and RK3288 families of SPI controller. |
| 925 |
Rockchip SPI controller support DMA transport and PIO mode. |
| 926 |
The main usecase of this controller is to use spi flash as boot |
| 927 |
device. |
| 928 |
|
| 929 |
config SPI_ROCKCHIP_SFC |
| 930 |
tristate "Rockchip Serial Flash Controller (SFC)" |
| 931 |
depends on ARCH_ROCKCHIP || COMPILE_TEST |
| 932 |
depends on HAS_IOMEM && HAS_DMA |
| 933 |
help |
| 934 |
This enables support for Rockchip serial flash controller. This |
| 935 |
is a specialized controller used to access SPI flash on some |
| 936 |
Rockchip SOCs. |
| 937 |
|
| 938 |
ROCKCHIP SFC supports DMA and PIO modes. When DMA is not available, |
| 939 |
the driver automatically falls back to PIO mode. |
| 940 |
|
| 941 |
config SPI_RB4XX |
| 942 |
tristate "Mikrotik RB4XX SPI master" |
| 943 |
depends on SPI_MASTER && (ATH79 || COMPILE_TEST) |
| 944 |
depends on OF |
| 945 |
help |
| 946 |
SPI controller driver for the Mikrotik RB4xx series boards. |
| 947 |
|
| 948 |
config SPI_RPCIF |
| 949 |
tristate "Renesas RPC-IF SPI driver" |
| 950 |
depends on RENESAS_RPCIF |
| 951 |
help |
| 952 |
SPI driver for Renesas R-Car Gen3 or RZ/G2 RPC-IF. |
| 953 |
|
| 954 |
config SPI_RSPI |
| 955 |
tristate "Renesas RSPI/QSPI controller" |
| 956 |
depends on SUPERH || ARCH_RENESAS || COMPILE_TEST |
| 957 |
help |
| 958 |
SPI driver for Renesas RSPI and QSPI blocks. |
| 959 |
|
| 960 |
config SPI_RZV2H_RSPI |
| 961 |
tristate "Renesas RZ/V2H RSPI controller" |
| 962 |
depends on ARCH_RENESAS || COMPILE_TEST |
| 963 |
help |
| 964 |
RSPI driver for the Renesas RZ/V2H Serial Peripheral Interface (RSPI). |
| 965 |
RSPI supports both SPI host and SPI target roles. This option only |
| 966 |
enables the SPI host role. |
| 967 |
|
| 968 |
config SPI_RZV2M_CSI |
| 969 |
tristate "Renesas RZ/V2M CSI controller" |
| 970 |
depends on ARCH_RENESAS || COMPILE_TEST |
| 971 |
help |
| 972 |
SPI driver for Renesas RZ/V2M Clocked Serial Interface (CSI). |
| 973 |
CSI supports both SPI host and SPI target roles. |
| 974 |
|
| 975 |
config SPI_QCOM_QSPI |
| 976 |
tristate "QTI QSPI controller" |
| 977 |
depends on ARCH_QCOM || COMPILE_TEST |
| 978 |
help |
| 979 |
QSPI(Quad SPI) driver for Qualcomm QSPI controller. |
| 980 |
|
| 981 |
config SPI_QPIC_SNAND |
| 982 |
tristate "QPIC SNAND controller" |
| 983 |
depends on ARCH_QCOM || COMPILE_TEST |
| 984 |
depends on MTD |
| 985 |
help |
| 986 |
QPIC_SNAND (QPIC SPI NAND) driver for Qualcomm QPIC controller. |
| 987 |
QPIC controller supports both parallel nand and serial nand. |
| 988 |
This config will enable serial nand driver for QPIC controller. |
| 989 |
|
| 990 |
config SPI_QUP |
| 991 |
tristate "Qualcomm SPI controller with QUP interface" |
| 992 |
depends on ARCH_QCOM || COMPILE_TEST |
| 993 |
help |
| 994 |
Qualcomm Universal Peripheral (QUP) core is an AHB slave that |
| 995 |
provides a common data path (an output FIFO and an input FIFO) |
| 996 |
for serial peripheral interface (SPI) mini-core. SPI in master |
| 997 |
mode supports up to 50MHz, up to four chip selects, programmable |
| 998 |
data path from 4 bits to 32 bits and numerous protocol variants. |
| 999 |
|
| 1000 |
This driver can also be built as a module. If so, the module |
| 1001 |
will be called spi_qup. |
| 1002 |
|
| 1003 |
config SPI_QCOM_GENI |
| 1004 |
tristate "Qualcomm GENI based SPI controller" |
| 1005 |
depends on QCOM_GENI_SE |
| 1006 |
help |
| 1007 |
This driver supports GENI serial engine based SPI controller in |
| 1008 |
master mode on the Qualcomm Technologies Inc.'s SoCs. If you say |
| 1009 |
yes to this option, support will be included for the built-in SPI |
| 1010 |
interface on the Qualcomm Technologies Inc.'s SoCs. |
| 1011 |
|
| 1012 |
This driver can also be built as a module. If so, the module |
| 1013 |
will be called spi-geni-qcom. |
| 1014 |
|
| 1015 |
config SPI_S3C64XX |
| 1016 |
tristate "Samsung S3C64XX/Exynos SoC series type SPI" |
| 1017 |
depends on (PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST) |
| 1018 |
help |
| 1019 |
SPI driver for Samsung S3C64XX, S5Pv210 and Exynos SoCs. |
| 1020 |
Choose Y/M here only if you build for such Samsung SoC. |
| 1021 |
|
| 1022 |
config SPI_SC18IS602 |
| 1023 |
tristate "NXP SC18IS602/602B/603 I2C to SPI bridge" |
| 1024 |
depends on I2C |
| 1025 |
help |
| 1026 |
SPI driver for NXP SC18IS602/602B/603 I2C to SPI bridge. |
| 1027 |
|
| 1028 |
config SPI_SH_MSIOF |
| 1029 |
tristate "SuperH MSIOF SPI controller" |
| 1030 |
depends on HAVE_CLK |
| 1031 |
depends on ARCH_SHMOBILE || ARCH_RENESAS || COMPILE_TEST |
| 1032 |
help |
| 1033 |
SPI driver for SuperH and SH Mobile MSIOF blocks. |
| 1034 |
|
| 1035 |
config SPI_SH |
| 1036 |
tristate "SuperH SPI controller" |
| 1037 |
depends on SUPERH || COMPILE_TEST |
| 1038 |
help |
| 1039 |
SPI driver for SuperH SPI blocks. |
| 1040 |
|
| 1041 |
config SPI_SH_SCI |
| 1042 |
tristate "SuperH SCI SPI controller" |
| 1043 |
depends on SUPERH |
| 1044 |
select SPI_BITBANG |
| 1045 |
help |
| 1046 |
SPI driver for SuperH SCI blocks. |
| 1047 |
|
| 1048 |
config SPI_SH_HSPI |
| 1049 |
tristate "SuperH HSPI controller" |
| 1050 |
depends on ARCH_RENESAS || COMPILE_TEST |
| 1051 |
help |
| 1052 |
SPI driver for SuperH HSPI blocks. |
| 1053 |
|
| 1054 |
config SPI_SIFIVE |
| 1055 |
tristate "SiFive SPI controller" |
| 1056 |
depends on HAS_IOMEM |
| 1057 |
help |
| 1058 |
This exposes the SPI controller IP from SiFive. |
| 1059 |
|
| 1060 |
config SPI_SLAVE_MT27XX |
| 1061 |
tristate "MediaTek SPI slave device" |
| 1062 |
depends on ARCH_MEDIATEK || COMPILE_TEST |
| 1063 |
depends on SPI_SLAVE |
| 1064 |
help |
| 1065 |
This selects the MediaTek(R) SPI slave device driver. |
| 1066 |
If you want to use MediaTek(R) SPI slave interface, |
| 1067 |
say Y or M here.If you are not sure, say N. |
| 1068 |
SPI slave drivers for Mediatek MT27XX series ARM SoCs. |
| 1069 |
|
| 1070 |
config SPI_SN_F_OSPI |
| 1071 |
tristate "Socionext F_OSPI SPI flash controller" |
| 1072 |
depends on OF && HAS_IOMEM |
| 1073 |
depends on SPI_MEM |
| 1074 |
help |
| 1075 |
This enables support for the Socionext F_OSPI controller |
| 1076 |
for connecting an SPI Flash memory over up to 8-bit wide bus. |
| 1077 |
It supports indirect access mode only. |
| 1078 |
|
| 1079 |
config SPI_SG2044_NOR |
| 1080 |
tristate "SG2044 SPI NOR Controller" |
| 1081 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 1082 |
help |
| 1083 |
This enables support for the SG2044 SPI NOR controller, |
| 1084 |
which supports Dual/Quad read and write operations while |
| 1085 |
also supporting 3Byte address devices and 4Byte address |
| 1086 |
devices. |
| 1087 |
|
| 1088 |
config SPI_SPRD |
| 1089 |
tristate "Spreadtrum SPI controller" |
| 1090 |
depends on ARCH_SPRD || COMPILE_TEST |
| 1091 |
help |
| 1092 |
SPI driver for Spreadtrum SoCs. |
| 1093 |
|
| 1094 |
config SPI_SPRD_ADI |
| 1095 |
tristate "Spreadtrum ADI controller" |
| 1096 |
depends on ARCH_SPRD || COMPILE_TEST |
| 1097 |
depends on HWSPINLOCK || (COMPILE_TEST && !HWSPINLOCK) |
| 1098 |
help |
| 1099 |
ADI driver based on SPI for Spreadtrum SoCs. |
| 1100 |
|
| 1101 |
config SPI_STM32 |
| 1102 |
tristate "STMicroelectronics STM32 SPI controller" |
| 1103 |
depends on ARCH_STM32 || COMPILE_TEST |
| 1104 |
select SPI_SLAVE |
| 1105 |
help |
| 1106 |
SPI driver for STMicroelectronics STM32 SoCs. |
| 1107 |
|
| 1108 |
STM32 SPI controller supports DMA and PIO modes. When DMA |
| 1109 |
is not available, the driver automatically falls back to |
| 1110 |
PIO mode. |
| 1111 |
|
| 1112 |
config SPI_STM32_OSPI |
| 1113 |
tristate "STMicroelectronics STM32 OCTO SPI controller" |
| 1114 |
depends on ARCH_STM32 || COMPILE_TEST |
| 1115 |
depends on OF |
| 1116 |
depends on SPI_MEM |
| 1117 |
help |
| 1118 |
This enables support for the Octo SPI controller in master mode. |
| 1119 |
This driver does not support generic SPI. The implementation only |
| 1120 |
supports spi-mem interface. |
| 1121 |
|
| 1122 |
config SPI_STM32_QSPI |
| 1123 |
tristate "STMicroelectronics STM32 QUAD SPI controller" |
| 1124 |
depends on ARCH_STM32 || COMPILE_TEST |
| 1125 |
depends on OF |
| 1126 |
depends on SPI_MEM |
| 1127 |
help |
| 1128 |
This enables support for the Quad SPI controller in master mode. |
| 1129 |
This driver does not support generic SPI. The implementation only |
| 1130 |
supports spi-mem interface. |
| 1131 |
|
| 1132 |
config SPI_ST_SSC4 |
| 1133 |
tristate "STMicroelectronics SPI SSC-based driver" |
| 1134 |
depends on ARCH_STI || COMPILE_TEST |
| 1135 |
help |
| 1136 |
STMicroelectronics SoCs support for SPI. If you say yes to |
| 1137 |
this option, support will be included for the SSC driven SPI. |
| 1138 |
|
| 1139 |
config SPI_SUN4I |
| 1140 |
tristate "Allwinner A10 SoCs SPI controller" |
| 1141 |
depends on ARCH_SUNXI || COMPILE_TEST |
| 1142 |
help |
| 1143 |
SPI driver for Allwinner sun4i, sun5i and sun7i SoCs |
| 1144 |
|
| 1145 |
config SPI_SUN6I |
| 1146 |
tristate "Allwinner A31 SPI controller" |
| 1147 |
depends on ARCH_SUNXI || COMPILE_TEST |
| 1148 |
depends on RESET_CONTROLLER |
| 1149 |
help |
| 1150 |
This enables using the SPI controller on the Allwinner A31 SoCs. |
| 1151 |
|
| 1152 |
config SPI_SUNPLUS_SP7021 |
| 1153 |
tristate "Sunplus SP7021 SPI controller" |
| 1154 |
depends on SOC_SP7021 || COMPILE_TEST |
| 1155 |
help |
| 1156 |
This enables Sunplus SP7021 SPI controller driver on the SP7021 SoCs. |
| 1157 |
This driver can also be built as a module. If so, the module will be |
| 1158 |
called as spi-sunplus-sp7021. |
| 1159 |
|
| 1160 |
If you have a Sunplus SP7021 platform say Y here. |
| 1161 |
If unsure, say N. |
| 1162 |
|
| 1163 |
config SPI_SYNQUACER |
| 1164 |
tristate "Socionext's SynQuacer HighSpeed SPI controller" |
| 1165 |
depends on ARCH_SYNQUACER || COMPILE_TEST |
| 1166 |
help |
| 1167 |
SPI driver for Socionext's High speed SPI controller which provides |
| 1168 |
various operating modes for interfacing to serial peripheral devices |
| 1169 |
that use the de-facto standard SPI protocol. |
| 1170 |
|
| 1171 |
It also supports the new dual-bit and quad-bit SPI protocol. |
| 1172 |
|
| 1173 |
config SPI_MXIC |
| 1174 |
tristate "Macronix MX25F0A SPI controller" |
| 1175 |
depends on SPI_MASTER |
| 1176 |
imply MTD_NAND_ECC_MXIC |
| 1177 |
help |
| 1178 |
This selects the Macronix MX25F0A SPI controller driver. |
| 1179 |
|
| 1180 |
config SPI_MXS |
| 1181 |
tristate "Freescale MXS SPI controller" |
| 1182 |
depends on ARCH_MXS |
| 1183 |
select STMP_DEVICE |
| 1184 |
help |
| 1185 |
SPI driver for Freescale MXS devices. |
| 1186 |
|
| 1187 |
config SPI_TEGRA210_QUAD |
| 1188 |
tristate "NVIDIA Tegra QSPI Controller" |
| 1189 |
depends on ARCH_TEGRA || COMPILE_TEST |
| 1190 |
depends on RESET_CONTROLLER |
| 1191 |
help |
| 1192 |
QSPI driver for NVIDIA Tegra QSPI Controller interface. This |
| 1193 |
controller is different from the SPI controller and is available |
| 1194 |
on Tegra SoCs starting from Tegra210. |
| 1195 |
|
| 1196 |
config SPI_TEGRA114 |
| 1197 |
tristate "NVIDIA Tegra114 SPI Controller" |
| 1198 |
depends on ARCH_TEGRA || COMPILE_TEST |
| 1199 |
depends on RESET_CONTROLLER |
| 1200 |
help |
| 1201 |
SPI controller driver for NVIDIA Tegra114 and later SoCs. This controller |
| 1202 |
is different than the older SoCs SPI controller and also register interface |
| 1203 |
get changed with this controller. |
| 1204 |
|
| 1205 |
config SPI_TEGRA20_SFLASH |
| 1206 |
tristate "Nvidia Tegra20 Serial flash Controller" |
| 1207 |
depends on ARCH_TEGRA || COMPILE_TEST |
| 1208 |
depends on RESET_CONTROLLER |
| 1209 |
help |
| 1210 |
SPI driver for Nvidia Tegra20 Serial flash Controller interface. |
| 1211 |
The main usecase of this controller is to use spi flash as boot |
| 1212 |
device. |
| 1213 |
|
| 1214 |
config SPI_TEGRA20_SLINK |
| 1215 |
tristate "Nvidia Tegra20/Tegra30 SLINK Controller" |
| 1216 |
depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST |
| 1217 |
depends on RESET_CONTROLLER |
| 1218 |
help |
| 1219 |
SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface. |
| 1220 |
|
| 1221 |
config SPI_THUNDERX |
| 1222 |
tristate "Cavium ThunderX SPI controller" |
| 1223 |
depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) |
| 1224 |
help |
| 1225 |
SPI host driver for the hardware found on Cavium ThunderX |
| 1226 |
SOCs. |
| 1227 |
|
| 1228 |
config SPI_TOPCLIFF_PCH |
| 1229 |
tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI" |
| 1230 |
depends on PCI && (X86_32 || MIPS || COMPILE_TEST) |
| 1231 |
help |
| 1232 |
SPI driver for the Topcliff PCH (Platform Controller Hub) SPI bus |
| 1233 |
used in some x86 embedded processors. |
| 1234 |
|
| 1235 |
This driver also supports the ML7213/ML7223/ML7831, a companion chip |
| 1236 |
for the Atom E6xx series and compatible with the Intel EG20T PCH. |
| 1237 |
|
| 1238 |
config SPI_UNIPHIER |
| 1239 |
tristate "Socionext UniPhier SPI Controller" |
| 1240 |
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF |
| 1241 |
depends on HAS_IOMEM |
| 1242 |
help |
| 1243 |
This enables a driver for the Socionext UniPhier SoC SCSSI SPI controller. |
| 1244 |
|
| 1245 |
UniPhier SoCs have SCSSI and MCSSI SPI controllers. |
| 1246 |
Every UniPhier SoC has SCSSI which supports single channel. |
| 1247 |
Older UniPhier Pro4/Pro5 also has MCSSI which support multiple channels. |
| 1248 |
This driver supports SCSSI only. |
| 1249 |
|
| 1250 |
If your SoC supports SCSSI, say Y here. |
| 1251 |
|
| 1252 |
config SPI_VIRTIO |
| 1253 |
tristate "Virtio SPI Controller" |
| 1254 |
depends on SPI_MASTER && VIRTIO |
| 1255 |
help |
| 1256 |
If you say yes to this option, support will be included for the virtio |
| 1257 |
SPI controller driver. The hardware can be emulated by any device model |
| 1258 |
software according to the virtio protocol. |
| 1259 |
|
| 1260 |
This driver can also be built as a module. If so, the module |
| 1261 |
will be called spi-virtio. |
| 1262 |
|
| 1263 |
config SPI_XCOMM |
| 1264 |
tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver" |
| 1265 |
depends on I2C |
| 1266 |
help |
| 1267 |
Support for the SPI-I2C bridge found on the Analog Devices |
| 1268 |
AD-FMCOMMS1-EBZ board. |
| 1269 |
|
| 1270 |
config SPI_XILINX |
| 1271 |
tristate "Xilinx SPI controller common module" |
| 1272 |
depends on HAS_IOMEM |
| 1273 |
select SPI_BITBANG |
| 1274 |
help |
| 1275 |
This exposes the SPI controller IP from the Xilinx EDK. |
| 1276 |
|
| 1277 |
See the "OPB Serial Peripheral Interface (SPI) (v1.00e)" |
| 1278 |
Product Specification document (DS464) for hardware details. |
| 1279 |
|
| 1280 |
Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)" |
| 1281 |
|
| 1282 |
config SPI_XLP |
| 1283 |
tristate "Cavium ThunderX2 SPI controller driver" |
| 1284 |
depends on ARCH_THUNDER2 || COMPILE_TEST |
| 1285 |
help |
| 1286 |
Enable support for the SPI controller on the Cavium ThunderX2. |
| 1287 |
(Originally on Netlogic XLP SoCs.) |
| 1288 |
|
| 1289 |
If you have a Cavium ThunderX2 platform say Y here. |
| 1290 |
If unsure, say N. |
| 1291 |
|
| 1292 |
config SPI_XTENSA_XTFPGA |
| 1293 |
tristate "Xtensa SPI controller for xtfpga" |
| 1294 |
depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST |
| 1295 |
select SPI_BITBANG |
| 1296 |
help |
| 1297 |
SPI driver for xtfpga SPI master controller. |
| 1298 |
|
| 1299 |
This simple SPI master controller is built into xtfpga bitstreams |
| 1300 |
and is used to control daughterboard audio codec. It always transfers |
| 1301 |
16 bit words in SPI mode 0, automatically asserting CS on transfer |
| 1302 |
start and deasserting on end. |
| 1303 |
|
| 1304 |
config SPI_ZYNQ_QSPI |
| 1305 |
tristate "Xilinx Zynq QSPI controller" |
| 1306 |
depends on ARCH_ZYNQ || COMPILE_TEST |
| 1307 |
depends on SPI_MEM |
| 1308 |
help |
| 1309 |
This enables support for the Zynq Quad SPI controller |
| 1310 |
in master mode. |
| 1311 |
This controller only supports SPI memory interface. |
| 1312 |
|
| 1313 |
config SPI_ZYNQMP_GQSPI |
| 1314 |
tristate "Xilinx ZynqMP GQSPI controller" |
| 1315 |
depends on (SPI_MEM && HAS_DMA) || COMPILE_TEST |
| 1316 |
help |
| 1317 |
Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC. |
| 1318 |
This controller only supports SPI memory interface. |
| 1319 |
|
| 1320 |
config SPI_AMD |
| 1321 |
tristate "AMD SPI controller" |
| 1322 |
depends on PCI |
| 1323 |
depends on SPI_MASTER || X86 || COMPILE_TEST |
| 1324 |
depends on SPI_MEM |
| 1325 |
help |
| 1326 |
Enables SPI controller driver for AMD SoC. |
| 1327 |
|
| 1328 |
# |
| 1329 |
# Add new SPI master controllers in alphabetical order above this line |
| 1330 |
# |
| 1331 |
|
| 1332 |
comment "SPI Multiplexer support" |
| 1333 |
|
| 1334 |
config SPI_MUX |
| 1335 |
tristate "SPI multiplexer support" |
| 1336 |
select MULTIPLEXER |
| 1337 |
help |
| 1338 |
This adds support for SPI multiplexers. Each SPI mux will be |
| 1339 |
accessible as a SPI controller, the devices behind the mux will appear |
| 1340 |
to be chip selects on this controller. It is still necessary to |
| 1341 |
select one or more specific mux-controller drivers. |
| 1342 |
|
| 1343 |
# |
| 1344 |
# There are lots of SPI device types, with sensors and memory |
| 1345 |
# being probably the most widely used ones. |
| 1346 |
# |
| 1347 |
comment "SPI Protocol Masters" |
| 1348 |
|
| 1349 |
config SPI_SPIDEV |
| 1350 |
tristate "User mode SPI device driver support" |
| 1351 |
help |
| 1352 |
This supports user mode SPI protocol drivers. |
| 1353 |
|
| 1354 |
config SPI_LOOPBACK_TEST |
| 1355 |
tristate "spi loopback test framework support" |
| 1356 |
depends on m |
| 1357 |
help |
| 1358 |
This enables the SPI loopback testing framework driver |
| 1359 |
|
| 1360 |
primarily used for development of spi_master drivers |
| 1361 |
and to detect regressions |
| 1362 |
|
| 1363 |
config SPI_TLE62X0 |
| 1364 |
tristate "Infineon TLE62X0 (for power switching)" |
| 1365 |
depends on SYSFS |
| 1366 |
help |
| 1367 |
SPI driver for Infineon TLE62X0 series line driver chips, |
| 1368 |
such as the TLE6220, TLE6230 and TLE6240. This provides a |
| 1369 |
sysfs interface, with each line presented as a kind of GPIO |
| 1370 |
exposing both switch control and diagnostic feedback. |
| 1371 |
|
| 1372 |
# |
| 1373 |
# Add new SPI protocol masters in alphabetical order above this line |
| 1374 |
# |
| 1375 |
|
| 1376 |
endif # SPI_MASTER |
| 1377 |
|
| 1378 |
# |
| 1379 |
# SLAVE side ... listening to other SPI masters |
| 1380 |
# |
| 1381 |
|
| 1382 |
config SPI_SLAVE |
| 1383 |
bool "SPI slave protocol handlers" |
| 1384 |
help |
| 1385 |
If your system has a slave-capable SPI controller, you can enable |
| 1386 |
slave protocol handlers. |
| 1387 |
|
| 1388 |
if SPI_SLAVE |
| 1389 |
|
| 1390 |
config SPI_SLAVE_TIME |
| 1391 |
tristate "SPI slave handler reporting boot up time" |
| 1392 |
help |
| 1393 |
SPI slave handler responding with the time of reception of the last |
| 1394 |
SPI message. |
| 1395 |
|
| 1396 |
config SPI_SLAVE_SYSTEM_CONTROL |
| 1397 |
tristate "SPI slave handler controlling system state" |
| 1398 |
help |
| 1399 |
SPI slave handler to allow remote control of system reboot, power |
| 1400 |
off, halt, and suspend. |
| 1401 |
|
| 1402 |
endif # SPI_SLAVE |
| 1403 |
|
| 1404 |
config SPI_DYNAMIC |
| 1405 |
def_bool ACPI || OF_DYNAMIC || SPI_SLAVE |
| 1406 |
|
| 1407 |
if SPI_OFFLOAD |
| 1408 |
|
| 1409 |
comment "SPI Offload triggers" |
| 1410 |
|
| 1411 |
config SPI_OFFLOAD_TRIGGER_ADI_UTIL_SD |
| 1412 |
tristate "SPI offload trigger using ADI sigma-delta utility" |
| 1413 |
help |
| 1414 |
SPI offload trigger from ADI sigma-delta utility FPGA IP block. |
| 1415 |
|
| 1416 |
config SPI_OFFLOAD_TRIGGER_PWM |
| 1417 |
tristate "SPI offload trigger using PWM" |
| 1418 |
depends on PWM |
| 1419 |
help |
| 1420 |
Generic SPI offload trigger implemented using PWM output. |
| 1421 |
|
| 1422 |
endif # SPI_OFFLOAD |
| 1423 |
|
| 1424 |
endif # SPI |