kernel_optimize_test/arch
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
..
alpha calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
arm atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
avr32 read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
blackfin
cris
frv calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
h8300 proper show_interrupts() prototype 2008-02-06 10:41:02 -08:00
ia64 idle_regs() must be __cpuinit 2008-02-06 10:41:08 -08:00
m32r
m68k cleanup after APUS removal 2008-02-06 10:41:01 -08:00
m68knommu
mips calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
parisc alpha/parisc: remove config variable DEBUG_RWLOCK 2008-02-06 10:41:03 -08:00
powerpc calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
ppc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
s390
sh
sparc calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
sparc64 calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
um
v850
x86 rtc: add HPET RTC emulation to RTC_DRV_CMOS 2008-02-06 10:41:14 -08:00
xtensa calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
.gitignore
Kconfig