From patchwork Wed Jun 22 06:41:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 903702 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5M6prTW014234 for ; Wed, 22 Jun 2011 06:51:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753263Ab1FVGvz (ORCPT ); Wed, 22 Jun 2011 02:51:55 -0400 Received: from ganesha.gnumonks.org ([213.95.27.120]:56358 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751784Ab1FVGvv (ORCPT ); Wed, 22 Jun 2011 02:51:51 -0400 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.72) (envelope-from ) id 1QZHHv-0004um-Oj; Wed, 22 Jun 2011 08:51:47 +0200 Received: from [12.23.102.184] (helo=starstone.dsn.sec.samsung.com) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1QZGUx-0002R2-P0; Wed, 22 Jun 2011 15:01:11 +0900 From: Jingoo Han To: Kukjin Kim , Paul Mundt , linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org, Jonghun Han Cc: Anand Kumar N , Thomas Abraham , Sylwester Nawrocki , Marek Szyprowski , Kyungmin Park , Inki Dae , ARM Linux , Ben Dooks , Jonghun Han , Jingoo Han Subject: [PATCH V5 2/5] ARM: EXYNOS4: Add FIMD resource definition Date: Wed, 22 Jun 2011 15:41:22 +0900 Message-Id: <1308724882-31417-1-git-send-email-jg1.han@samsung.com> X-Mailer: git-send-email 1.7.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 22 Jun 2011 06:51:55 +0000 (UTC) From: Jonghun Han This patch adds resource definitions for EXYNOS4 FIMD. IRQ and SFR definitions are added. Signed-off-by: Jonghun Han Signed-off-by: Jingoo Han --- arch/arm/mach-exynos4/include/mach/irqs.h | 8 ++++++++ arch/arm/mach-exynos4/include/mach/map.h | 5 +++++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/include/mach/irqs.h b/arch/arm/mach-exynos4/include/mach/irqs.h index 5d03730..2cd2090 100644 --- a/arch/arm/mach-exynos4/include/mach/irqs.h +++ b/arch/arm/mach-exynos4/include/mach/irqs.h @@ -73,6 +73,14 @@ #define IRQ_SYSMMU_MFC_M1_0 COMBINER_IRQ(5, 6) #define IRQ_SYSMMU_PCIE_0 COMBINER_IRQ(5, 7) +#define IRQ_FIMD0_FIFO COMBINER_IRQ(11, 0) +#define IRQ_FIMD0_VSYNC COMBINER_IRQ(11, 1) +#define IRQ_FIMD0_SYSTEM COMBINER_IRQ(11, 2) + +#define IRQ_FIMD1_FIFO COMBINER_IRQ(12, 0) +#define IRQ_FIMD1_VSYNC COMBINER_IRQ(12, 1) +#define IRQ_FIMD1_SYSTEM COMBINER_IRQ(12, 2) + #define IRQ_PDMA0 COMBINER_IRQ(21, 0) #define IRQ_PDMA1 COMBINER_IRQ(21, 1) diff --git a/arch/arm/mach-exynos4/include/mach/map.h b/arch/arm/mach-exynos4/include/mach/map.h index 0009e77..94006f7 100644 --- a/arch/arm/mach-exynos4/include/mach/map.h +++ b/arch/arm/mach-exynos4/include/mach/map.h @@ -93,6 +93,9 @@ #define EXYNOS4_PA_MIPI_CSIS0 0x11880000 #define EXYNOS4_PA_MIPI_CSIS1 0x11890000 +#define EXYNOS4_PA_FIMD0 0x11C00000 +#define EXYNOS4_PA_FIMD1 0x12000000 + #define EXYNOS4_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000)) #define EXYNOS4_PA_SATA 0x12560000 @@ -140,6 +143,8 @@ #define S5P_PA_FIMC3 EXYNOS4_PA_FIMC3 #define S5P_PA_MIPI_CSIS0 EXYNOS4_PA_MIPI_CSIS0 #define S5P_PA_MIPI_CSIS1 EXYNOS4_PA_MIPI_CSIS1 +#define S5P_PA_FIMD0 EXYNOS4_PA_FIMD0 +#define S5P_PA_FIMD1 EXYNOS4_PA_FIMD1 #define S5P_PA_ONENAND EXYNOS4_PA_ONENAND #define S5P_PA_ONENAND_DMA EXYNOS4_PA_ONENAND_DMA #define S5P_PA_SDRAM EXYNOS4_PA_SDRAM