From e9fa7c43aa74fae3a1db04092d2a51005f5b8a21 Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Tue, 16 Oct 2007 01:29:38 -0700 Subject: bf54x-lq043fb: framebuffer driver for Blackfin BF54x framebuffer device driver Blackfin BF54x framebuffer device driver for a SHARP LQ043T1DG01 TFT LCD [adaplas] Add 'fb' suffix to driver name. Move Makefile entry under platform device section Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-blackfin/mach-bf548/bf54x-lq043.h | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/asm-blackfin/mach-bf548/bf54x-lq043.h (limited to 'include') diff --git a/include/asm-blackfin/mach-bf548/bf54x-lq043.h b/include/asm-blackfin/mach-bf548/bf54x-lq043.h new file mode 100644 index 00000000000..9c7ca62a45e --- /dev/null +++ b/include/asm-blackfin/mach-bf548/bf54x-lq043.h @@ -0,0 +1,30 @@ +#ifndef BF54X_LQ043_H +#define BF54X_LQ043_H + +struct bfin_bf54xfb_val { + unsigned int defval; + unsigned int min; + unsigned int max; +}; + +struct bfin_bf54xfb_mach_info { + unsigned char fixed_syncs; /* do not update sync/border */ + + /* LCD types */ + int type; + + /* Screen size */ + int width; + int height; + + /* Screen info */ + struct bfin_bf54xfb_val xres; + struct bfin_bf54xfb_val yres; + struct bfin_bf54xfb_val bpp; + + /* GPIOs */ + unsigned short disp; + +}; + +#endif /* BF54X_LQ043_H */ -- cgit v1.2.3