diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-16 00:40:33 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 18:01:27 -0400 |
commit | 68ae89984710d2e9f3cf2005539c8f91bcce9d40 (patch) | |
tree | 5d3e95e215522bdc6f8293d29166b88370dd893c /arch | |
parent | bf46aaeacf728dad9d89ed3d604bf991035dfd77 (diff) |
ARM: SAMSUNG: move interrupt part for common s5p into plat-samsung
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 11 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 16 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 3 | ||||
-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.c (renamed from arch/arm/plat-s5p/irq.c) | 3 |
7 files changed, 22 insertions, 20 deletions
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig index 2c1193c59928..efff0a30da4a 100644 --- a/arch/arm/plat-s5p/Kconfig +++ b/arch/arm/plat-s5p/Kconfig | |||
@@ -23,17 +23,6 @@ config PLAT_S5P | |||
23 | help | 23 | help |
24 | Base platform code for Samsung's S5P series SoC. | 24 | Base platform code for Samsung's S5P series SoC. |
25 | 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 | 26 | config S5P_HRT |
38 | bool | 27 | bool |
39 | select SAMSUNG_DEV_PWM | 28 | select SAMSUNG_DEV_PWM |
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile index 83152108af3d..8701c3c36d6a 100644 --- a/arch/arm/plat-s5p/Makefile +++ b/arch/arm/plat-s5p/Makefile | |||
@@ -12,9 +12,6 @@ obj- := | |||
12 | 12 | ||
13 | # Core files | 13 | # Core files |
14 | 14 | ||
15 | obj-y += irq.o | ||
16 | obj-$(CONFIG_S5P_EXT_INT) += irq-eint.o | ||
17 | obj-$(CONFIG_S5P_GPIO_INT) += irq-gpioint.o | ||
18 | obj-$(CONFIG_S5P_PM) += pm.o irq-pm.o | 15 | obj-$(CONFIG_S5P_PM) += pm.o irq-pm.o |
19 | obj-$(CONFIG_S5P_SLEEP) += sleep.o | 16 | obj-$(CONFIG_S5P_SLEEP) += sleep.o |
20 | obj-$(CONFIG_S5P_HRT) += s5p-time.o | 17 | obj-$(CONFIG_S5P_HRT) += s5p-time.o |
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 3a48d9de22a8..e09dd4f9dc31 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -70,6 +70,22 @@ config SAMSUNG_IRQ_VIC_TIMER | |||
70 | help | 70 | help |
71 | Internal configuration to build the VIC timer interrupt code. | 71 | Internal configuration to build the VIC timer interrupt code. |
72 | 72 | ||
73 | config S5P_IRQ | ||
74 | def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | ||
75 | help | ||
76 | Support common interrup part for ARCH_S5P and ARCH_EXYNOS SoCs | ||
77 | |||
78 | config S5P_EXT_INT | ||
79 | bool | ||
80 | help | ||
81 | Use the external interrupts (other than GPIO interrupts.) | ||
82 | Note: Do not choose this for S5P6440 and S5P6450. | ||
83 | |||
84 | config S5P_GPIO_INT | ||
85 | bool | ||
86 | help | ||
87 | Common code for the GPIO interrupts (other than external interrupts.) | ||
88 | |||
73 | # options for gpio configuration support | 89 | # options for gpio configuration support |
74 | 90 | ||
75 | config SAMSUNG_GPIOLIB_4BIT | 91 | config SAMSUNG_GPIOLIB_4BIT |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index 997ce1005700..5b650094628f 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -20,6 +20,9 @@ obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o | |||
20 | obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o | 20 | obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o |
21 | 21 | ||
22 | obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o | 22 | obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o |
23 | obj-$(CONFIG_S5P_IRQ) += s5p-irq.o | ||
24 | obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o | ||
25 | obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o | ||
23 | 26 | ||
24 | # ADC | 27 | # ADC |
25 | 28 | ||
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.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 | * |