All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: EXYNOS: Add platform resource definitions for FIMC-LITE
@ 2012-05-04 16:17 ` Sylwester Nawrocki
  0 siblings, 0 replies; 14+ messages in thread
From: Sylwester Nawrocki @ 2012-05-04 16:17 UTC (permalink / raw)
  To: kgene.kim
  Cc: linux-arm-kernel, linux-samsung-soc, Sylwester Nawrocki,
	Kyungmin Park

Add the gate clocks and register region address definition for
FIMC-LITE devices available in Exynos4x12 and Exynos5 SoCs.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/mach-exynos/clock-exynos4212.c |   10 ++++++++++
 arch/arm/mach-exynos/include/mach/map.h |    3 +++
 2 files changed, 13 insertions(+)

diff --git a/arch/arm/mach-exynos/clock-exynos4212.c b/arch/arm/mach-exynos/clock-exynos4212.c
index 9882312..da397d2 100644
--- a/arch/arm/mach-exynos/clock-exynos4212.c
+++ b/arch/arm/mach-exynos/clock-exynos4212.c
@@ -92,6 +92,16 @@ static struct clk init_clocks_off[] = {
 		.devname	= SYSMMU_CLOCK_DEVNAME(isp, 9),
 		.enable		= exynos4212_clk_ip_isp1_ctrl,
 		.ctrlbit	= (1 << 4),
+	}, {
+		.name		= "flite",
+		.devname	= "exynos-fimc-lite.0",
+		.enable		= exynos4212_clk_ip_isp0_ctrl,
+		.ctrlbit	= (1 << 4),
+	}, {
+		.name		= "flite",
+		.devname	= "exynos-fimc-lite.1",
+		.enable		= exynos4212_clk_ip_isp0_ctrl,
+		.ctrlbit	= (1 << 3),
 	}
 };
 
diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
index 0e2292d..d30643b 100644
--- a/arch/arm/mach-exynos/include/mach/map.h
+++ b/arch/arm/mach-exynos/include/mach/map.h
@@ -34,6 +34,9 @@
 
 #define EXYNOS4_PA_JPEG			0x11840000
 
+/* x = 0...1 */
+#define EXYNOS4_PA_FIMC_LITE(x)		(0x12390000 + ((x) * 0x10000))
+
 #define EXYNOS4_PA_G2D			0x12800000
 
 #define EXYNOS4_PA_I2S0			0x03830000
-- 
1.7.10

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

end of thread, other threads:[~2012-05-10 16:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 16:17 [PATCH] ARM: EXYNOS: Add platform resource definitions for FIMC-LITE Sylwester Nawrocki
2012-05-04 16:17 ` Sylwester Nawrocki
2012-05-08  5:42 ` Kukjin Kim
2012-05-08  5:42   ` Kukjin Kim
2012-05-08  7:35   ` Sylwester Nawrocki
2012-05-08  7:35     ` Sylwester Nawrocki
2012-05-08  7:43     ` Sylwester Nawrocki
2012-05-08  7:43       ` Sylwester Nawrocki
2012-05-10  9:56     ` Kukjin Kim
2012-05-10  9:56       ` Kukjin Kim
2012-05-10 10:05       ` Sylwester Nawrocki
2012-05-10 10:05         ` Sylwester Nawrocki
2012-05-10 16:05         ` nop
2012-05-10 16:05           ` nop

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.