]> 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 e1678e63e6adf976e4514978a3d2e1a9b6634c42..7ae2727cf7eeff5205250f16fad1ec9061b0106b 100644 (file)
@@ -2,5 +2,11 @@ config DM_SPI
        bool "Enable Driver Model for SPI drivers"
        depends on DM
        help
-         If you want to use driver model for SPI drivers, say Y.
-         To use legacy SPI drivers, say N.
+         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.