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
..
Kbuild Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
atmel_lcdc.h atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
aty128.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cirrus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cvisionppc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyblafb.h [PATCH] Update cyblafb driver 2006-01-09 10:00:36 -08:00
edid.h Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
epson1355.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kyro.h [PATCH] fbdev: kyrofb: Driver cleanups 2006-01-10 08:01:45 -08:00
mach64.h atyfb: halve XCLK with Mobility and 32bit memory 2007-05-08 11:15:32 -07:00
maxinefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] DEC PMAG BA frame buffer update 2005-09-05 00:06:03 -07:00
pmagb-b-fb.h [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00
radeon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sgivw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sisfb.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver 2005-09-13 08:22:31 -07:00