spi: kconfig: add soft spi Kconfig entry
authorPeng Fan <peng.fan@nxp.com>
Thu, 13 Apr 2017 06:09:55 +0000 (14:09 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:24:34 +0000 (11:24 +0200)
Add the Kconfig entry for SOFT_SPI which uses gpio to simulate the
SPI signals. We use it for accessing 74x164 on some i.MX boards.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Jagan Teki <jagan@openedev.com>
Cc: Stefano Babic <sbabic@denx.de>
drivers/spi/Kconfig

index f3f7dbe0897b82d204ad44b23172c5b5377ae7c1..bef864f46e5ce4e7c3ad1b98445b72e108798732 100644 (file)
@@ -197,6 +197,12 @@ config OMAP3_SPI
 
 endif # if DM_SPI
 
+config SOFT_SPI
+       bool "Soft SPI driver"
+       help
+        Enable Soft SPI driver. This driver is to use GPIO simulate
+        the SPI protocol.
+
 config FSL_ESPI
        bool "Freescale eSPI driver"
        help