diff options
author | Marek Vasut <marex@denx.de> | 2013-01-24 13:56:21 +0100 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2013-01-28 05:26:45 +0100 |
commit | fc91e401239a451f7f4269de0b0ae6d70d856d48 (patch) | |
tree | 411dd9d8d3df4b8e4ac6833f23ac94dcb0b33ff0 /drivers/i2c/busses/i2c-eg20t.c | |
parent | dc6fea4456aeadd3452638668101f269fbb9fd0d (diff) |
i2c: mxs: Add PIO and mixed-DMA support
Add support for the PIO mode and mixed PIO/DMA mode support. The mixed
PIO/DMA is the default mode of operation. This shall leverage overhead
that the driver creates due to setting up DMA descriptors even for very
short transfers.
The current boundary between PIO/DMA 8 bytes, transfers shorter than 8
bytes are transfered by PIO, longer transfers use DMA. The performance
of write transfers remains unchanged, while there is a minor improvement
of read performance. Reading 16KB EEPROM with DMA-only operations gives
a read speed of 39.5KB/s, while with then new mixed-mode the speed is
blazing 40.6KB/s.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-eg20t.c')
0 files changed, 0 insertions, 0 deletions