xref: /openbmc/u-boot/drivers/spi/Kconfig (revision fd697ecf)
1config DM_SPI
2	bool "Enable Driver Model for SPI drivers"
3	depends on DM
4	help
5	  Enable driver model for SPI. The SPI slave interface
6	  (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
7	  the SPI uclass. Drivers provide methods to access the SPI
8	  buses that they control. The uclass interface is defined in
9	  include/spi.h. The existing spi_slave structure is attached
10	  as 'parent data' to every slave on each bus. Slaves
11	  typically use driver-private data instead of extending the
12	  spi_slave structure.
13