linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: omap2-mcspi: add FIFO buffer support
@ 2013-06-05 11:39 Illia Smyrnov
  2013-06-05 11:39 ` [PATCH 1/2] spi: spi-omap2-mcspi.c: Add dts for slave device configuration Illia Smyrnov
       [not found] ` <1370432398-7796-1-git-send-email-illia.smyrnov-l0cyMroinI0@public.gmane.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Illia Smyrnov @ 2013-06-05 11:39 UTC (permalink / raw)
  To: Grant Likely, Rob Herring, Rob Landley, Mark Brown
  Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA, Tony Lindgren,
	Greg Kroah-Hartman, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Daniel Mack, Illia Smyrnov,
	Matthias Brugger,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

These patches introduce FIFO support for TI OMAP4/OMAP5 MCSPI controller.
Using FIFO unload the DMA and improve data throughput. On Blaze (OMAP 4460) 
ethernet throughput with 2 bytes MCSPI FIFO buffer enabled was increased 
from 7.0877 Mbps to 7.9200 Mbps. The FIFO implementation sanity test on 
OMAP5 Panda board also has been done.

The FIFO buffer can be used with some limitations, so if enabled, it will be
set up only for suitable SPI transfers:
* FIFO depth size defined as a multiple of the SPI word length;
* transfer's data size is a multiple of FIFO depth;
* transfer's words count less or equal 65535.

To store FIFO parameters in DT modified Matthias Brugger patch has been used
(see the discussion at https://patchwork.kernel.org/patch/2333911/)

Illia Smyrnov (1):
  spi: omap2-mcspi: Add FIFO buffer support

Matthias Brugger (1):
  spi: spi-omap2-mcspi.c: Add dts for slave device configuration.

 Documentation/devicetree/bindings/spi/omap-spi.txt |   19 ++
 drivers/spi/spi-omap2-mcspi.c                      |  199 ++++++++++++++++++--
 include/linux/platform_data/spi-omap2-mcspi.h      |    1 +
 3 files changed, 203 insertions(+), 16 deletions(-)


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-06-11 17:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 11:39 [PATCH 0/2] spi: omap2-mcspi: add FIFO buffer support Illia Smyrnov
2013-06-05 11:39 ` [PATCH 1/2] spi: spi-omap2-mcspi.c: Add dts for slave device configuration Illia Smyrnov
     [not found]   ` <1370432398-7796-2-git-send-email-illia.smyrnov-l0cyMroinI0@public.gmane.org>
2013-06-05 11:57     ` Mark Brown
     [not found]       ` <20130605115734.GY31367-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-06-06 10:08         ` Illia Smyrnov
2013-06-06 10:19           ` Mark Brown
     [not found] ` <1370432398-7796-1-git-send-email-illia.smyrnov-l0cyMroinI0@public.gmane.org>
2013-06-05 11:39   ` [PATCH 2/2] spi: omap2-mcspi: Add FIFO buffer support Illia Smyrnov
2013-06-05 12:03     ` Mark Brown
     [not found]       ` <20130605120346.GZ31367-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-06-06 10:08         ` Illia Smyrnov
     [not found]           ` <51B05FB8.6050903-l0cyMroinI0@public.gmane.org>
2013-06-06 10:30             ` Mark Brown
     [not found]               ` <20130606103032.GR31367-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-06-11 17:09                 ` Illia Smyrnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).