ARM: EXYNOS: Add platform resource definitions for FIMC-LITE
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 12 May 2012 06:31:53 +0000 (15:31 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 06:32:00 +0000 (15:32 +0900)
Add the gate clocks and register region address definition
for FIMC-LITE devices available in EXYNOS4X12 SoCs.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/clock-exynos4212.c
arch/arm/mach-exynos/include/mach/map.h

index 98823120570ee1f809752e3135594776b01b2527..da397d21bbcf438cb81f73fe28adbfc7d365668f 100644 (file)
@@ -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),
        }
 };
 
index 0e2292d04550359b637d7ce011c7c7549be711ee..d30643ba27391b2d7d70c13c6384d1c2de0938df 100644 (file)
@@ -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
This page took 0.030891 seconds and 5 git commands to generate.