diff options
| author | Michael Hennerich <michael.hennerich@analog.com> | 2007-10-16 04:29:38 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:20 -0400 |
| commit | e9fa7c43aa74fae3a1db04092d2a51005f5b8a21 (patch) | |
| tree | b03e1416a58d490e5029df6baf05d47dce6ccd3c /include/asm-blackfin | |
| parent | accaa24c492f1aa3b9c37226d868dc59c3007531 (diff) | |
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 <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-blackfin')
| -rw-r--r-- | include/asm-blackfin/mach-bf548/bf54x-lq043.h | 30 |
1 files changed, 30 insertions, 0 deletions
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 000000000000..9c7ca62a45eb --- /dev/null +++ b/include/asm-blackfin/mach-bf548/bf54x-lq043.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #ifndef BF54X_LQ043_H | ||
| 2 | #define BF54X_LQ043_H | ||
| 3 | |||
| 4 | struct bfin_bf54xfb_val { | ||
| 5 | unsigned int defval; | ||
| 6 | unsigned int min; | ||
| 7 | unsigned int max; | ||
| 8 | }; | ||
| 9 | |||
| 10 | struct bfin_bf54xfb_mach_info { | ||
| 11 | unsigned char fixed_syncs; /* do not update sync/border */ | ||
| 12 | |||
| 13 | /* LCD types */ | ||
| 14 | int type; | ||
| 15 | |||
| 16 | /* Screen size */ | ||
| 17 | int width; | ||
| 18 | int height; | ||
| 19 | |||
| 20 | /* Screen info */ | ||
| 21 | struct bfin_bf54xfb_val xres; | ||
| 22 | struct bfin_bf54xfb_val yres; | ||
| 23 | struct bfin_bf54xfb_val bpp; | ||
| 24 | |||
| 25 | /* GPIOs */ | ||
| 26 | unsigned short disp; | ||
| 27 | |||
| 28 | }; | ||
| 29 | |||
| 30 | #endif /* BF54X_LQ043_H */ | ||
