linux/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 timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
cris arch/cris: add a missing iounmap 2008-02-05 09:44:24 -08:00
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 timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
m68k cleanup after APUS removal 2008-02-06 10:41:01 -08:00
m68knommu Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
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 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 2008-02-05 10:11:02 -08:00
sh timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
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 uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
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