From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kukjin Kim Subject: Re: [PATCH 4/4] ARM: Exynos5: Add PDMA and MDMA physical base address defines Date: Wed, 28 Mar 2012 18:54:52 -0700 Message-ID: <4F73C0EC.60201@samsung.com> References: <1332840365-24827-1-git-send-email-thomas.abraham@linaro.org> <1332840365-24827-5-git-send-email-thomas.abraham@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:45358 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875Ab2C2BzA (ORCPT ); Wed, 28 Mar 2012 21:55:00 -0400 Received: by pbcun15 with SMTP id un15so2626816pbc.19 for ; Wed, 28 Mar 2012 18:55:00 -0700 (PDT) In-Reply-To: <1332840365-24827-5-git-send-email-thomas.abraham@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Thomas Abraham Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org Thomas Abraham wrote: > Add PDMA and MDMA physical base address macros which is require for Exynos5 > of_dev_auxdata setup. > > Signed-off-by: Thomas Abraham > --- > arch/arm/mach-exynos/include/mach/map.h | 5 +++++ > arch/arm/mach-exynos/mach-exynos5-dt.c | 3 ++- > 2 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h > index 024d38f..37d93fd 100644 > --- a/arch/arm/mach-exynos/include/mach/map.h > +++ b/arch/arm/mach-exynos/include/mach/map.h > @@ -90,6 +90,11 @@ > #define EXYNOS4_PA_PDMA0 0x12680000 > #define EXYNOS4_PA_PDMA1 0x12690000 > > +#define EXYNOS5_PA_PDMA0 0x121A0000 > +#define EXYNOS5_PA_PDMA1 0x121B0000 > +#define EXYNOS5_PA_MDMA0 0x10800000 > +#define EXYNOS5_PA_MDMA1 0x11C10000 > + See, "ARM: EXYNOS: Support DMA for Exynos5250 SoC" http://lists.infradead.org/pipermail/linux-arm-kernel/2012-February/085434.html But this merge window is not including it :( > #define EXYNOS4_PA_SYSMMU_MDMA 0x10A40000 > #define EXYNOS4_PA_SYSMMU_SSS 0x10A50000 > #define EXYNOS4_PA_SYSMMU_FIMC0 0x11A20000 > diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c > index 0d26f50..cdc3a26 100644 > --- a/arch/arm/mach-exynos/mach-exynos5-dt.c > +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c > @@ -45,7 +45,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { > "exynos4210-uart.3", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA0, "dma-pl330.0", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.1", NULL), > - OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.2", NULL), > + OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA0, "dma-pl330.2", NULL), OK. > + OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA0, "dma-pl330.3", NULL), Well...there is a MDMA1 on EXYNOS5250 SoC, so if we can use MDMA1, should be MDMA1 for dma-pl330.3 but...I think, I need to check :) > {}, > }; > Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Wed, 28 Mar 2012 18:54:52 -0700 Subject: [PATCH 4/4] ARM: Exynos5: Add PDMA and MDMA physical base address defines In-Reply-To: <1332840365-24827-5-git-send-email-thomas.abraham@linaro.org> References: <1332840365-24827-1-git-send-email-thomas.abraham@linaro.org> <1332840365-24827-5-git-send-email-thomas.abraham@linaro.org> Message-ID: <4F73C0EC.60201@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Thomas Abraham wrote: > Add PDMA and MDMA physical base address macros which is require for Exynos5 > of_dev_auxdata setup. > > Signed-off-by: Thomas Abraham > --- > arch/arm/mach-exynos/include/mach/map.h | 5 +++++ > arch/arm/mach-exynos/mach-exynos5-dt.c | 3 ++- > 2 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h > index 024d38f..37d93fd 100644 > --- a/arch/arm/mach-exynos/include/mach/map.h > +++ b/arch/arm/mach-exynos/include/mach/map.h > @@ -90,6 +90,11 @@ > #define EXYNOS4_PA_PDMA0 0x12680000 > #define EXYNOS4_PA_PDMA1 0x12690000 > > +#define EXYNOS5_PA_PDMA0 0x121A0000 > +#define EXYNOS5_PA_PDMA1 0x121B0000 > +#define EXYNOS5_PA_MDMA0 0x10800000 > +#define EXYNOS5_PA_MDMA1 0x11C10000 > + See, "ARM: EXYNOS: Support DMA for Exynos5250 SoC" http://lists.infradead.org/pipermail/linux-arm-kernel/2012-February/085434.html But this merge window is not including it :( > #define EXYNOS4_PA_SYSMMU_MDMA 0x10A40000 > #define EXYNOS4_PA_SYSMMU_SSS 0x10A50000 > #define EXYNOS4_PA_SYSMMU_FIMC0 0x11A20000 > diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c > index 0d26f50..cdc3a26 100644 > --- a/arch/arm/mach-exynos/mach-exynos5-dt.c > +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c > @@ -45,7 +45,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { > "exynos4210-uart.3", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA0, "dma-pl330.0", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.1", NULL), > - OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.2", NULL), > + OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA0, "dma-pl330.2", NULL), OK. > + OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA0, "dma-pl330.3", NULL), Well...there is a MDMA1 on EXYNOS5250 SoC, so if we can use MDMA1, should be MDMA1 for dma-pl330.3 but...I think, I need to check :) > {}, > }; > Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.