diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 19:27:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-27 19:27:28 -0400 |
commit | 1bfecd935849a45b6b47d9f011e1c278ff880512 (patch) | |
tree | 23c08a9c103c92e5a4a4cd3311823426c9d2bdf9 /arch/arm/mach-s5pv210 | |
parent | 281b05392fc2cb26209b4d85abaf4889ab1991f3 (diff) | |
parent | a754a87ce8b17024358c1be8ee0232ef09a7055f (diff) |
Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull "ARM: board specific updates" from Arnd Bergmann/Olof Johansson:
"These changes are all specific to one board only. We're trying to
keep the number of board files low, but generally board level updates
are ok on platforms that are working on moving towards DT based
probing, which will eventually lead to removing them.
The board-ams-delta.c board file gets a conflict between the removal
of ams_delta_config and the addition of a lot of other data. The
Kconfig file has two changes in the same line, and in exynos, the
power domain cleanup conflicts with the addition of the image sensor
device.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[olof: Amended a fix for a mismerge to board-omap4panda.c]
Signed-off-by: Olof Johansson <olof@lixom.net>"
Fixed up some fairly trivial conflicts manually.
* tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (82 commits)
i.MX35-PDK: Add Camera support
ARM : mx35: 3ds-board: add framebuffer device
pxa/hx4700: Remove pcmcia platform_device structure
ARM: pxa/hx4700: Reduce sleep mode battery discharge by 35%
ARM: pxa/hx4700: Remove unwanted request for GPIO105
ARM: EXYNOS: support Exynos4210-bus Devfreq driver on Nuri board
ARM: EXYNOS: Register JPEG on nuri
ARM: EXYNOS: Register JPEG on universal_c210
ARM: S5PV210: Enable JPEG on SMDKV210
ARM: S5PV210: Add JPEG board definition
ARM: EXYNOS: Enable JPEG on Origen
ARM: EXYNOS: Enable JPEG on SMDKV310
ARM: EXYNOS: Add __init attribute to universal_camera_init()
ARM: EXYNOS: Add __init attribute to nuri_camera_init()
ARM: S5PV210: Enable FIMC on SMDKC110
ARM: S5PV210: Enable FIMC on SMDKV210
ARM: S5PV210: Enable MFC on SMDKC110
ARM: S5PV210: Enable MFC on SMDKV210
ARM: EXYNOS: Enable G2D on SMDKV310
ARM: tegra: update defconfig
...
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/Kconfig | 9 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/clock.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/include/mach/map.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkc110.c | 14 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 15 |
6 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig index 82525e3831e9..29594fc4fdf4 100644 --- a/arch/arm/mach-s5pv210/Kconfig +++ b/arch/arm/mach-s5pv210/Kconfig | |||
@@ -124,6 +124,10 @@ config MACH_SMDKC110 | |||
124 | select S3C_DEV_I2C2 | 124 | select S3C_DEV_I2C2 |
125 | select S3C_DEV_RTC | 125 | select S3C_DEV_RTC |
126 | select S3C_DEV_WDT | 126 | select S3C_DEV_WDT |
127 | select S5P_DEV_FIMC0 | ||
128 | select S5P_DEV_FIMC1 | ||
129 | select S5P_DEV_FIMC2 | ||
130 | select S5P_DEV_MFC | ||
127 | select SAMSUNG_DEV_IDE | 131 | select SAMSUNG_DEV_IDE |
128 | select S5PV210_SETUP_I2C1 | 132 | select S5PV210_SETUP_I2C1 |
129 | select S5PV210_SETUP_I2C2 | 133 | select S5PV210_SETUP_I2C2 |
@@ -148,6 +152,11 @@ config MACH_SMDKV210 | |||
148 | select S3C_DEV_I2C2 | 152 | select S3C_DEV_I2C2 |
149 | select S3C_DEV_RTC | 153 | select S3C_DEV_RTC |
150 | select S3C_DEV_WDT | 154 | select S3C_DEV_WDT |
155 | select S5P_DEV_FIMC0 | ||
156 | select S5P_DEV_FIMC1 | ||
157 | select S5P_DEV_FIMC2 | ||
158 | select S5P_DEV_JPEG | ||
159 | select S5P_DEV_MFC | ||
151 | select SAMSUNG_DEV_ADC | 160 | select SAMSUNG_DEV_ADC |
152 | select SAMSUNG_DEV_BACKLIGHT | 161 | select SAMSUNG_DEV_BACKLIGHT |
153 | select SAMSUNG_DEV_IDE | 162 | select SAMSUNG_DEV_IDE |
diff --git a/arch/arm/mach-s5pv210/clock.c b/arch/arm/mach-s5pv210/clock.c index b9ec0c35379f..09609d50961d 100644 --- a/arch/arm/mach-s5pv210/clock.c +++ b/arch/arm/mach-s5pv210/clock.c | |||
@@ -340,6 +340,11 @@ static struct clk init_clocks_off[] = { | |||
340 | .enable = s5pv210_clk_ip0_ctrl, | 340 | .enable = s5pv210_clk_ip0_ctrl, |
341 | .ctrlbit = (1 << 26), | 341 | .ctrlbit = (1 << 26), |
342 | }, { | 342 | }, { |
343 | .name = "jpeg", | ||
344 | .parent = &clk_hclk_dsys.clk, | ||
345 | .enable = s5pv210_clk_ip0_ctrl, | ||
346 | .ctrlbit = (1 << 28), | ||
347 | }, { | ||
343 | .name = "mfc", | 348 | .name = "mfc", |
344 | .devname = "s5p-mfc", | 349 | .devname = "s5p-mfc", |
345 | .parent = &clk_pclk_psys.clk, | 350 | .parent = &clk_pclk_psys.clk, |
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h index 89c34b8f73bf..b7c8a1917ffc 100644 --- a/arch/arm/mach-s5pv210/include/mach/map.h +++ b/arch/arm/mach-s5pv210/include/mach/map.h | |||
@@ -90,6 +90,8 @@ | |||
90 | #define S5PV210_PA_FIMC1 0xFB300000 | 90 | #define S5PV210_PA_FIMC1 0xFB300000 |
91 | #define S5PV210_PA_FIMC2 0xFB400000 | 91 | #define S5PV210_PA_FIMC2 0xFB400000 |
92 | 92 | ||
93 | #define S5PV210_PA_JPEG 0xFB600000 | ||
94 | |||
93 | #define S5PV210_PA_SDO 0xF9000000 | 95 | #define S5PV210_PA_SDO 0xF9000000 |
94 | #define S5PV210_PA_VP 0xF9100000 | 96 | #define S5PV210_PA_VP 0xF9100000 |
95 | #define S5PV210_PA_MIXER 0xF9200000 | 97 | #define S5PV210_PA_MIXER 0xF9200000 |
@@ -132,6 +134,8 @@ | |||
132 | #define S5P_PA_SYSCON S5PV210_PA_SYSCON | 134 | #define S5P_PA_SYSCON S5PV210_PA_SYSCON |
133 | #define S5P_PA_TIMER S5PV210_PA_TIMER | 135 | #define S5P_PA_TIMER S5PV210_PA_TIMER |
134 | 136 | ||
137 | #define S5P_PA_JPEG S5PV210_PA_JPEG | ||
138 | |||
135 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC | 139 | #define SAMSUNG_PA_ADC S5PV210_PA_ADC |
136 | #define SAMSUNG_PA_CFCON S5PV210_PA_CFCON | 140 | #define SAMSUNG_PA_CFCON S5PV210_PA_CFCON |
137 | #define SAMSUNG_PA_KEYPAD S5PV210_PA_KEYPAD | 141 | #define SAMSUNG_PA_KEYPAD S5PV210_PA_KEYPAD |
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index 5e734d025a6a..a9ea64e0da0d 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -616,6 +616,7 @@ static struct platform_device *aquila_devices[] __initdata = { | |||
616 | &s5p_device_fimc0, | 616 | &s5p_device_fimc0, |
617 | &s5p_device_fimc1, | 617 | &s5p_device_fimc1, |
618 | &s5p_device_fimc2, | 618 | &s5p_device_fimc2, |
619 | &s5p_device_fimc_md, | ||
619 | &s5pv210_device_iis0, | 620 | &s5pv210_device_iis0, |
620 | &wm8994_fixed_voltage0, | 621 | &wm8994_fixed_voltage0, |
621 | &wm8994_fixed_voltage1, | 622 | &wm8994_fixed_voltage1, |
diff --git a/arch/arm/mach-s5pv210/mach-smdkc110.c b/arch/arm/mach-s5pv210/mach-smdkc110.c index b323983b2c54..dfc29236321c 100644 --- a/arch/arm/mach-s5pv210/mach-smdkc110.c +++ b/arch/arm/mach-s5pv210/mach-smdkc110.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <plat/iic.h> | 31 | #include <plat/iic.h> |
32 | #include <plat/pm.h> | 32 | #include <plat/pm.h> |
33 | #include <plat/s5p-time.h> | 33 | #include <plat/s5p-time.h> |
34 | #include <plat/mfc.h> | ||
34 | 35 | ||
35 | #include "common.h" | 36 | #include "common.h" |
36 | 37 | ||
@@ -94,6 +95,13 @@ static struct platform_device *smdkc110_devices[] __initdata = { | |||
94 | &s3c_device_i2c2, | 95 | &s3c_device_i2c2, |
95 | &s3c_device_rtc, | 96 | &s3c_device_rtc, |
96 | &s3c_device_wdt, | 97 | &s3c_device_wdt, |
98 | &s5p_device_fimc0, | ||
99 | &s5p_device_fimc1, | ||
100 | &s5p_device_fimc2, | ||
101 | &s5p_device_fimc_md, | ||
102 | &s5p_device_mfc, | ||
103 | &s5p_device_mfc_l, | ||
104 | &s5p_device_mfc_r, | ||
97 | }; | 105 | }; |
98 | 106 | ||
99 | static struct i2c_board_info smdkc110_i2c_devs0[] __initdata = { | 107 | static struct i2c_board_info smdkc110_i2c_devs0[] __initdata = { |
@@ -117,6 +125,11 @@ static void __init smdkc110_map_io(void) | |||
117 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 125 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
118 | } | 126 | } |
119 | 127 | ||
128 | static void __init smdkc110_reserve(void) | ||
129 | { | ||
130 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
131 | } | ||
132 | |||
120 | static void __init smdkc110_machine_init(void) | 133 | static void __init smdkc110_machine_init(void) |
121 | { | 134 | { |
122 | s3c_pm_init(); | 135 | s3c_pm_init(); |
@@ -145,4 +158,5 @@ MACHINE_START(SMDKC110, "SMDKC110") | |||
145 | .init_machine = smdkc110_machine_init, | 158 | .init_machine = smdkc110_machine_init, |
146 | .timer = &s5p_timer, | 159 | .timer = &s5p_timer, |
147 | .restart = s5pv210_restart, | 160 | .restart = s5pv210_restart, |
161 | .reserve = &smdkc110_reserve, | ||
148 | MACHINE_END | 162 | MACHINE_END |
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index 0933c8e1eb7b..91d4ad8bcc73 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include <plat/s5p-time.h> | 46 | #include <plat/s5p-time.h> |
47 | #include <plat/backlight.h> | 47 | #include <plat/backlight.h> |
48 | #include <plat/regs-fb-v4.h> | 48 | #include <plat/regs-fb-v4.h> |
49 | #include <plat/mfc.h> | ||
49 | 50 | ||
50 | #include "common.h" | 51 | #include "common.h" |
51 | 52 | ||
@@ -223,6 +224,14 @@ static struct platform_device *smdkv210_devices[] __initdata = { | |||
223 | &s3c_device_rtc, | 224 | &s3c_device_rtc, |
224 | &s3c_device_ts, | 225 | &s3c_device_ts, |
225 | &s3c_device_wdt, | 226 | &s3c_device_wdt, |
227 | &s5p_device_fimc0, | ||
228 | &s5p_device_fimc1, | ||
229 | &s5p_device_fimc2, | ||
230 | &s5p_device_fimc_md, | ||
231 | &s5p_device_jpeg, | ||
232 | &s5p_device_mfc, | ||
233 | &s5p_device_mfc_l, | ||
234 | &s5p_device_mfc_r, | ||
226 | &s5pv210_device_ac97, | 235 | &s5pv210_device_ac97, |
227 | &s5pv210_device_iis0, | 236 | &s5pv210_device_iis0, |
228 | &s5pv210_device_spdif, | 237 | &s5pv210_device_spdif, |
@@ -282,6 +291,11 @@ static void __init smdkv210_map_io(void) | |||
282 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); | 291 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); |
283 | } | 292 | } |
284 | 293 | ||
294 | static void __init smdkv210_reserve(void) | ||
295 | { | ||
296 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
297 | } | ||
298 | |||
285 | static void __init smdkv210_machine_init(void) | 299 | static void __init smdkv210_machine_init(void) |
286 | { | 300 | { |
287 | s3c_pm_init(); | 301 | s3c_pm_init(); |
@@ -319,4 +333,5 @@ MACHINE_START(SMDKV210, "SMDKV210") | |||
319 | .init_machine = smdkv210_machine_init, | 333 | .init_machine = smdkv210_machine_init, |
320 | .timer = &s5p_timer, | 334 | .timer = &s5p_timer, |
321 | .restart = s5pv210_restart, | 335 | .restart = s5pv210_restart, |
336 | .reserve = &smdkv210_reserve, | ||
322 | MACHINE_END | 337 | MACHINE_END |