summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/displays/CUSTOM.h
diff options
context:
space:
mode:
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, \
+// }
+
+