kernel_optimize_test/drivers/video/backlight
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
..
backlight.c backlight/leds: Make two structs static 2007-10-11 22:24:12 +01:00
corgi_bl.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
cr_bllcd.c fbdev: change asm/uaccess.h to linux/uaccess.h 2007-10-16 09:43:17 -07:00
hp680_bl.c backlight: Fix up hp680_bl build. 2007-09-21 11:57:53 +09:00
Kconfig atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
lcd.c backlight/leds: Make two structs static 2007-10-11 22:24:12 +01:00
locomolcd.c [ARM] 4250/1: Fix locomo backlight conversion error/compile failure 2007-03-08 13:34:01 +00:00
ltv350qv.c backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
ltv350qv.h backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
Makefile backlight: Add Samsung LTV350QV LCD driver 2007-10-11 22:24:12 +01:00
progear_bl.c fbdev: change asm/uaccess.h to linux/uaccess.h 2007-10-16 09:43:17 -07:00