1. 17 7月, 2014 2 次提交
  2. 01 7月, 2014 1 次提交
    • G
      spi: sh-msiof: Add DMA support · b0d0ce8b
      Geert Uytterhoeven 提交于
      Add DMA support to the MSIOF driver using platform data.
      
      As MSIOF DMA is limited to 32-bit words (requiring byte/wordswapping for
      smaller wordsizes), and the group length is limited to 256 words, DMA is
      performed on two fixed pages, allocated and mapped at driver initialization
      time.
      
      Performance figures (in Mbps) on r8a7791/koelsch at different SPI clock
      frequencies for 1024-byte and 4096-byte transfers:
      
                         1024 bytes           4096 bytes
        -  3.25 MHz: PIO  2.1, DMA  2.6 | PIO  2.8, DMA  3.1
        -  6.5  MHz: PIO  3.2, DMA  4.4 | PIO  5.0, DMA  5.9
        - 13    MHz: PIO  4.2, DMA  6.6 | PIO  8.2, DMA 10.7
        - 26    MHz: PIO  5.9, DMA 10.4 | PIO 12.4, DMA 18.4
      
      Note that DMA is only faster than PIO for transfers that exceed the FIFO
      size (typically 64 words / 256 bytes).
      
      Also note that large transfers (larger than the group length for DMA, or
      larger than the FIFO size for PIO), should use cs-gpio (with the
      appropriate pinmux setup), as the hardware chipselect will be deasserted in
      between chunks.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      b0d0ce8b
  3. 21 6月, 2014 4 次提交
  4. 06 6月, 2014 1 次提交
  5. 30 4月, 2014 1 次提交
  6. 11 3月, 2014 1 次提交
  7. 03 3月, 2014 1 次提交
  8. 27 2月, 2014 6 次提交
  9. 22 2月, 2014 5 次提交
  10. 03 2月, 2014 1 次提交
  11. 02 12月, 2013 2 次提交
  12. 28 11月, 2013 2 次提交
  13. 27 11月, 2013 1 次提交
  14. 15 11月, 2013 1 次提交
  15. 29 8月, 2013 1 次提交
  16. 29 7月, 2013 1 次提交
  17. 01 4月, 2013 1 次提交
  18. 05 2月, 2013 1 次提交
  19. 06 12月, 2012 1 次提交
  20. 01 11月, 2011 1 次提交
  21. 25 10月, 2011 1 次提交
  22. 24 10月, 2011 1 次提交
  23. 06 6月, 2011 1 次提交
  24. 22 1月, 2011 2 次提交