aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-imx/imxfb.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 16:06:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 16:06:47 -0700
commit4adb18173aba217a7ce7f261427914d1350c4e18 (patch)
tree0c302c01a8d13717b35764a4f194ccd7043394d7 /include/asm-arm/arch-imx/imxfb.h
parent3b9fa0931dd86a1fe5507311ee8031650f5d0e8c (diff)
parent41e46d6ab0ca1908bff4e77ad9eeb6bf7afeb5c0 (diff)
Automatic merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git
Diffstat (limited to 'include/asm-arm/arch-imx/imxfb.h')
-rw-r--r--include/asm-arm/arch-imx/imxfb.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/asm-arm/arch-imx/imxfb.h b/include/asm-arm/arch-imx/imxfb.h
new file mode 100644
index 00000000000..2346d454ab9
--- /dev/null
+++ b/include/asm-arm/arch-imx/imxfb.h
@@ -0,0 +1,35 @@
+/*
+ * This structure describes the machine which we are running on.
+ */
+struct imxfb_mach_info {
+ u_long pixclock;
+
+ u_short xres;
+ u_short yres;
+
+ u_char bpp;
+ u_char hsync_len;
+ u_char left_margin;
+ u_char right_margin;
+
+ u_char vsync_len;
+ u_char upper_margin;
+ u_char lower_margin;
+ u_char sync;
+
+ u_int cmap_greyscale:1,
+ cmap_inverse:1,
+ cmap_static:1,
+ unused:29;
+
+ u_int pcr;
+ u_int pwmr;
+ u_int lscr1;
+
+ u_char * fixed_screen_cpu;
+ dma_addr_t fixed_screen_dma;
+
+ void (*lcd_power)(int);
+ void (*backlight_power)(int);
+};
+void set_imx_fb_info(struct imxfb_mach_info *hard_imx_fb_info);