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

2009-04-29 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 in such cases still necessary to hardwire the word size to

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

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

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

2009-04-29 Thread Florian Fainelli
Le Wednesday 29 April 2009 08:31:04 Thierry Reding, vous avez écrit : * 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

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

2009-04-28 Thread Thierry Reding
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, spi-master-clk, used to

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 interrupt. It also requires a clock,

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 states to allow more slaves to use the controller     concurrently  

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

2009-04-28 Thread David Brownell
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   * rejects invalid device

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

2009-04-28 Thread Florian Fainelli
Le Tuesday 28 April 2009 14:20:11 Thierry Reding, vous avez écrit : * 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

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

2009-04-28 Thread David Brownell
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 truly variable? This is