diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-17 23:21:30 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 18:01:59 -0400 |
commit | d9c452f4b4042baaa24fb91bf0c847813ff3645d (patch) | |
tree | be7a92d10d225a3a02ed0693649246ff4eff7417 | |
parent | cfe370f876407735041f8e02ec31ffa922cd8e45 (diff) |
ARM: SAMSUNG: move setup code for s5p mfc and mipiphy into plat-samsung
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 10 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 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/setup-mipiphy.c (renamed from arch/arm/plat-s5p/setup-mipiphy.c) | 0 |
6 files changed, 14 insertions, 18 deletions
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig index 33d9bc8b03a5..4ff6d7e9bf20 100644 --- a/arch/arm/plat-s5p/Kconfig +++ b/arch/arm/plat-s5p/Kconfig | |||
@@ -63,11 +63,6 @@ config S5P_DEV_I2C_HDMIPHY | |||
63 | help | 63 | help |
64 | Compile in platform device definitions for I2C HDMIPHY controller | 64 | Compile in platform device definitions for I2C HDMIPHY controller |
65 | 65 | ||
66 | config S5P_DEV_MFC | ||
67 | bool | ||
68 | help | ||
69 | Compile in platform device definitions for MFC | ||
70 | |||
71 | config S5P_DEV_ONENAND | 66 | config S5P_DEV_ONENAND |
72 | bool | 67 | bool |
73 | help | 68 | help |
@@ -92,8 +87,3 @@ config S5P_DEV_USB_EHCI | |||
92 | bool | 87 | bool |
93 | help | 88 | help |
94 | Compile in platform device definition for USB EHCI | 89 | Compile in platform device definition for USB EHCI |
95 | |||
96 | config S5P_SETUP_MIPIPHY | ||
97 | bool | ||
98 | help | ||
99 | 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 index 1dc6b1c5bd75..884b9a17360e 100644 --- a/arch/arm/plat-s5p/Makefile +++ b/arch/arm/plat-s5p/Makefile | |||
@@ -9,8 +9,3 @@ obj-y := | |||
9 | obj-m := | 9 | obj-m := |
10 | obj-n := dummy.o | 10 | obj-n := dummy.o |
11 | obj- := | 11 | obj- := |
12 | |||
13 | # devices | ||
14 | |||
15 | obj-$(CONFIG_S5P_DEV_MFC) += dev-mfc.o | ||
16 | obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 5ce6bc8ccf81..7fec2e9cdad4 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -309,6 +309,11 @@ config SAMSUNG_DEV_BACKLIGHT | |||
309 | help | 309 | help |
310 | Compile in platform device definition LCD backlight with PWM Timer | 310 | Compile in platform device definition LCD backlight with PWM Timer |
311 | 311 | ||
312 | config S5P_DEV_MFC | ||
313 | bool | ||
314 | help | ||
315 | Compile in setup memory (init) code for MFC | ||
316 | |||
312 | config S3C24XX_PWM | 317 | config S3C24XX_PWM |
313 | bool "PWM device support" | 318 | bool "PWM device support" |
314 | select HAVE_PWM | 319 | select HAVE_PWM |
@@ -316,6 +321,11 @@ config S3C24XX_PWM | |||
316 | Support for exporting the PWM timer blocks via the pwm device | 321 | Support for exporting the PWM timer blocks via the pwm device |
317 | system | 322 | system |
318 | 323 | ||
324 | config S5P_SETUP_MIPIPHY | ||
325 | bool | ||
326 | help | ||
327 | Compile in common setup code for MIPI-CSIS and MIPI-DSIM devices | ||
328 | |||
319 | # DMA | 329 | # DMA |
320 | 330 | ||
321 | config S3C_DMA | 331 | config S3C_DMA |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index b20047b5633e..860b2db4db15 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -36,10 +36,13 @@ obj-y += platformdata.o | |||
36 | 36 | ||
37 | obj-y += devs.o | 37 | obj-y += devs.o |
38 | obj-y += dev-uart.o | 38 | obj-y += dev-uart.o |
39 | obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o | ||
39 | obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o | 40 | obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o |
40 | 41 | ||
41 | obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o | 42 | obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o |
42 | 43 | ||
44 | obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o | ||
45 | |||
43 | # DMA support | 46 | # DMA support |
44 | 47 | ||
45 | obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o | 48 | obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o |
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/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 | |||