[U-Boot] [PATCH V2 07/12] spi: kconfig: add soft spi Kconfig entry

Jagan Teki jagannadh.teki at gmail.com
Wed May 3 06:06:06 UTC 2017


On Thu, Apr 13, 2017 at 11:39 AM, Peng Fan <peng.fan at nxp.com> wrote:
> 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 at nxp.com>
> Cc: Jagan Teki <jagan at openedev.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>
> V2:
>  None
>
>  drivers/spi/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index f3f7dbe..bef864f 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"

Did you move this for dm-driven file? since we've two files with same config

> +       help
> +        Enable Soft SPI driver. This driver is to use GPIO simulate
> +        the SPI protocol.

If possible please write few lines about this

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list