mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-09 16:12:21 +00:00
sm501: add inversion controls for VBIASEN and FPEN
Add flags to allow the driver to invert the sense of both VBIASEN and FPEN signals comming from the SM501. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
968910bd03
commit
206c5d69d0
2 changed files with 24 additions and 4 deletions
|
@ -73,6 +73,8 @@ extern unsigned long sm501_gpio_get(struct device *dev,
|
|||
#define SM501FB_FLAG_USE_HWACCEL (1<<3)
|
||||
#define SM501FB_FLAG_PANEL_NO_FPEN (1<<4)
|
||||
#define SM501FB_FLAG_PANEL_NO_VBIASEN (1<<5)
|
||||
#define SM501FB_FLAG_PANEL_INV_FPEN (1<<6)
|
||||
#define SM501FB_FLAG_PANEL_INV_VBIASEN (1<<7)
|
||||
|
||||
struct sm501_platdata_fbsub {
|
||||
struct fb_videomode *def_mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue