summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
blob: 7ae2727cf7eeff5205250f16fad1ec9061b0106b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
config DM_SPI
	bool "Enable Driver Model for SPI drivers"
	depends on DM
	help
	  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.