spi/mcspi: allow configuration of pin directions
authorDaniel Mack <zonque@gmail.com>
Sun, 7 Oct 2012 16:19:44 +0000 (18:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Oct 2012 07:26:51 +0000 (16:26 +0900)
commit0384e90b853357d24935c65ba0e1bdd27faa6e58
tree4ee58ec411a372761b15e9316ca6f827c613308f
parentddffeb8c4d0331609ef2581d84de4d763607bd37
spi/mcspi: allow configuration of pin directions

Allow D0 to be an input and D1 to be an output, configurable via
platform data and a new DT property.

Based on a patch from  Matus Ujhelyi <matus.ujhelyi@streamunlimited.com>

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/spi/omap-spi.txt
drivers/spi/spi-omap2-mcspi.c
include/linux/platform_data/spi-omap2-mcspi.h