diff options
-rw-r--r-- | arch/arm/mach-integrator/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/core.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-versatile/core.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-vexpress/ct-ca9x4.c | 3 | ||||
-rw-r--r-- | arch/arm/plat-versatile/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/plat-versatile/Makefile | 1 | ||||
-rw-r--r-- | drivers/video/fbdev/Kconfig | 7 | ||||
-rw-r--r-- | drivers/video/fbdev/Makefile | 1 | ||||
-rw-r--r-- | drivers/video/fbdev/amba-clcd-versatile.c (renamed from arch/arm/plat-versatile/clcd.c) | 2 | ||||
-rw-r--r-- | include/linux/platform_data/video-clcd-versatile.h (renamed from arch/arm/plat-versatile/include/plat/clcd.h) | 0 |
11 files changed, 13 insertions, 12 deletions
diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig index 64f8e2564a37..c455e974bbfe 100644 --- a/arch/arm/mach-integrator/Kconfig +++ b/arch/arm/mach-integrator/Kconfig | |||
@@ -17,7 +17,6 @@ config ARCH_INTEGRATOR_CP | |||
17 | bool "Support Integrator/CP platform" | 17 | bool "Support Integrator/CP platform" |
18 | select ARCH_CINTEGRATOR | 18 | select ARCH_CINTEGRATOR |
19 | select ARM_TIMER_SP804 | 19 | select ARM_TIMER_SP804 |
20 | select PLAT_VERSATILE_CLCD | ||
21 | select SERIAL_AMBA_PL011 if TTY | 20 | select SERIAL_AMBA_PL011 if TTY |
22 | select SERIAL_AMBA_PL011_CONSOLE if TTY | 21 | select SERIAL_AMBA_PL011_CONSOLE if TTY |
23 | select SOC_BUS | 22 | select SOC_BUS |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index a938242b0c95..0228165d2d64 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/amba/bus.h> | 18 | #include <linux/amba/bus.h> |
19 | #include <linux/amba/kmi.h> | 19 | #include <linux/amba/kmi.h> |
20 | #include <linux/amba/clcd.h> | 20 | #include <linux/amba/clcd.h> |
21 | #include <linux/platform_data/video-clcd-versatile.h> | ||
21 | #include <linux/amba/mmci.h> | 22 | #include <linux/amba/mmci.h> |
22 | #include <linux/io.h> | 23 | #include <linux/io.h> |
23 | #include <linux/irqchip/versatile-fpga.h> | 24 | #include <linux/irqchip/versatile-fpga.h> |
@@ -36,8 +37,6 @@ | |||
36 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
37 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
38 | 39 | ||
39 | #include <plat/clcd.h> | ||
40 | |||
41 | #include "hardware.h" | 40 | #include "hardware.h" |
42 | #include "cm.h" | 41 | #include "cm.h" |
43 | #include "common.h" | 42 | #include "common.h" |
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index 8c1b39a0caa0..850e506926df 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
26 | #include <linux/amba/bus.h> | 26 | #include <linux/amba/bus.h> |
27 | #include <linux/amba/clcd.h> | 27 | #include <linux/amba/clcd.h> |
28 | #include <linux/platform_data/video-clcd-versatile.h> | ||
28 | #include <linux/io.h> | 29 | #include <linux/io.h> |
29 | #include <linux/smsc911x.h> | 30 | #include <linux/smsc911x.h> |
30 | #include <linux/ata_platform.h> | 31 | #include <linux/ata_platform.h> |
@@ -48,7 +49,6 @@ | |||
48 | #include <mach/irqs.h> | 49 | #include <mach/irqs.h> |
49 | #include <asm/hardware/timer-sp.h> | 50 | #include <asm/hardware/timer-sp.h> |
50 | 51 | ||
51 | #include <plat/clcd.h> | ||
52 | #include <plat/sched_clock.h> | 52 | #include <plat/sched_clock.h> |
53 | 53 | ||
54 | #include "core.h" | 54 | #include "core.h" |
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index be83ba25f81b..08fb8c89f414 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/of_platform.h> | 28 | #include <linux/of_platform.h> |
29 | #include <linux/amba/bus.h> | 29 | #include <linux/amba/bus.h> |
30 | #include <linux/amba/clcd.h> | 30 | #include <linux/amba/clcd.h> |
31 | #include <linux/platform_data/video-clcd-versatile.h> | ||
31 | #include <linux/amba/pl061.h> | 32 | #include <linux/amba/pl061.h> |
32 | #include <linux/amba/mmci.h> | 33 | #include <linux/amba/mmci.h> |
33 | #include <linux/amba/pl022.h> | 34 | #include <linux/amba/pl022.h> |
@@ -53,7 +54,6 @@ | |||
53 | #include <mach/platform.h> | 54 | #include <mach/platform.h> |
54 | #include <asm/hardware/timer-sp.h> | 55 | #include <asm/hardware/timer-sp.h> |
55 | 56 | ||
56 | #include <plat/clcd.h> | ||
57 | #include <plat/sched_clock.h> | 57 | #include <plat/sched_clock.h> |
58 | 58 | ||
59 | #include "core.h" | 59 | #include "core.h" |
diff --git a/arch/arm/mach-vexpress/ct-ca9x4.c b/arch/arm/mach-vexpress/ct-ca9x4.c index 86150d7a2e7d..27bea049380a 100644 --- a/arch/arm/mach-vexpress/ct-ca9x4.c +++ b/arch/arm/mach-vexpress/ct-ca9x4.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/platform_device.h> | 8 | #include <linux/platform_device.h> |
9 | #include <linux/amba/bus.h> | 9 | #include <linux/amba/bus.h> |
10 | #include <linux/amba/clcd.h> | 10 | #include <linux/amba/clcd.h> |
11 | #include <linux/platform_data/video-clcd-versatile.h> | ||
11 | #include <linux/clkdev.h> | 12 | #include <linux/clkdev.h> |
12 | #include <linux/vexpress.h> | 13 | #include <linux/vexpress.h> |
13 | #include <linux/irqchip/arm-gic.h> | 14 | #include <linux/irqchip/arm-gic.h> |
@@ -29,8 +30,6 @@ | |||
29 | #include <mach/motherboard.h> | 30 | #include <mach/motherboard.h> |
30 | #include <mach/irqs.h> | 31 | #include <mach/irqs.h> |
31 | 32 | ||
32 | #include <plat/clcd.h> | ||
33 | |||
34 | static struct map_desc ct_ca9x4_io_desc[] __initdata = { | 33 | static struct map_desc ct_ca9x4_io_desc[] __initdata = { |
35 | { | 34 | { |
36 | .virtual = V2T_PERIPH, | 35 | .virtual = V2T_PERIPH, |
diff --git a/arch/arm/plat-versatile/Kconfig b/arch/arm/plat-versatile/Kconfig index fce41e93b6a4..a301ca2c7d00 100644 --- a/arch/arm/plat-versatile/Kconfig +++ b/arch/arm/plat-versatile/Kconfig | |||
@@ -3,9 +3,6 @@ if PLAT_VERSATILE | |||
3 | config PLAT_VERSATILE_CLOCK | 3 | config PLAT_VERSATILE_CLOCK |
4 | bool | 4 | bool |
5 | 5 | ||
6 | config PLAT_VERSATILE_CLCD | ||
7 | bool | ||
8 | |||
9 | config PLAT_VERSATILE_SCHED_CLOCK | 6 | config PLAT_VERSATILE_SCHED_CLOCK |
10 | def_bool y | 7 | def_bool y |
11 | 8 | ||
diff --git a/arch/arm/plat-versatile/Makefile b/arch/arm/plat-versatile/Makefile index 2e0c472958ae..03c4900ac3f4 100644 --- a/arch/arm/plat-versatile/Makefile +++ b/arch/arm/plat-versatile/Makefile | |||
@@ -1,6 +1,5 @@ | |||
1 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include | 1 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include |
2 | 2 | ||
3 | obj-$(CONFIG_PLAT_VERSATILE_CLOCK) += clock.o | 3 | obj-$(CONFIG_PLAT_VERSATILE_CLOCK) += clock.o |
4 | obj-$(CONFIG_PLAT_VERSATILE_CLCD) += clcd.o | ||
5 | obj-$(CONFIG_PLAT_VERSATILE_SCHED_CLOCK) += sched-clock.o | 4 | obj-$(CONFIG_PLAT_VERSATILE_SCHED_CLOCK) += sched-clock.o |
6 | obj-$(CONFIG_SMP) += headsmp.o platsmp.o | 5 | obj-$(CONFIG_SMP) += headsmp.o platsmp.o |
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 59c98bfd5a8a..5edc7a054e03 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig | |||
@@ -290,6 +290,13 @@ config FB_ARMCLCD | |||
290 | here and read <file:Documentation/kbuild/modules.txt>. The module | 290 | here and read <file:Documentation/kbuild/modules.txt>. The module |
291 | will be called amba-clcd. | 291 | will be called amba-clcd. |
292 | 292 | ||
293 | # Helper logic selected only by the ARM Versatile platform family. | ||
294 | config PLAT_VERSATILE_CLCD | ||
295 | depends on FB_ARMCLCD | ||
296 | depends on (PLAT_VERSATILE || ARCH_INTEGRATOR) | ||
297 | default y | ||
298 | bool | ||
299 | |||
293 | config FB_ACORN | 300 | config FB_ACORN |
294 | bool "Acorn VIDC support" | 301 | bool "Acorn VIDC support" |
295 | depends on (FB = y) && ARM && ARCH_ACORN | 302 | depends on (FB = y) && ARM && ARCH_ACORN |
diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index 0284f2a12538..0b2090d2e52e 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile | |||
@@ -78,6 +78,7 @@ obj-$(CONFIG_FB_ATMEL) += atmel_lcdfb.o | |||
78 | obj-$(CONFIG_FB_PVR2) += pvr2fb.o | 78 | obj-$(CONFIG_FB_PVR2) += pvr2fb.o |
79 | obj-$(CONFIG_FB_VOODOO1) += sstfb.o | 79 | obj-$(CONFIG_FB_VOODOO1) += sstfb.o |
80 | obj-$(CONFIG_FB_ARMCLCD) += amba-clcd.o | 80 | obj-$(CONFIG_FB_ARMCLCD) += amba-clcd.o |
81 | obj-$(CONFIG_PLAT_VERSATILE_CLCD) += amba-clcd-versatile.o | ||
81 | obj-$(CONFIG_FB_GOLDFISH) += goldfishfb.o | 82 | obj-$(CONFIG_FB_GOLDFISH) += goldfishfb.o |
82 | obj-$(CONFIG_FB_68328) += 68328fb.o | 83 | obj-$(CONFIG_FB_68328) += 68328fb.o |
83 | obj-$(CONFIG_FB_GBE) += gbefb.o | 84 | obj-$(CONFIG_FB_GBE) += gbefb.o |
diff --git a/arch/arm/plat-versatile/clcd.c b/drivers/video/fbdev/amba-clcd-versatile.c index 6628cc27efc5..7a8afcd4573e 100644 --- a/arch/arm/plat-versatile/clcd.c +++ b/drivers/video/fbdev/amba-clcd-versatile.c | |||
@@ -2,7 +2,7 @@ | |||
2 | #include <linux/dma-mapping.h> | 2 | #include <linux/dma-mapping.h> |
3 | #include <linux/amba/bus.h> | 3 | #include <linux/amba/bus.h> |
4 | #include <linux/amba/clcd.h> | 4 | #include <linux/amba/clcd.h> |
5 | #include <plat/clcd.h> | 5 | #include <linux/platform_data/video-clcd-versatile.h> |
6 | 6 | ||
7 | static struct clcd_panel vga = { | 7 | static struct clcd_panel vga = { |
8 | .mode = { | 8 | .mode = { |
diff --git a/arch/arm/plat-versatile/include/plat/clcd.h b/include/linux/platform_data/video-clcd-versatile.h index 6bb6a1d2019b..6bb6a1d2019b 100644 --- a/arch/arm/plat-versatile/include/plat/clcd.h +++ b/include/linux/platform_data/video-clcd-versatile.h | |||