1
linux/include/video
David Brownell a9a84c37d1 atmel_lcdfb: backlight control
On the sam9 EK boards, the LCD backlight is hooked up to a PWM output from
the LCD controller.  It's controlled by "contrast" registers though.

This patch lets boards declare that they have that kind of backlight
control.  The driver can then export this control, letting screenblank and
other operations actually take effect ...  reducing the typically
substantial power drain from the backlight.

Note that it's not fully cooked
  - doesn't force backlight off during system suspend
  - the "power" and "blank" events may not be done right
This should be easily added in the future.

[nicolas.ferre@atmel.com: remove unneeded inline and rename functions]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:16 -08:00
..
atmel_lcdc.h atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
aty128.h
cirrus.h
cvisionppc.h
cyblafb.h
edid.h Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
epson1355.h
gbe.h
iga.h
Kbuild Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
kyro.h
mach64.h atyfb: halve XCLK with Mobility and 32bit memory 2007-05-08 11:15:32 -07:00
maxinefb.h
mbxfb.h mbxfb: Improvements and new features 2007-10-16 09:43:14 -07:00
neomagic.h [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
newport.h [PATCH] include/video/newport.h: "extern inline" -> "static inline" 2006-01-10 08:01:50 -08:00
permedia2.h pm2fb: hardware cursor support for the Permedia2 2007-10-16 09:43:18 -07:00
pm3fb.h pm3fb: header file cleanup 2007-10-16 09:43:18 -07:00
pmag-ba-fb.h
pmagb-b-fb.h
radeon.h
s1d13xxxfb.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sgivw.h
sisfb.h
sstfb.h define global BIT macro 2007-10-19 11:53:42 -07:00
tdfx.h define global BIT macro 2007-10-19 11:53:42 -07:00
tgafb.h tgafb: actually allocate memory for the pseudo_palette 2007-07-17 10:23:12 -07:00
trident.h
uvesafb.h uvesafb: the driver core 2007-10-16 09:43:13 -07:00
vga.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
w100fb.h