spi/pl022: Devicetree support w/o platform data
authorRoland Stigge <stigge@antcom.de>
Tue, 18 Sep 2012 13:53:53 +0000 (15:53 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Sep 2012 11:06:16 +0000 (07:06 -0400)
commit39a6ac11df6579df0361922f05c43f0fac8daa37
tree6e8838fc000f9ff56d3f09e9beeb8ea561455e16
parent5bee3b94d945851d6cb624a5e6808d9a815ebca0
spi/pl022: Devicetree support w/o platform data

Even with devicetree support, we needed platform data to provide some data,
leading to mixed device tree and platform data. This patch makes it possible to
provide all that information via device tree. Now, the data must be provided
via platform data _or_ device tree completely.

Only in case of DMA where a callback specification is necessary (dma_filter()),
platform data is the only option.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/spi/spi_pl022.txt
drivers/spi/spi-pl022.c