summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/raumfeld.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-11-04 19:44:01 +0100
committerEric Miao <eric.y.miao@gmail.com>2010-12-16 07:31:18 +0100
commitaa11781671279c67d56b95c4d73cde5cd1a6d594 (patch)
tree499f63e80ec7e2a910853914bca7b09e86fe65e2 /arch/arm/mach-pxa/raumfeld.c
parentvideo: add driver for PXA3xx 2D graphics accelerator (diff)
downloadlinux-aa11781671279c67d56b95c4d73cde5cd1a6d594.tar.xz
linux-aa11781671279c67d56b95c4d73cde5cd1a6d594.zip
ARM: pxa/raumfeld: enable PXA3XX_GCU driver
Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/raumfeld.c')
-rw-r--r--arch/arm/mach-pxa/raumfeld.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c
index 117c703750f0..8361151be054 100644
--- a/arch/arm/mach-pxa/raumfeld.c
+++ b/arch/arm/mach-pxa/raumfeld.c
@@ -588,6 +588,9 @@ static struct pxafb_mach_info raumfeld_sharp_lcd_info = {
.num_modes = 1,
.video_mem_size = 0x400000,
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
+#ifdef CONFIG_PXA3XX_GCU
+ .acceleration_enabled = 1,
+#endif
};
static void __init raumfeld_lcd_init(void)
@@ -616,6 +619,8 @@ static void __init raumfeld_lcd_init(void)
pr_warning("Unable to request GPIO_DISPLAY_ENABLE\n");
else
gpio_direction_output(GPIO_DISPLAY_ENABLE, 1);
+
+ platform_device_register(&pxa3xx_device_gcu);
}
/**