2015-06-27 17:05:14 +00:00
|
|
|
menu "SPI Support"
|
|
|
|
|
2014-10-23 13:26:09 +00:00
|
|
|
config DM_SPI
|
|
|
|
bool "Enable Driver Model for SPI drivers"
|
|
|
|
depends on DM
|
|
|
|
help
|
2015-02-06 04:41:35 +00:00
|
|
|
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.
|
2015-03-06 20:19:05 +00:00
|
|
|
|
2015-06-27 17:07:00 +00:00
|
|
|
if DM_SPI
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2015-06-27 08:47:06 +00:00
|
|
|
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.
|
|
|
|
|
2015-03-06 20:19:05 +00:00
|
|
|
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";
|
|
|
|
};
|
2015-06-27 17:07:00 +00:00
|
|
|
};
|
2015-06-26 23:11:11 +00:00
|
|
|
|
2015-06-26 23:02:43 +00:00
|
|
|
config XILINX_SPI
|
|
|
|
bool "Xilinx SPI driver"
|
|
|
|
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
|
|
|
|
|
2015-06-26 19:21:38 +00:00
|
|
|
config ZYNQ_SPI
|
|
|
|
bool "Zynq SPI driver"
|
2015-06-27 17:07:00 +00:00
|
|
|
depends on ARCH_ZYNQ || TARGET_XILINX_ZYNQMP
|
2015-06-26 19:21:38 +00:00
|
|
|
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.
|
2015-06-27 17:05:14 +00:00
|
|
|
|
2015-06-27 17:07:00 +00:00
|
|
|
endif # if DM_SPI
|
|
|
|
|
2015-06-27 09:51:36 +00:00
|
|
|
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.
|
|
|
|
|
2015-06-27 17:07:00 +00:00
|
|
|
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.
|
|
|
|
|
2015-06-27 17:05:14 +00:00
|
|
|
endmenu # menu "SPI Support"
|