mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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>
This commit is contained in:
parent
accaa24c49
commit
e9fa7c43aa
4 changed files with 826 additions and 0 deletions
30
include/asm-blackfin/mach-bf548/bf54x-lq043.h
Normal file
30
include/asm-blackfin/mach-bf548/bf54x-lq043.h
Normal file
|
|
@ -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 */
|
||||
Loading…
Reference in a new issue