[U-Boot] [PATCH V4 2/4] dm: spi: soft_spi: switch to use linux compatible string

Simon Glass sjg at chromium.org
Sat May 7 21:03:11 CEST 2016


On 2 May 2016 at 20:02, Peng Fan <van.freenix at gmail.com> wrote:
> 1. Support compatible string "spi-gpio" which is used by Linux
>    Linux use different bindings, so use UBOOT_COMPAT and
>    LINUX_COMPAT to differentiate them.
> 2. Introduce SPI_MASTER_NO_RX and SPI_MASTER_NO_TX to handle
>    no rx or no tx case.
> 3. Tested on i.MX6 UltraLite board with 74LV595 spi-gpio chip.
>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Przemyslaw Marczak <p.marczak at samsung.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>
> V4:
>  None
> V3:
>  None
> V2:
>  Follow Simon's comments, drop uboot compatible string, convert to use
>  Linux compatile string, and convert the universal board.
>
>  arch/arm/dts/exynos4210-universal_c210.dts | 10 ++++----
>  drivers/spi/soft_spi.c                     | 38 ++++++++++++++++++++++--------
>  2 files changed, 33 insertions(+), 15 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list