linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND][PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver
@ 2011-08-22 21:59 Thomas Abraham
  2011-08-22 21:59 ` [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data Thomas Abraham
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Abraham @ 2011-08-22 21:59 UTC (permalink / raw)
  To: linux-arm-kernel

The rqtype parameter specified in platform data as part of the
'struct dma_pl330_peri' can be infered from the direction of the transfer
specified with transfer requests. So the rqtype parameter can be removed
and 'struct dma_pl330_peri' is then left with only one field 'peri_id'
which itself can be moved into 'struct dma_pl330_platdata' and the
entire 'struct dma_pl330_peri' can be eliminated.

This is first step towards adding device tree support for pl330 dma driver.
With rqtype information inferred from transfer requests, it need not be
included in device tree to describe each hardware dma request.

This patchset is based on following tree.
http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
and branch 'kgene/next/topic-dma-pl330'.

This patchset has been implemented and tested only for Exynos4. If this
patchset is acceptable, then pl330 driver platform data for other samsung
platforms will also be modfied.

Thomas Abraham (3):
  DMA: PL330: Infer transfer direction from transfer request instead of platform data
  ARM: SAMSUNG: Modify pl330 channel filter function
  ARM: EXYNOS4: Modify platform data for pl330 driver

 arch/arm/mach-exynos4/dma.c     |  220 +++++++++++----------------------------
 arch/arm/plat-samsung/dma-ops.c |    4 +-
 drivers/dma/pl330.c             |   56 ++--------
 include/linux/amba/pl330.h      |   14 +--
 4 files changed, 75 insertions(+), 219 deletions(-)

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

end of thread, other threads:[~2011-08-24 14:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22 21:59 [RESEND][PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver Thomas Abraham
2011-08-22 21:59 ` [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data Thomas Abraham
2011-08-22 21:59   ` [PATCH 2/3] ARM: SAMSUNG: Modify pl330 channel filter function Thomas Abraham
2011-08-22 21:52     ` Russell King - ARM Linux
2011-08-23 15:59       ` Thomas Abraham
2011-08-22 21:59     ` [PATCH 3/3] ARM: EXYNOS4: Modify platform data for pl330 driver Thomas Abraham
2011-08-24  1:21   ` [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data Boojin Kim
2011-08-24  3:22     ` Thomas Abraham
2011-08-24  4:00       ` Boojin Kim
2011-08-24 11:44   ` Rob Herring
2011-08-24 14:25     ` Thomas Abraham

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).