diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-07-24 00:31:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:40 -0400 |
commit | 206c5d69d0540024faffd423fc703f1e457332d7 (patch) | |
tree | d635ae03771773eaae3f56bcd967dd5781244a5a /include | |
parent | 968910bd03b226ed410d092c2da59dffe5bfe8de (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sm501.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sm501.h b/include/linux/sm501.h index 95c1c39ba445..b530fa6a1d34 100644 --- a/include/linux/sm501.h +++ b/include/linux/sm501.h | |||
@@ -73,6 +73,8 @@ extern unsigned long sm501_gpio_get(struct device *dev, | |||
73 | #define SM501FB_FLAG_USE_HWACCEL (1<<3) | 73 | #define SM501FB_FLAG_USE_HWACCEL (1<<3) |
74 | #define SM501FB_FLAG_PANEL_NO_FPEN (1<<4) | 74 | #define SM501FB_FLAG_PANEL_NO_FPEN (1<<4) |
75 | #define SM501FB_FLAG_PANEL_NO_VBIASEN (1<<5) | 75 | #define SM501FB_FLAG_PANEL_NO_VBIASEN (1<<5) |
76 | #define SM501FB_FLAG_PANEL_INV_FPEN (1<<6) | ||
77 | #define SM501FB_FLAG_PANEL_INV_VBIASEN (1<<7) | ||
76 | 78 | ||
77 | struct sm501_platdata_fbsub { | 79 | struct sm501_platdata_fbsub { |
78 | struct fb_videomode *def_mode; | 80 | struct fb_videomode *def_mode; |