summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:35 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:33 -0700
commitf94a1bed07e2af1c46ddcf2046cddd979ebfd994 (patch)
treea05b119280cceeb6d16f2a4ebd510687c0971dbc /drivers/spi/Kconfig
parent2a4eeadd56e0760b33c7ebef383c105479a93cac (diff)
downloadu-boot-imx-f94a1bed07e2af1c46ddcf2046cddd979ebfd994.zip
u-boot-imx-f94a1bed07e2af1c46ddcf2046cddd979ebfd994.tar.gz
u-boot-imx-f94a1bed07e2af1c46ddcf2046cddd979ebfd994.tar.bz2
dm: Expand and complete Kconfig in drivers/
Expand the help messages for each driver. Add missing Kconfig for I2C, SPI flash and thermal. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e1678e6..7ae2727 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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.