diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2010-08-05 05:16:31 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-06 08:28:35 -0400 |
commit | 33c14ff838c3617616112b6dd833f2d7b70d6224 (patch) | |
tree | 0e26cd9729b98a90356859789c5006f48cf5a124 /arch/arm/mach-s5pv210 | |
parent | 290d0983b86f6243beffaa3ddb02c14adc30f02a (diff) |
ARM: SAMSUNG: Add platform definitions and helpers for FIMC driver
FIMC (CAMIF) device is a camera interface embedded in S3C/S5P Samsung
SOC series. It supports ITU-R BT.601/656 and MIPI-CSI2 standards,
memory to memory operations, color conversion, resizing and rotation.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/cpu.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/include/mach/map.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 68317a4170cf..1acf9ac7ad35 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <plat/clock.h> | 33 | #include <plat/clock.h> |
34 | #include <plat/s5pv210.h> | 34 | #include <plat/s5pv210.h> |
35 | #include <plat/adc-core.h> | 35 | #include <plat/adc-core.h> |
36 | #include <plat/fimc-core.h> | ||
36 | #include <plat/iic-core.h> | 37 | #include <plat/iic-core.h> |
37 | #include <plat/sdhci.h> | 38 | #include <plat/sdhci.h> |
38 | 39 | ||
@@ -90,6 +91,10 @@ void __init s5pv210_map_io(void) | |||
90 | s3c_i2c0_setname("s3c2440-i2c"); | 91 | s3c_i2c0_setname("s3c2440-i2c"); |
91 | s3c_i2c1_setname("s3c2440-i2c"); | 92 | s3c_i2c1_setname("s3c2440-i2c"); |
92 | s3c_i2c2_setname("s3c2440-i2c"); | 93 | s3c_i2c2_setname("s3c2440-i2c"); |
94 | |||
95 | s3c_fimc_setname(0, "s5pv210-fimc"); | ||
96 | s3c_fimc_setname(1, "s5pv210-fimc"); | ||
97 | s3c_fimc_setname(2, "s5pv210-fimc"); | ||
93 | } | 98 | } |
94 | 99 | ||
95 | void __init s5pv210_init_clocks(int xtal) | 100 | void __init s5pv210_init_clocks(int xtal) |
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h index 34eb168ec950..69210bf76c47 100644 --- a/arch/arm/mach-s5pv210/include/mach/map.h +++ b/arch/arm/mach-s5pv210/include/mach/map.h | |||
@@ -60,6 +60,10 @@ | |||
60 | 60 | ||
61 | #define S5PV210_PA_FB (0xF8000000) | 61 | #define S5PV210_PA_FB (0xF8000000) |
62 | 62 | ||
63 | #define S5PV210_PA_FIMC0 (0xFB200000) | ||
64 | #define S5PV210_PA_FIMC1 (0xFB300000) | ||
65 | #define S5PV210_PA_FIMC2 (0xFB400000) | ||
66 | |||
63 | #define S5PV210_PA_HSMMC(x) (0xEB000000 + ((x) * 0x100000)) | 67 | #define S5PV210_PA_HSMMC(x) (0xEB000000 + ((x) * 0x100000)) |
64 | 68 | ||
65 | #define S5PV210_PA_VIC0 (0xF2000000) | 69 | #define S5PV210_PA_VIC0 (0xF2000000) |
@@ -102,6 +106,9 @@ | |||
102 | #define S3C_PA_IIC2 S5PV210_PA_IIC2 | 106 | #define S3C_PA_IIC2 S5PV210_PA_IIC2 |
103 | #define S3C_PA_FB S5PV210_PA_FB | 107 | #define S3C_PA_FB S5PV210_PA_FB |
104 | #define S3C_PA_WDT S5PV210_PA_WATCHDOG | 108 | #define S3C_PA_WDT S5PV210_PA_WATCHDOG |
109 | #define S5P_PA_FIMC0 S5PV210_PA_FIMC0 | ||
110 | #define S5P_PA_FIMC1 S5PV210_PA_FIMC1 | ||
111 | #define S5P_PA_FIMC2 S5PV210_PA_FIMC2 | ||
105 | 112 | ||
106 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC | 113 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC |
107 | 114 | ||