From: Marek Szyprowski Date: Wed, 30 Jun 2010 20:27:37 +0000 (-0600) Subject: spi/spi-gpio: add support for controllers without MISO or MOSI pin X-Git-Tag: v2.6.36-rc1~19^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8e1a84fd6b984a7bce8816db2e3defc57bbfe4;p=pandora-kernel.git spi/spi-gpio: add support for controllers without MISO or MOSI pin There are some boards that do not strictly follow SPI standard and use only 3 wires (SCLK, MOSI or MISO, SS) for connecting some simple auxiliary chips and controls them with GPIO based 'spi controller'. In this configuration the MISO or MOSI line is missing (it is not required if the chip does not transfer any data back to host or host only reads data from chip). This patch adds support for such non-standard configuration in GPIO-based SPI controller. It has been tested in configuration without MISO pin. Reviewed-by: Kyungmin Park Signed-off-by: Marek Szyprowski Acked-by: David Brownell Signed-off-by: Grant Likely --- Reading git-diff-tree failed