summaryrefslogtreecommitdiffstats
path: root/include/video/atmel_lcdc.h
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-02-11 16:19:43 +0100
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 08:23:44 +0100
commit7cdcdb69bdf51192bcbfb7cf479850fe7c33357d (patch)
tree03a1743101c30ea5ee7e793812b0cd58748ec5e6 /include/video/atmel_lcdc.h
parentvideo: s3c-fb: return proper error if clk_get fails (diff)
downloadlinux-7cdcdb69bdf51192bcbfb7cf479850fe7c33357d.tar.xz
linux-7cdcdb69bdf51192bcbfb7cf479850fe7c33357d.zip
atmel_lcdfb: implement inverted contrast pwm
This patch introduces lcdc->lcdcon_pol_negative which set CONTRAST_CTR register to inverted polarity. Signed-off-by: Andreas Bießmann <biessmann@corscience.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/video/atmel_lcdc.h')
-rw-r--r--include/video/atmel_lcdc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index 0c864db1a466..28447f1594fa 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -52,6 +52,7 @@ struct atmel_lcdfb_info {
u8 bl_power;
#endif
bool lcdcon_is_backlight;
+ bool lcdcon_pol_negative;
u8 saved_lcdcon;
u8 default_bpp;