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>
This commit is contained in:
Andreas Bießmann
2011-02-11 15:19:43 +00:00
committed by Paul Mundt
parent 942b8d05cd
commit 7cdcdb69bd
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -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;