From: Peng Fan <peng.fan@nxp.com>
Date: Thu, 13 Apr 2017 06:09:55 +0000 (+0800)
Subject: spi: kconfig: add soft spi Kconfig entry
X-Git-Tag: v2025.01-rc5-pxa1908~6867^2~7
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/html/index.html?a=commitdiff_plain;h=41eb8ff5ea0fe10c75b5c1dec2d0ee00f1c5ebce;p=u-boot.git

spi: kconfig: add soft spi Kconfig entry

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>
---

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index f3f7dbe089..bef864f46e 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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