[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1370432398-7796-1-git-send-email-illia.smyrnov@ti.com>
Date: Wed, 5 Jun 2013 14:39:56 +0300
From: Illia Smyrnov <illia.smyrnov@...com>
To: Grant Likely <grant.likely@...aro.org>,
Rob Herring <rob.herring@...xeda.com>,
Rob Landley <rob@...dley.net>, Mark Brown <broonie@...nel.org>
CC: Illia Smyrnov <illia.smyrnov@...com>,
Daniel Mack <zonque@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Tony Lindgren <tony@...mide.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<devicetree-discuss@...ts.ozlabs.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<spi-devel-general@...ts.sourceforge.net>
Subject: [PATCH 0/2] spi: omap2-mcspi: add FIFO buffer support
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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists