Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1343791
| From | Priit Laes <plaes@plaes.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RESEND 0/2] spi: sun4i: add DMA support |
| Date | 2016-02-26 07:00 +0100 |
| Message-ID | <r6jBw-74Z-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
While trying to get SPI TFT screen working with Cubietruck, I noticed that at current state driver didn't actually support SPI data bursts bigger than n bytes (n is probably ~64 bytes). Patches below were sent to mailinglists a while ago (May 2015) but apparently were not addressed to correct maintainers and therefore were never applied. With those patches, it's now possible to use TFT screens over SPI (fbtft driver in staging), although there seems to be a possible issue where bigger data bursts cause the driver to temporarily fall back to PIO mode: spi_master spi32766: Using DMA mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using DMA mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer spi_master spi32766: Using PIO mode for transfer Emilio López (1): spi: sun4i: add DMA support Michal Suchanek (1): ARM: sunxi: spi: add notice about SPI FIFO limit. drivers/spi/spi-sun4i.c | 142 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 130 insertions(+), 12 deletions(-) -- 2.7.2
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH RESEND 0/2] spi: sun4i: add DMA support Priit Laes <plaes@plaes.org> - 2016-02-26 07:00 +0100
[PATCH 1/2] spi: sun4i: add DMA support Priit Laes <plaes@plaes.org> - 2016-02-26 07:00 +0100
Re: [PATCH 1/2] spi: sun4i: add DMA support Mark Brown <broonie@kernel.org> - 2016-02-26 13:30 +0100
Re: [PATCH 1/2] spi: sun4i: add DMA support Michal Suchanek <hramrach@gmail.com> - 2016-02-26 14:00 +0100
[PATCH 2/2] ARM: sunxi: spi: add notice about SPI FIFO limit. Priit Laes <plaes@plaes.org> - 2016-02-26 07:00 +0100
Re: [PATCH RESEND 0/2] spi: sun4i: add DMA support Mark Brown <broonie@kernel.org> - 2016-02-26 13:20 +0100
csiph-web