summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/displays/CUSTOM.h
diff options
context:
space:
mode:
authorAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 17:42:29 +0200
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-26 13:29:17 +0200
commite749e37adf1735c5a0b3bc5262cb542995ce42e9 (patch)
tree17c06371247666953fa01265485d9fd8a0642266 /arch/arm/mach-mx5/displays/CUSTOM.h
parentad3c88d1e262462a23d9692c6f7a7cd661f129b2 (diff)
ccwmx51: Fix compilation issues after applying Freescale patches
The mach-mx51 folder has been replaced by mach-mx5 to enable the addition of more platforms. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx5/displays/CUSTOM.h')
-rw-r--r--arch/arm/mach-mx5/displays/CUSTOM.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/displays/CUSTOM.h b/arch/arm/mach-mx5/displays/CUSTOM.h
new file mode 100644
index 000000000000..19759533d84e
--- /dev/null
+++ b/arch/arm/mach-mx5/displays/CUSTOM.h
@@ -0,0 +1,34 @@
+
+// static void lcd_bl_enable_custom(int enable)
+// {
+// gpio_set_value(IOMUX_TO_GPIO(MX51_PIN_DI1_PIN11), enable);
+// }
+//
+// static struct fb_videomode cusom = {
+// .name = "CUSTOM",
+// .refresh = ,
+// .xres = ,
+// .yres = ,
+// .pixclock = ,
+// .left_margin = ,
+// .right_margin = ,
+// .upper_margin = ,
+// .lower_margin = ,
+// .hsync_len = ,
+// .vsync_len = ,
+// .sync = FB_SYNC_CLK_LAT_FALL,
+// .vmode = FB_VMODE_NONINTERLACED,
+// .flag = 0,
+// };
+//
+// #define CUSTOM_DISPLAY \
+// { \
+// .fb_pdata = { \
+// .interface_pix_fmt = IPU_PIX_FMT_RGB24, \
+// .mode_str = "CUSTOM", \
+// .mode = &custom, \
+// }, \
+// .bl_enable = &lcd_bl_enable_custom, \
+// }
+
+