-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbdev: bfin-lq035q1-fb: new Blackfin Landscape LCD EZ-Extender driver
Framebuffer driver for the Landscape LCD EZ-Extender (ADZS-BFLLCD-EZEXT) http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:landscape_lcd_ez-extender Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Michael Hennerich
authored and
Linus Torvalds
committed
Dec 16, 2009
1 parent
0769746
commit 9cfe4a9
Showing
4 changed files
with
870 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Blackfin LCD Framebuffer driver SHARP LQ035Q1DH02 | ||
* | ||
* Copyright 2008-2009 Analog Devices Inc. | ||
* Licensed under the GPL-2 or later. | ||
*/ | ||
|
||
#ifndef BFIN_LQ035Q1_H | ||
#define BFIN_LQ035Q1_H | ||
|
||
#define LQ035_RL (0 << 8) /* Right -> Left Scan */ | ||
#define LQ035_LR (1 << 8) /* Left -> Right Scan */ | ||
#define LQ035_TB (1 << 9) /* Top -> Botton Scan */ | ||
#define LQ035_BT (0 << 9) /* Botton -> Top Scan */ | ||
#define LQ035_BGR (1 << 11) /* Use BGR format */ | ||
#define LQ035_RGB (0 << 11) /* Use RGB format */ | ||
#define LQ035_NORM (1 << 13) /* Reversal */ | ||
#define LQ035_REV (0 << 13) /* Reversal */ | ||
|
||
struct bfin_lq035q1fb_disp_info { | ||
|
||
unsigned mode; | ||
/* GPIOs */ | ||
int use_bl; | ||
unsigned gpio_bl; | ||
}; | ||
|
||
#endif /* BFIN_LQ035Q1_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.