spi/pl022: Add chip select handling via GPIO
authorRoland Stigge <stigge@antcom.de>
Wed, 22 Aug 2012 13:49:17 +0000 (15:49 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Aug 2012 19:00:44 +0000 (20:00 +0100)
commitf6f46de1063c8829713cd9d5b960dd8cb66cde8b
tree3367d20d24223f9e149188eb2997b66111237633
parent3ce8859e2e72713d3619285cab609d05c3591fc4
spi/pl022: Add chip select handling via GPIO

This patch adds the ability for the driver to control the chip select directly.
This enables independence from cs_control callbacks.  Configurable via
platform_data, to be extended as DT in the following patch.

Based on the initial patch by Alexandre Pereira da Silva <aletes.xgr@gmail.com>

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pl022.c
include/linux/amba/pl022.h