[U-Boot] [PATCH V2 2/3] dm: spi: soft_spi: switch to use linux compatible string
Simon Glass
sjg at chromium.org
Wed Apr 20 16:40:41 CEST 2016
On 13 April 2016 at 01:18, 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>
> ---
>
> 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(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Please also cc the universal maintainer to this thread.
More information about the U-Boot
mailing list