From: tushar.behera@linaro.org (Tushar Behera)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: EXYNOS: Enable MDMA driver
Date: Wed, 01 Feb 2012 08:21:41 +0530 [thread overview]
Message-ID: <4F28A8BD.9000601@linaro.org> (raw)
In-Reply-To: <1328025437-5396-2-git-send-email-kgene.kim@samsung.com>
On 01/31/2012 09:27 PM, Kukjin Kim wrote:
> From: Boojin Kim <boojin.kim@samsung.com>
>
> This patch adds MDMA platform data and enables
> MDMA for DMA memcpy operation for EXYNOS SoCs.
>
> Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
> arch/arm/mach-exynos/clock-exynos4.c | 9 ++++++
> arch/arm/mach-exynos/dma.c | 35 ++++++++++++++++++++++++
> arch/arm/mach-exynos/include/mach/irqs.h | 2 +
> arch/arm/mach-exynos/include/mach/map.h | 3 +-
> arch/arm/plat-samsung/include/plat/dma-pl330.h | 8 +++++
> 5 files changed, 56 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c
> index 411b366b..ffcc46b 100644
> --- a/arch/arm/mach-exynos/clock-exynos4.c
> +++ b/arch/arm/mach-exynos/clock-exynos4.c
> @@ -783,6 +783,13 @@ static struct clk exynos4_clk_pdma1 = {
> .ctrlbit = (1 << 1),
> };
>
> +static struct clk exynos4_clk_mdma1 = {
exynos4_clk_mdma ?
> + .name = "dma",
> + .devname = "dma-pl330.2",
> + .enable = exynos4_clk_ip_image_ctrl,
> + .ctrlbit = ((1 << 8) | (1 << 5) | (1 << 2)),
> +};
> +
> struct clk *exynos4_clkset_group_list[] = {
> [0] = &clk_ext_xtal_mux,
> [1] = &clk_xusbxti,
> @@ -1301,6 +1308,7 @@ static struct clksrc_clk *exynos4_sysclks[] = {
> static struct clk *exynos4_clk_cdev[] = {
> &exynos4_clk_pdma0,
> &exynos4_clk_pdma1,
> + &exynos4_clk_mdma,
> };
>
> static struct clksrc_clk *exynos4_clksrc_cdev[] = {
> @@ -1329,6 +1337,7 @@ static struct clk_lookup exynos4_clk_lookup[] = {
> CLKDEV_INIT("s3c-sdhci.3", "mmc_busclk.2", &exynos4_clk_sclk_mmc3.clk),
> CLKDEV_INIT("dma-pl330.0", "apb_pclk", &exynos4_clk_pdma0),
> CLKDEV_INIT("dma-pl330.1", "apb_pclk", &exynos4_clk_pdma1),
> + CLKDEV_INIT("dma-pl330.2", "apb_pclk", &exynos4_clk_mdma),
> CLKDEV_INIT("s3c64xx-spi.0", "spi_busclk0", &exynos4_clk_sclk_spi0.clk),
> CLKDEV_INIT("s3c64xx-spi.1", "spi_busclk0", &exynos4_clk_sclk_spi1.clk),
> CLKDEV_INIT("s3c64xx-spi.2", "spi_busclk0", &exynos4_clk_sclk_spi2.clk),
--
Tushar Behera
next prev parent reply other threads:[~2012-02-01 2:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 15:57 [PATCH 0/3] ARM: EXYNOS: adds dma mdma and for new EXYNOS SoCs Kukjin Kim
2012-01-31 15:57 ` [PATCH 1/3] ARM: EXYNOS: Enable MDMA driver Kukjin Kim
2012-02-01 2:51 ` Tushar Behera [this message]
2012-02-09 11:42 ` Kukjin Kim
2012-01-31 15:57 ` [PATCH 2/3] ARM: EXYNOS: Support DMA for EXYNOS4X12 SoC Kukjin Kim
2012-01-31 15:57 ` [PATCH 3/3] ARM: EXYNOS: Support DMA for EXYNOS5250 SoC Kukjin Kim
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=4F28A8BD.9000601@linaro.org \
--to=tushar.behera@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).