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
maxinefb.h
mbxfb.h mbxfb: Improvements and new features 2007-10-16 09:43:14 -07:00
neomagic.h
newport.h
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
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
trident.h
uvesafb.h
vga.h
w100fb.h