Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.
devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.
Signed-off-by: Thierry
* David Brownell wrote:
On Tuesday 28 April 2009, Thierry Reding wrote:
I couldn't really find a way to implement per-transfer overrides for the
word size because the controller simply has no concept of word sizes.
Is it
in such cases still necessary to hardwire the word size
* David Brownell wrote:
On Tuesday 28 April 2009, Florian Fainelli wrote:
Is this the http://www.opencores.org/?do=projectwho=spi core?
Yes, it is.
Its summary says Variable length of transfer word up to 32 bits;
does that mean configurable when core is synthesized instead of
to compute the
clock divider.
Signed-off-by: Thierry Reding thierry.red...@avionic-design.de
---
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi/spioc.c | 633 ++
3 files changed, 639 insertions(+), 0 deletions(-)
diff --git
* Thierry Reding wrote:
This patch adds a platform device driver that supports the OpenCores SPI
controller.
The driver expects two resources: an IORESOURCE_MEM resource defining the
core's memory-mapped registers and an IORESOURCE_IRQ for the associated
interrupt. It also requires a clock
* David Brownell wrote:
On Tuesday 28 April 2009, Thierry Reding wrote:
This second version is pretty much a rewrite.
That happens sometimes...
Some notes about the most
important changes:
* uses per-chip states to allow more slaves to use the controller
concurrently
to compute the
clock divider.
Signed-off-by: Thierry Reding thierry.red...@avionic-design.de
---
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi/spioc.c | 528 +
include/linux/spi/spioc.h | 25 +++
4 files changed
This patch adds support for the OpenCores SPI controller.
Signed-off-by: Thierry Reding thierry.red...@avionic-design.de
---
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi/spioc.c | 529 +
include/linux/spi