]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/spi/Kconfig
dm: Expand and complete Kconfig in drivers/
[karo-tx-uboot.git] / drivers / spi / Kconfig
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7ae2727cf7eeff5205250f16fad1ec9061b0106b 100644 (file)
@@ -0,0 +1,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.