2 bool "Enable SPI bus support"
5 bool "Enable Driver Model for SPI drivers"
8 Enable driver model for SPI. The SPI slave interface
9 (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
10 the SPI uclass. Drivers provide methods to access the SPI
11 buses that they control. The uclass interface is defined in
12 include/spi.h. The existing spi_slave structure is attached
13 as 'parent data' to every slave on each bus. Slaves
14 typically use driver-private data instead of extending the
18 bool "Sandbox SPI driver"
19 depends on SANDBOX && DM
21 Enable SPI support for sandbox. This is an emulation of a real SPI
22 bus. Devices can be attached to the bus using the device tree
23 which specifies the driver to use. As an example, see this device
24 tree fragment from sandbox.dts. It shows that the SPI bus has a
25 single flash device on chip select 0 which is emulated by the driver
26 for "sandbox,spi-flash", which is in drivers/mtd/spi/sandbox.c.
32 compatible = "sandbox,spi";
33 cs-gpios = <0>, <&gpio_a 0>;
36 compatible = "spansion,m25p16", "sandbox,spi-flash";
37 spi-max-frequency = <40000000>;
38 sandbox,filename = "spi.bin";
43 bool "Designware SPI driver"
46 Enable the Designware SPI driver. This driver can be used to
47 access the SPI NOR flash on platforms embedding this Designware
51 bool "Cadence QSPI driver"
54 Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
55 used to access the SPI NOR flash on platforms embedding this
59 bool "Zynq SPI driver"
60 depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP)
62 Enable the Zynq SPI driver. This driver can be used to
63 access the SPI NOR flash on platforms embedding this Zynq