summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bcm2835.c
diff options
context:
space:
mode:
authorQipan Li <Qipan.Li@csr.com>2014-05-04 14:32:36 +0800
committerMark Brown <broonie@linaro.org>2014-05-20 23:24:20 +0100
commit41148c3a728222a885bc2f3ba3ce66831de0b244 (patch)
treee98c1efb42481caa47f2c256b73aef131812e079 /drivers/spi/spi-bcm2835.c
parentc908ef345d2c314ec25cfac113a8f9bb2b6b3a25 (diff)
downloadop-kernel-dev-41148c3a728222a885bc2f3ba3ce66831de0b244.zip
op-kernel-dev-41148c3a728222a885bc2f3ba3ce66831de0b244.tar.gz
spi: sirf: decrease the interrupt count and latency of PIO mode
current PIO tranfer method be described as follows: 1. fill as much as bytes but no more than 256 bytes(fifo size) 2. enable oflow/uflow/txfifo_empty interrupt 3. isr process 3 interrupt signal, do complete works. 4. after isr done, if there are left bytes go into 1 else go into 5 5. transfer end by current PIO transfer method: 1. reduce interrupt counts in spi interrupt line. 2. reduce interrupt latency because no do data fill/fetch in isr. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud