On Mon, Oct 08, 2012 at 04:39:40PM -0600, Stan Hu wrote:
McSPI driver previously assumed that D0 was input (MISO) and D1 was output
(MOSI).
This forces the hardware designer to wire all SPI peripherals in this way when
it should be a software configuration option.
I applied a similar patch
The other configuration is used in the case when you have SPI devices wired
opposite to the default case. This was the case for a custom board using
the McSPI driver.
I tested it by just passing in the parameter in the device config data when
registering the device under the spidev driver.
I
McSPI driver previously assumed that D0 was input (MISO) and D1 was output
(MOSI).
This forces the hardware designer to wire all SPI peripherals in this way when
it should be a software configuration option.
Signed-off-by: Stan Hu sta...@gmail.com
---
drivers/spi/spi-omap2-mcspi.c