diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 132 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Makefile | 27 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 140 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 13 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-clock.c (renamed from arch/arm/plat-s5p/clock.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-dev-mfc.c (renamed from arch/arm/plat-s5p/dev-mfc.c) | 4 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-dev-uart.c (renamed from arch/arm/plat-s5p/dev-uart.c) | 78 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq-eint.c (renamed from arch/arm/plat-s5p/irq-eint.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq-gpioint.c (renamed from arch/arm/plat-s5p/irq-gpioint.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq-pm.c (renamed from arch/arm/plat-s5p/irq-pm.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq.c (renamed from arch/arm/plat-s5p/irq.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-pm.c (renamed from arch/arm/plat-s5p/pm.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-sleep.S (renamed from arch/arm/plat-s5p/sleep.S) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-time.c (renamed from arch/arm/plat-s5p/s5p-time.c) | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/setup-mipiphy.c (renamed from arch/arm/plat-s5p/setup-mipiphy.c) | 0 |
17 files changed, 178 insertions, 243 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 75066ed1f649..716cafada2df 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1089,7 +1089,6 @@ source "arch/arm/mach-sa1100/Kconfig" | |||
1089 | 1089 | ||
1090 | source "arch/arm/plat-samsung/Kconfig" | 1090 | source "arch/arm/plat-samsung/Kconfig" |
1091 | source "arch/arm/plat-s3c24xx/Kconfig" | 1091 | source "arch/arm/plat-s3c24xx/Kconfig" |
1092 | source "arch/arm/plat-s5p/Kconfig" | ||
1093 | 1092 | ||
1094 | source "arch/arm/plat-spear/Kconfig" | 1093 | source "arch/arm/plat-spear/Kconfig" |
1095 | 1094 | ||
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 2aa75b58bf12..fcc2170d2cd7 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -211,7 +211,7 @@ plat-$(CONFIG_PLAT_NOMADIK) := nomadik | |||
211 | plat-$(CONFIG_PLAT_ORION) := orion | 211 | plat-$(CONFIG_PLAT_ORION) := orion |
212 | plat-$(CONFIG_PLAT_PXA) := pxa | 212 | plat-$(CONFIG_PLAT_PXA) := pxa |
213 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung | 213 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung |
214 | plat-$(CONFIG_PLAT_S5P) := s5p samsung | 214 | plat-$(CONFIG_PLAT_S5P) := samsung |
215 | plat-$(CONFIG_PLAT_SPEAR) := spear | 215 | plat-$(CONFIG_PLAT_SPEAR) := spear |
216 | plat-$(CONFIG_PLAT_VERSATILE) := versatile | 216 | plat-$(CONFIG_PLAT_VERSATILE) := versatile |
217 | 217 | ||
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig deleted file mode 100644 index 2c1193c59928..000000000000 --- a/arch/arm/plat-s5p/Kconfig +++ /dev/null | |||
@@ -1,132 +0,0 @@ | |||
1 | # arch/arm/plat-s5p/Kconfig | ||
2 | # | ||
3 | # Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Licensed under GPLv2 | ||
7 | |||
8 | config PLAT_S5P | ||
9 | bool | ||
10 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | ||
11 | default y | ||
12 | select ARM_VIC if !ARCH_EXYNOS | ||
13 | select ARM_GIC if ARCH_EXYNOS | ||
14 | select GIC_NON_BANKED if ARCH_EXYNOS4 | ||
15 | select NO_IOPORT | ||
16 | select ARCH_REQUIRE_GPIOLIB | ||
17 | select S3C_GPIO_TRACK | ||
18 | select S5P_GPIO_DRVSTR | ||
19 | select SAMSUNG_GPIOLIB_4BIT | ||
20 | select PLAT_SAMSUNG | ||
21 | select SAMSUNG_CLKSRC | ||
22 | select SAMSUNG_IRQ_VIC_TIMER | ||
23 | help | ||
24 | Base platform code for Samsung's S5P series SoC. | ||
25 | |||
26 | config S5P_EXT_INT | ||
27 | bool | ||
28 | help | ||
29 | Use the external interrupts (other than GPIO interrupts.) | ||
30 | Note: Do not choose this for S5P6440 and S5P6450. | ||
31 | |||
32 | config S5P_GPIO_INT | ||
33 | bool | ||
34 | help | ||
35 | Common code for the GPIO interrupts (other than external interrupts.) | ||
36 | |||
37 | config S5P_HRT | ||
38 | bool | ||
39 | select SAMSUNG_DEV_PWM | ||
40 | help | ||
41 | Use the High Resolution timer support | ||
42 | |||
43 | config S5P_DEV_UART | ||
44 | def_bool y | ||
45 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) | ||
46 | |||
47 | config S5P_PM | ||
48 | bool | ||
49 | help | ||
50 | Common code for power management support on S5P and newer SoCs | ||
51 | Note: Do not select this for S5P6440 and S5P6450. | ||
52 | |||
53 | config S5P_SLEEP | ||
54 | bool | ||
55 | help | ||
56 | Internal config node to apply common S5P sleep management code. | ||
57 | Can be selected by S5P and newer SoCs with similar sleep procedure. | ||
58 | |||
59 | config S5P_DEV_FIMC0 | ||
60 | bool | ||
61 | help | ||
62 | Compile in platform device definitions for FIMC controller 0 | ||
63 | |||
64 | config S5P_DEV_FIMC1 | ||
65 | bool | ||
66 | help | ||
67 | Compile in platform device definitions for FIMC controller 1 | ||
68 | |||
69 | config S5P_DEV_FIMC2 | ||
70 | bool | ||
71 | help | ||
72 | Compile in platform device definitions for FIMC controller 2 | ||
73 | |||
74 | config S5P_DEV_FIMC3 | ||
75 | bool | ||
76 | help | ||
77 | Compile in platform device definitions for FIMC controller 3 | ||
78 | |||
79 | config S5P_DEV_JPEG | ||
80 | bool | ||
81 | help | ||
82 | Compile in platform device definitions for JPEG codec | ||
83 | |||
84 | config S5P_DEV_G2D | ||
85 | bool | ||
86 | help | ||
87 | Compile in platform device definitions for G2D device | ||
88 | |||
89 | config S5P_DEV_FIMD0 | ||
90 | bool | ||
91 | help | ||
92 | Compile in platform device definitions for FIMD controller 0 | ||
93 | |||
94 | config S5P_DEV_I2C_HDMIPHY | ||
95 | bool | ||
96 | help | ||
97 | Compile in platform device definitions for I2C HDMIPHY controller | ||
98 | |||
99 | config S5P_DEV_MFC | ||
100 | bool | ||
101 | help | ||
102 | Compile in platform device definitions for MFC | ||
103 | |||
104 | config S5P_DEV_ONENAND | ||
105 | bool | ||
106 | help | ||
107 | Compile in platform device definition for OneNAND controller | ||
108 | |||
109 | config S5P_DEV_CSIS0 | ||
110 | bool | ||
111 | help | ||
112 | Compile in platform device definitions for MIPI-CSIS channel 0 | ||
113 | |||
114 | config S5P_DEV_CSIS1 | ||
115 | bool | ||
116 | help | ||
117 | Compile in platform device definitions for MIPI-CSIS channel 1 | ||
118 | |||
119 | config S5P_DEV_TV | ||
120 | bool | ||
121 | help | ||
122 | Compile in platform device definition for TV interface | ||
123 | |||
124 | config S5P_DEV_USB_EHCI | ||
125 | bool | ||
126 | help | ||
127 | Compile in platform device definition for USB EHCI | ||
128 | |||
129 | config S5P_SETUP_MIPIPHY | ||
130 | bool | ||
131 | help | ||
132 | Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices | ||
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile deleted file mode 100644 index 4953d50707be..000000000000 --- a/arch/arm/plat-s5p/Makefile +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | # arch/arm/plat-s5p/Makefile | ||
2 | # | ||
3 | # Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
4 | # http://www.samsung.com/ | ||
5 | # | ||
6 | # Licensed under GPLv2 | ||
7 | |||
8 | obj-y := | ||
9 | obj-m := | ||
10 | obj-n := dummy.o | ||
11 | obj- := | ||
12 | |||
13 | # Core files | ||
14 | |||
15 | obj-y += clock.o | ||
16 | obj-y += irq.o | ||
17 | obj-$(CONFIG_S5P_EXT_INT) += irq-eint.o | ||
18 | obj-$(CONFIG_S5P_GPIO_INT) += irq-gpioint.o | ||
19 | obj-$(CONFIG_S5P_PM) += pm.o irq-pm.o | ||
20 | obj-$(CONFIG_S5P_SLEEP) += sleep.o | ||
21 | obj-$(CONFIG_S5P_HRT) += s5p-time.o | ||
22 | |||
23 | # devices | ||
24 | |||
25 | obj-$(CONFIG_S5P_DEV_UART) += dev-uart.o | ||
26 | obj-$(CONFIG_S5P_DEV_MFC) += dev-mfc.o | ||
27 | obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 77e65b483f90..a2fae4ea0936 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -13,6 +13,24 @@ config PLAT_SAMSUNG | |||
13 | help | 13 | help |
14 | Base platform code for all Samsung SoC based systems | 14 | Base platform code for all Samsung SoC based systems |
15 | 15 | ||
16 | config PLAT_S5P | ||
17 | bool | ||
18 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | ||
19 | default y | ||
20 | select ARM_VIC if !ARCH_EXYNOS | ||
21 | select ARM_GIC if ARCH_EXYNOS | ||
22 | select GIC_NON_BANKED if ARCH_EXYNOS4 | ||
23 | select NO_IOPORT | ||
24 | select ARCH_REQUIRE_GPIOLIB | ||
25 | select S3C_GPIO_TRACK | ||
26 | select S5P_GPIO_DRVSTR | ||
27 | select SAMSUNG_GPIOLIB_4BIT | ||
28 | select PLAT_SAMSUNG | ||
29 | select SAMSUNG_CLKSRC | ||
30 | select SAMSUNG_IRQ_VIC_TIMER | ||
31 | help | ||
32 | Base platform code for Samsung's S5P series SoC. | ||
33 | |||
16 | if PLAT_SAMSUNG | 34 | if PLAT_SAMSUNG |
17 | 35 | ||
18 | # boot configurations | 36 | # boot configurations |
@@ -50,6 +68,14 @@ config S3C_LOWLEVEL_UART_PORT | |||
50 | this configuration should be between zero and two. The port | 68 | this configuration should be between zero and two. The port |
51 | must have been initialised by the boot-loader before use. | 69 | must have been initialised by the boot-loader before use. |
52 | 70 | ||
71 | # timer options | ||
72 | |||
73 | config S5P_HRT | ||
74 | bool | ||
75 | select SAMSUNG_DEV_PWM | ||
76 | help | ||
77 | Use the High Resolution timer support | ||
78 | |||
53 | # clock options | 79 | # clock options |
54 | 80 | ||
55 | config SAMSUNG_CLKSRC | 81 | config SAMSUNG_CLKSRC |
@@ -58,6 +84,11 @@ config SAMSUNG_CLKSRC | |||
58 | Select the clock code for the clksrc implementation | 84 | Select the clock code for the clksrc implementation |
59 | used by newer systems such as the S3C64XX. | 85 | used by newer systems such as the S3C64XX. |
60 | 86 | ||
87 | config S5P_CLOCK | ||
88 | def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | ||
89 | help | ||
90 | Support common clock part for ARCH_S5P and ARCH_EXYNOS SoCs | ||
91 | |||
61 | # options for IRQ support | 92 | # options for IRQ support |
62 | 93 | ||
63 | config SAMSUNG_IRQ_VIC_TIMER | 94 | config SAMSUNG_IRQ_VIC_TIMER |
@@ -65,6 +96,22 @@ config SAMSUNG_IRQ_VIC_TIMER | |||
65 | help | 96 | help |
66 | Internal configuration to build the VIC timer interrupt code. | 97 | Internal configuration to build the VIC timer interrupt code. |
67 | 98 | ||
99 | config S5P_IRQ | ||
100 | def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | ||
101 | help | ||
102 | Support common interrup part for ARCH_S5P and ARCH_EXYNOS SoCs | ||
103 | |||
104 | config S5P_EXT_INT | ||
105 | bool | ||
106 | help | ||
107 | Use the external interrupts (other than GPIO interrupts.) | ||
108 | Note: Do not choose this for S5P6440 and S5P6450. | ||
109 | |||
110 | config S5P_GPIO_INT | ||
111 | bool | ||
112 | help | ||
113 | Common code for the GPIO interrupts (other than external interrupts.) | ||
114 | |||
68 | # options for gpio configuration support | 115 | # options for gpio configuration support |
69 | 116 | ||
70 | config SAMSUNG_GPIOLIB_4BIT | 117 | config SAMSUNG_GPIOLIB_4BIT |
@@ -117,6 +164,12 @@ config S3C_GPIO_TRACK | |||
117 | Internal configuration option to enable the s3c specific gpio | 164 | Internal configuration option to enable the s3c specific gpio |
118 | chip tracking if the platform requires it. | 165 | chip tracking if the platform requires it. |
119 | 166 | ||
167 | # uart options | ||
168 | |||
169 | config S5P_DEV_UART | ||
170 | def_bool y | ||
171 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) | ||
172 | |||
120 | # ADC driver | 173 | # ADC driver |
121 | 174 | ||
122 | config S3C_ADC | 175 | config S3C_ADC |
@@ -274,6 +327,76 @@ config SAMSUNG_DEV_BACKLIGHT | |||
274 | help | 327 | help |
275 | Compile in platform device definition LCD backlight with PWM Timer | 328 | Compile in platform device definition LCD backlight with PWM Timer |
276 | 329 | ||
330 | config S5P_DEV_CSIS0 | ||
331 | bool | ||
332 | help | ||
333 | Compile in platform device definitions for MIPI-CSIS channel 0 | ||
334 | |||
335 | config S5P_DEV_CSIS1 | ||
336 | bool | ||
337 | help | ||
338 | Compile in platform device definitions for MIPI-CSIS channel 1 | ||
339 | |||
340 | config S5P_DEV_FIMC0 | ||
341 | bool | ||
342 | help | ||
343 | Compile in platform device definitions for FIMC controller 0 | ||
344 | |||
345 | config S5P_DEV_FIMC1 | ||
346 | bool | ||
347 | help | ||
348 | Compile in platform device definitions for FIMC controller 1 | ||
349 | |||
350 | config S5P_DEV_FIMC2 | ||
351 | bool | ||
352 | help | ||
353 | Compile in platform device definitions for FIMC controller 2 | ||
354 | |||
355 | config S5P_DEV_FIMC3 | ||
356 | bool | ||
357 | help | ||
358 | Compile in platform device definitions for FIMC controller 3 | ||
359 | |||
360 | config S5P_DEV_FIMD0 | ||
361 | bool | ||
362 | help | ||
363 | Compile in platform device definitions for FIMD controller 0 | ||
364 | |||
365 | config S5P_DEV_G2D | ||
366 | bool | ||
367 | help | ||
368 | Compile in platform device definitions for G2D device | ||
369 | |||
370 | config S5P_DEV_I2C_HDMIPHY | ||
371 | bool | ||
372 | help | ||
373 | Compile in platform device definitions for I2C HDMIPHY controller | ||
374 | |||
375 | config S5P_DEV_JPEG | ||
376 | bool | ||
377 | help | ||
378 | Compile in platform device definitions for JPEG codec | ||
379 | |||
380 | config S5P_DEV_MFC | ||
381 | bool | ||
382 | help | ||
383 | Compile in setup memory (init) code for MFC | ||
384 | |||
385 | config S5P_DEV_ONENAND | ||
386 | bool | ||
387 | help | ||
388 | Compile in platform device definition for OneNAND controller | ||
389 | |||
390 | config S5P_DEV_TV | ||
391 | bool | ||
392 | help | ||
393 | Compile in platform device definition for TV interface | ||
394 | |||
395 | config S5P_DEV_USB_EHCI | ||
396 | bool | ||
397 | help | ||
398 | Compile in platform device definition for USB EHCI | ||
399 | |||
277 | config S3C24XX_PWM | 400 | config S3C24XX_PWM |
278 | bool "PWM device support" | 401 | bool "PWM device support" |
279 | select HAVE_PWM | 402 | select HAVE_PWM |
@@ -281,6 +404,11 @@ config S3C24XX_PWM | |||
281 | Support for exporting the PWM timer blocks via the pwm device | 404 | Support for exporting the PWM timer blocks via the pwm device |
282 | system | 405 | system |
283 | 406 | ||
407 | config S5P_SETUP_MIPIPHY | ||
408 | bool | ||
409 | help | ||
410 | Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices | ||
411 | |||
284 | # DMA | 412 | # DMA |
285 | 413 | ||
286 | config S3C_DMA | 414 | config S3C_DMA |
@@ -351,6 +479,18 @@ config SAMSUNG_WAKEMASK | |||
351 | and above. This code allows a set of interrupt to wakeup-mask | 479 | and above. This code allows a set of interrupt to wakeup-mask |
352 | mappings. See <plat/wakeup-mask.h> | 480 | mappings. See <plat/wakeup-mask.h> |
353 | 481 | ||
482 | config S5P_PM | ||
483 | bool | ||
484 | help | ||
485 | Common code for power management support on S5P and newer SoCs | ||
486 | Note: Do not select this for S5P6440 and S5P6450. | ||
487 | |||
488 | config S5P_SLEEP | ||
489 | bool | ||
490 | help | ||
491 | Internal config node to apply common S5P sleep management code. | ||
492 | Can be selected by S5P and newer SoCs with similar sleep procedure. | ||
493 | |||
354 | comment "Power Domain" | 494 | comment "Power Domain" |
355 | 495 | ||
356 | config SAMSUNG_PD | 496 | config SAMSUNG_PD |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index 6012366f33cb..860b2db4db15 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -13,12 +13,18 @@ obj- := | |||
13 | 13 | ||
14 | obj-y += init.o cpu.o | 14 | obj-y += init.o cpu.o |
15 | obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o | 15 | obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o |
16 | obj-$(CONFIG_S5P_HRT) += s5p-time.o | ||
17 | |||
16 | obj-y += clock.o | 18 | obj-y += clock.o |
17 | obj-y += pwm-clock.o | 19 | obj-y += pwm-clock.o |
18 | 20 | ||
19 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o | 21 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o |
22 | obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o | ||
20 | 23 | ||
21 | obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o | 24 | obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o |
25 | obj-$(CONFIG_S5P_IRQ) += s5p-irq.o | ||
26 | obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o | ||
27 | obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o | ||
22 | 28 | ||
23 | # ADC | 29 | # ADC |
24 | 30 | ||
@@ -30,9 +36,13 @@ obj-y += platformdata.o | |||
30 | 36 | ||
31 | obj-y += devs.o | 37 | obj-y += devs.o |
32 | obj-y += dev-uart.o | 38 | obj-y += dev-uart.o |
39 | obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o | ||
40 | obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o | ||
33 | 41 | ||
34 | obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o | 42 | obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o |
35 | 43 | ||
44 | obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o | ||
45 | |||
36 | # DMA support | 46 | # DMA support |
37 | 47 | ||
38 | obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o | 48 | obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o |
@@ -47,6 +57,9 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o | |||
47 | 57 | ||
48 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o | 58 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o |
49 | 59 | ||
60 | obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o | ||
61 | obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o | ||
62 | |||
50 | # PD support | 63 | # PD support |
51 | 64 | ||
52 | obj-$(CONFIG_SAMSUNG_PD) += pd.o | 65 | obj-$(CONFIG_SAMSUNG_PD) += pd.o |
diff --git a/arch/arm/plat-s5p/clock.c b/arch/arm/plat-samsung/s5p-clock.c index f68a9bb11948..41d3dfd5dddb 100644 --- a/arch/arm/plat-s5p/clock.c +++ b/arch/arm/plat-samsung/s5p-clock.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/clock.c | 1 | /* |
2 | * | ||
3 | * Copyright 2009 Samsung Electronics Co., Ltd. | 2 | * Copyright 2009 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 3 | * http://www.samsung.com/ |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/dev-mfc.c b/arch/arm/plat-samsung/s5p-dev-mfc.c index a30d36b7f61b..ad6089465e2a 100644 --- a/arch/arm/plat-s5p/dev-mfc.c +++ b/arch/arm/plat-samsung/s5p-dev-mfc.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/dev-mfc.c | 1 | /* |
2 | * | ||
3 | * Copyright (C) 2010-2011 Samsung Electronics Co.Ltd | 2 | * Copyright (C) 2010-2011 Samsung Electronics Co.Ltd |
4 | * | 3 | * |
5 | * Base S5P MFC resource and device definitions | 4 | * Base S5P MFC resource and device definitions |
@@ -9,7 +8,6 @@ | |||
9 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
10 | */ | 9 | */ |
11 | 10 | ||
12 | |||
13 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
14 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
15 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
diff --git a/arch/arm/plat-s5p/dev-uart.c b/arch/arm/plat-samsung/s5p-dev-uart.c index c9308db36183..cafa3deddcc1 100644 --- a/arch/arm/plat-s5p/dev-uart.c +++ b/arch/arm/plat-samsung/s5p-dev-uart.c | |||
@@ -1,6 +1,5 @@ | |||
1 | /* linux/arch/arm/plat-s5p/dev-uart.c | 1 | /* |
2 | * | 2 | * Copyright (c) 2009,2012 Samsung Electronics Co., Ltd. |
3 | * Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
4 | * http://www.samsung.com/ | 3 | * http://www.samsung.com/ |
5 | * | 4 | * |
6 | * Base S5P UART resource and device definitions | 5 | * Base S5P UART resource and device definitions |
@@ -14,6 +13,7 @@ | |||
14 | #include <linux/types.h> | 13 | #include <linux/types.h> |
15 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
16 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include <linux/ioport.h> | ||
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | 18 | ||
19 | #include <asm/mach/arch.h> | 19 | #include <asm/mach/arch.h> |
@@ -26,86 +26,38 @@ | |||
26 | /* Serial port registrations */ | 26 | /* Serial port registrations */ |
27 | 27 | ||
28 | static struct resource s5p_uart0_resource[] = { | 28 | static struct resource s5p_uart0_resource[] = { |
29 | [0] = { | 29 | [0] = DEFINE_RES_MEM(S5P_PA_UART0, S5P_SZ_UART), |
30 | .start = S5P_PA_UART0, | 30 | [1] = DEFINE_RES_IRQ(IRQ_UART0), |
31 | .end = S5P_PA_UART0 + S5P_SZ_UART - 1, | ||
32 | .flags = IORESOURCE_MEM, | ||
33 | }, | ||
34 | [1] = { | ||
35 | .start = IRQ_UART0, | ||
36 | .end = IRQ_UART0, | ||
37 | .flags = IORESOURCE_IRQ, | ||
38 | }, | ||
39 | }; | 31 | }; |
40 | 32 | ||
41 | static struct resource s5p_uart1_resource[] = { | 33 | static struct resource s5p_uart1_resource[] = { |
42 | [0] = { | 34 | [0] = DEFINE_RES_MEM(S5P_PA_UART1, S5P_SZ_UART), |
43 | .start = S5P_PA_UART1, | 35 | [1] = DEFINE_RES_IRQ(IRQ_UART1), |
44 | .end = S5P_PA_UART1 + S5P_SZ_UART - 1, | ||
45 | .flags = IORESOURCE_MEM, | ||
46 | }, | ||
47 | [1] = { | ||
48 | .start = IRQ_UART1, | ||
49 | .end = IRQ_UART1, | ||
50 | .flags = IORESOURCE_IRQ, | ||
51 | }, | ||
52 | }; | 36 | }; |
53 | 37 | ||
54 | static struct resource s5p_uart2_resource[] = { | 38 | static struct resource s5p_uart2_resource[] = { |
55 | [0] = { | 39 | [0] = DEFINE_RES_MEM(S5P_PA_UART2, S5P_SZ_UART), |
56 | .start = S5P_PA_UART2, | 40 | [1] = DEFINE_RES_IRQ(IRQ_UART2), |
57 | .end = S5P_PA_UART2 + S5P_SZ_UART - 1, | ||
58 | .flags = IORESOURCE_MEM, | ||
59 | }, | ||
60 | [1] = { | ||
61 | .start = IRQ_UART2, | ||
62 | .end = IRQ_UART2, | ||
63 | .flags = IORESOURCE_IRQ, | ||
64 | }, | ||
65 | }; | 41 | }; |
66 | 42 | ||
67 | static struct resource s5p_uart3_resource[] = { | 43 | static struct resource s5p_uart3_resource[] = { |
68 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 3 | 44 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 3 |
69 | [0] = { | 45 | [0] = DEFINE_RES_MEM(S5P_PA_UART3, S5P_SZ_UART), |
70 | .start = S5P_PA_UART3, | 46 | [1] = DEFINE_RES_IRQ(IRQ_UART3), |
71 | .end = S5P_PA_UART3 + S5P_SZ_UART - 1, | ||
72 | .flags = IORESOURCE_MEM, | ||
73 | }, | ||
74 | [1] = { | ||
75 | .start = IRQ_UART3, | ||
76 | .end = IRQ_UART3, | ||
77 | .flags = IORESOURCE_IRQ, | ||
78 | }, | ||
79 | #endif | 47 | #endif |
80 | }; | 48 | }; |
81 | 49 | ||
82 | static struct resource s5p_uart4_resource[] = { | 50 | static struct resource s5p_uart4_resource[] = { |
83 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 4 | 51 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 4 |
84 | [0] = { | 52 | [0] = DEFINE_RES_MEM(S5P_PA_UART4, S5P_SZ_UART), |
85 | .start = S5P_PA_UART4, | 53 | [1] = DEFINE_RES_IRQ(IRQ_UART4), |
86 | .end = S5P_PA_UART4 + S5P_SZ_UART - 1, | ||
87 | .flags = IORESOURCE_MEM, | ||
88 | }, | ||
89 | [1] = { | ||
90 | .start = IRQ_UART4, | ||
91 | .end = IRQ_UART4, | ||
92 | .flags = IORESOURCE_IRQ, | ||
93 | }, | ||
94 | #endif | 54 | #endif |
95 | }; | 55 | }; |
96 | 56 | ||
97 | static struct resource s5p_uart5_resource[] = { | 57 | static struct resource s5p_uart5_resource[] = { |
98 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 5 | 58 | #if CONFIG_SERIAL_SAMSUNG_UARTS > 5 |
99 | [0] = { | 59 | [0] = DEFINE_RES_MEM(S5P_PA_UART5, S5P_SZ_UART), |
100 | .start = S5P_PA_UART5, | 60 | [1] = DEFINE_RES_IRQ(IRQ_UART5), |
101 | .end = S5P_PA_UART5 + S5P_SZ_UART - 1, | ||
102 | .flags = IORESOURCE_MEM, | ||
103 | }, | ||
104 | [1] = { | ||
105 | .start = IRQ_UART5, | ||
106 | .end = IRQ_UART5, | ||
107 | .flags = IORESOURCE_IRQ, | ||
108 | }, | ||
109 | #endif | 61 | #endif |
110 | }; | 62 | }; |
111 | 63 | ||
diff --git a/arch/arm/plat-s5p/irq-eint.c b/arch/arm/plat-samsung/s5p-irq-eint.c index 139c050918c5..33bd3f3d20f5 100644 --- a/arch/arm/plat-s5p/irq-eint.c +++ b/arch/arm/plat-samsung/s5p-irq-eint.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/irq-eint.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com | 3 | * http://www.samsung.com |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/irq-gpioint.c b/arch/arm/plat-samsung/s5p-irq-gpioint.c index 82c7311017a2..f9431fe5b06e 100644 --- a/arch/arm/plat-s5p/irq-gpioint.c +++ b/arch/arm/plat-samsung/s5p-irq-gpioint.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/irq-gpioint.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * Author: Kyungmin Park <kyungmin.park@samsung.com> | 3 | * Author: Kyungmin Park <kyungmin.park@samsung.com> |
5 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> | 4 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> |
diff --git a/arch/arm/plat-s5p/irq-pm.c b/arch/arm/plat-samsung/s5p-irq-pm.c index d1bfecae6c9f..7c1e3b7072fc 100644 --- a/arch/arm/plat-s5p/irq-pm.c +++ b/arch/arm/plat-samsung/s5p-irq-pm.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/irq-pm.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com | 3 | * http://www.samsung.com |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/irq.c b/arch/arm/plat-samsung/s5p-irq.c index afdaa1082b9f..dfb47d638f03 100644 --- a/arch/arm/plat-s5p/irq.c +++ b/arch/arm/plat-samsung/s5p-irq.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-s5p/irq.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2009 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2009 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 3 | * http://www.samsung.com/ |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/pm.c b/arch/arm/plat-samsung/s5p-pm.c index d15dc47b0e3d..0747468f0936 100644 --- a/arch/arm/plat-s5p/pm.c +++ b/arch/arm/plat-samsung/s5p-pm.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/pm.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com | 3 | * http://www.samsung.com |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/sleep.S b/arch/arm/plat-samsung/s5p-sleep.S index 006bd01eda02..bdf6dadf8790 100644 --- a/arch/arm/plat-s5p/sleep.S +++ b/arch/arm/plat-samsung/s5p-sleep.S | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/sleep.S | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com | 3 | * http://www.samsung.com |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-samsung/s5p-time.c index 17c0a2c58dfd..028b6e877eb9 100644 --- a/arch/arm/plat-s5p/s5p-time.c +++ b/arch/arm/plat-samsung/s5p-time.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/s5p-time.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 3 | * http://www.samsung.com/ |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s5p/setup-mipiphy.c b/arch/arm/plat-samsung/setup-mipiphy.c index 683c466c0e6a..683c466c0e6a 100644 --- a/arch/arm/plat-s5p/setup-mipiphy.c +++ b/arch/arm/plat-samsung/setup-mipiphy.c | |||