aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2010-04-13 10:41:51 +0000
committerGrant Likely <grant.likely@secretlab.ca>2010-05-25 00:23:15 -0600
commit4743a0f88c4000dfa3c422ecc4d750d3a3410550 (patch)
tree5e5e75696651a949129e3bf5488e6e85818766d4 /Documentation/spi
parentspi/omap2_mcspi: change default DMA_MIN_BYTES value to 160 (diff)
downloadlinux-dev-4743a0f88c4000dfa3c422ecc4d750d3a3410550.tar.xz
linux-dev-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 'Documentation/spi')
0 files changed, 0 insertions, 0 deletions