From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND][PATCH 0/3] dma: pl330: Simplify platform data for pl330 driver
Date: Tue, 23 Aug 2011 03:29:42 +0530 [thread overview]
Message-ID: <1314050385-9617-1-git-send-email-thomas.abraham@linaro.org> (raw)
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(-)
next reply other threads:[~2011-08-22 21:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 21:59 Thomas Abraham [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1314050385-9617-1-git-send-email-thomas.abraham@linaro.org \
--to=thomas.abraham@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).