linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] spi: atmel: enhance the DMA handling
@ 2016-11-24 11:24 Nicolas Ferre
  2016-11-24 11:24 ` [PATCH 1/5] spi: atmel: trivial: move info banner to latest probe action Nicolas Ferre
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Nicolas Ferre @ 2016-11-24 11:24 UTC (permalink / raw)
  To: Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w,
	geert-Td1EMuHUCqxL1ZNQvxDV9g, Nicolas Ferre

Use the dummy buffer handling and DMA mapping core infrastructure to simplify
spi-atmel driver.
By using these frameworks we also fix the use of any kind of memory with
dmaengine. This work was triggered by issues encountered while using UBI/UBIFS
on a serial flash.

Some good ideas of this series have been inspired by spi-rspi.c and commits by
Geert Uytterhoeven.

I have a side question still: is the is_dma_mapped tag still used and considered into
the core spi routines or is it always the driver itself that have to deal with
it (so how to do with the can_dma() routine)?

Cyrille Pitchen (1):
  spi: atmel: Use SPI core DMA mapping framework

Nicolas Ferre (4):
  spi: atmel: trivial: move info banner to latest probe action
  spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling
  spi: atmel: trivial: remove unused fields in DMA structure
  spi: atmel: remove the use of private channel fields

 drivers/spi/spi-atmel.c | 268 ++++++++++++++++++------------------------------
 1 file changed, 98 insertions(+), 170 deletions(-)

-- 
2.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-25 13:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 11:24 [PATCH 0/5] spi: atmel: enhance the DMA handling Nicolas Ferre
2016-11-24 11:24 ` [PATCH 1/5] spi: atmel: trivial: move info banner to latest probe action Nicolas Ferre
     [not found]   ` <e259bb1c87e32c67295747f868f8684c1e929d68.1479985886.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-11-25 13:05     ` Mark Brown
2016-11-25 13:10     ` Applied "spi: atmel: trivial: move info banner to latest probe action" to the spi tree Mark Brown
2016-11-24 11:24 ` [PATCH 2/5] spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling Nicolas Ferre
     [not found]   ` <86f613a36c2e7db07c3ec7d0b8a650cdb9222b32.1479985886.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-11-25 13:10     ` Applied "spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling" to the spi tree Mark Brown
2016-11-24 11:24 ` [PATCH 3/5] spi: atmel: Use SPI core DMA mapping framework Nicolas Ferre
2016-11-25 13:10   ` Applied "spi: atmel: Use SPI core DMA mapping framework" to the spi tree Mark Brown
     [not found] ` <cover.1479985886.git.nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-11-24 11:25   ` [PATCH 4/5] spi: atmel: trivial: remove unused fields in DMA structure Nicolas Ferre
2016-11-25 13:10     ` Applied "spi: atmel: trivial: remove unused fields in DMA structure" to the spi tree Mark Brown
2016-11-24 11:25 ` [PATCH 5/5] spi: atmel: remove the use of private channel fields Nicolas Ferre
2016-11-25 13:10   ` Applied "spi: atmel: remove the use of private channel fields" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).