]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/spi/Kconfig
7ae2727cf7eeff5205250f16fad1ec9061b0106b
[karo-tx-uboot.git] / drivers / spi / Kconfig
1 config 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.