diff options
author | Roman Tereshonkov <roman.tereshonkov@nokia.com> | 2010-04-13 12:41:51 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-25 08:23:15 +0200 |
commit | 4743a0f88c4000dfa3c422ecc4d750d3a3410550 (patch) | |
tree | 5e5e75696651a949129e3bf5488e6e85818766d4 /drivers/spi/spi_stmp.c | |
parent | spi/omap2_mcspi: change default DMA_MIN_BYTES value to 160 (diff) | |
download | linux-4743a0f88c4000dfa3c422ecc4d750d3a3410550.tar.xz linux-4743a0f88c4000dfa3c422ecc4d750d3a3410550.zip |
spi/omap2_mcspi: add turbo mode support
Turbo mode allows to read data to shift register when rx-buffer
is full thus improving the perfomance. This feature is available
for RX-only mode.
In PIO turbo mode when the penultimate word is available
in RX-buffer the controller should be disabled before reading data
to prevent the next transaction triggering. The controller itself
handles the last word to be correctly loaded to shift-register and
then transferred to RX-buffer.
The turbo mode is enabled by setting turbo_mode parameter to 1.
This parameter is a part of omap2_mcspi_device_config structure
which is passed through the spi_device controller_data pointer.
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_stmp.c')
0 files changed, 0 insertions, 0 deletions