From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 7 May 2016 13:03:11 -0600 Subject: [U-Boot] [PATCH V4 2/4] dm: spi: soft_spi: switch to use linux compatible string In-Reply-To: <1462240943-488-2-git-send-email-van.freenix@gmail.com> References: <1462240943-488-1-git-send-email-van.freenix@gmail.com> <1462240943-488-2-git-send-email-van.freenix@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2 May 2016 at 20:02, Peng Fan 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 > Cc: Simon Glass > Cc: Przemyslaw Marczak > Reviewed-by: Simon Glass > --- > > 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!