[PATCH 25/33] spi: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
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

Re: [spi-devel-general] [PATCH v2] spi: Add support for the OpenCores SPI controller.

2009-04-28 Thread Thierry Reding
* David Brownell wrote: > On Tuesday 28 April 2009, Florian Fainelli wrote: > > > > Is this the http://www.opencores.org/?do=project&who=spi core? > > > > > > Yes, it is. > > > > > > > Its summary says "Variable length of transfer word up to 32 bits"; > > > > does that mean "configurable when core

Re: [spi-devel-general] [PATCH v2] spi: Add support for the OpenCores SPI controller.

2009-04-28 Thread Thierry Reding
* 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 >

Re: [spi-devel-general] [PATCH v2] spi: Add support for the OpenCores SPI controller.

2009-04-28 Thread Thierry Reding
* 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 stat

Re: [spi-devel-general] [PATCH v2] spi: Add support for the OpenCores SPI controller.

2009-04-28 Thread Thierry Reding
* 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 > interr

[spi-devel-general] [PATCH v2] spi: Add support for the OpenCores SPI controller.

2009-04-28 Thread Thierry Reding
", used to compute the clock divider. Signed-off-by: Thierry Reding --- drivers/spi/Kconfig |5 + drivers/spi/Makefile |1 + drivers/spi/spioc.c | 633 ++ 3 files changed, 639 insertions(+), 0 deletions(-) diff --git a/drivers/spi/Kc

[spi-devel-general] [PATCH] spi: Add support for the OpenCores SPI controller.

2009-03-26 Thread Thierry Reding
", used to compute the clock divider. Signed-off-by: Thierry Reding --- drivers/spi/Kconfig |5 + drivers/spi/Makefile |1 + drivers/spi/spioc.c | 528 + include/linux/spi/spioc.h | 25 +++ 4 files changed, 559 insertions(

[spi-devel-general] [PATCH] spi: Add support for the OpenCores SPI controller.

2009-02-09 Thread Thierry Reding
This patch adds support for the OpenCores SPI controller. Signed-off-by: Thierry Reding --- drivers/spi/Kconfig |5 + drivers/spi/Makefile |1 + drivers/spi/spioc.c | 529 + include/linux/spi/spioc.h | 25 +++ 4 files