aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-04-16 00:57:38 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 18:01:34 -0400
commit8eadcf74ec8285800f7f6a36a8f283932a69d17f (patch)
tree152ed87a6adf0b2eba2f3c9c814913326e375301
parent68ae89984710d2e9f3cf2005539c8f91bcce9d40 (diff)
ARM: SAMSUNG: move pm part for common s5p into plat-samsung
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/plat-s5p/Kconfig12
-rw-r--r--arch/arm/plat-s5p/Makefile2
-rw-r--r--arch/arm/plat-samsung/Kconfig12
-rw-r--r--arch/arm/plat-samsung/Makefile3
-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-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
7 files changed, 18 insertions, 20 deletions
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig
index efff0a30da4..8e45c8b15d1 100644
--- a/arch/arm/plat-s5p/Kconfig
+++ b/arch/arm/plat-s5p/Kconfig
@@ -33,18 +33,6 @@ config S5P_DEV_UART
33 def_bool y 33 def_bool y
34 depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) 34 depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
35 35
36config S5P_PM
37 bool
38 help
39 Common code for power management support on S5P and newer SoCs
40 Note: Do not select this for S5P6440 and S5P6450.
41
42config S5P_SLEEP
43 bool
44 help
45 Internal config node to apply common S5P sleep management code.
46 Can be selected by S5P and newer SoCs with similar sleep procedure.
47
48config S5P_DEV_FIMC0 36config S5P_DEV_FIMC0
49 bool 37 bool
50 help 38 help
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile
index 8701c3c36d6..c81106f5d7c 100644
--- a/arch/arm/plat-s5p/Makefile
+++ b/arch/arm/plat-s5p/Makefile
@@ -12,8 +12,6 @@ obj- :=
12 12
13# Core files 13# Core files
14 14
15obj-$(CONFIG_S5P_PM) += pm.o irq-pm.o
16obj-$(CONFIG_S5P_SLEEP) += sleep.o
17obj-$(CONFIG_S5P_HRT) += s5p-time.o 15obj-$(CONFIG_S5P_HRT) += s5p-time.o
18 16
19# devices 17# devices
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index e09dd4f9dc3..218462361e3 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -371,6 +371,18 @@ config SAMSUNG_WAKEMASK
371 and above. This code allows a set of interrupt to wakeup-mask 371 and above. This code allows a set of interrupt to wakeup-mask
372 mappings. See <plat/wakeup-mask.h> 372 mappings. See <plat/wakeup-mask.h>
373 373
374config S5P_PM
375 bool
376 help
377 Common code for power management support on S5P and newer SoCs
378 Note: Do not select this for S5P6440 and S5P6450.
379
380config S5P_SLEEP
381 bool
382 help
383 Internal config node to apply common S5P sleep management code.
384 Can be selected by S5P and newer SoCs with similar sleep procedure.
385
374comment "Power Domain" 386comment "Power Domain"
375 387
376config SAMSUNG_PD 388config SAMSUNG_PD
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile
index 5b650094628..caa6f9af1f3 100644
--- a/arch/arm/plat-samsung/Makefile
+++ b/arch/arm/plat-samsung/Makefile
@@ -51,6 +51,9 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
51 51
52obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o 52obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
53 53
54obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
55obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o
56
54# PD support 57# PD support
55 58
56obj-$(CONFIG_SAMSUNG_PD) += pd.o 59obj-$(CONFIG_SAMSUNG_PD) += pd.o
diff --git a/arch/arm/plat-s5p/irq-pm.c b/arch/arm/plat-samsung/s5p-irq-pm.c
index d1bfecae6c9..7c1e3b7072f 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/pm.c b/arch/arm/plat-samsung/s5p-pm.c
index d15dc47b0e3..0747468f093 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 006bd01eda0..bdf6dadf879 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 *