linux/arch/arm/mach-at91
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
..
Kconfig [ARM] 4660/3: at91: allow selecting UART for early kernel messages 2008-02-04 13:16:39 +00:00
Makefile [ARM] 4765/1: [AT91] AT91CAP9A-DK board support 2008-01-26 15:01:14 +00:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91cap9.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91cap9_devices.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
at91rm9200.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91rm9200_devices.c [ARM] 4760/1: [AT91] SPI CS0 errata on AT91RM9200 2008-01-26 15:00:32 +00:00
at91rm9200_time.c [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
at91sam9rl.c [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors. 2007-05-11 21:07:54 +01:00
at91sam9rl_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91sam926x_time.c [ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking 2008-02-04 13:14:07 +00:00
at91sam9260.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9260_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91sam9261.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9261_devices.c [ARM] 4738/1: at91sam9261: Remove udc pullup enabling in board initialisation 2008-01-26 15:00:33 +00:00
at91sam9263.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9263_devices.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
at91x40.c [ARM] 4534/1: AT91x40 interrupt support 2007-10-12 23:43:05 +01:00
at91x40_time.c [ARM] 4533/1: AT91x40 timer support 2007-10-12 23:43:04 +01:00
board-1arm.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
board-cap9adk.c [ARM] 4765/1: [AT91] AT91CAP9A-DK board support 2008-01-26 15:01:14 +00:00
board-carmeva.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-csb337.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-csb637.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-dk.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-eb01.c [ARM] 4538/1: Atmel EB01 board support 2007-10-12 23:43:07 +01:00
board-eb9200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-ek.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-kafa.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-kb9202.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-picotux200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9rlek.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9260ek.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9261ek.c atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
board-sam9263ek.c atmel_lcdfb: backlight control 2008-02-06 10:41:16 -08:00
clock.c [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work 2008-02-04 13:16:39 +00:00
gpio.c [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work 2008-02-04 13:16:39 +00:00
irq.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
leds.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
pm.c Suspend: Introduce begin() and end() callbacks 2008-02-01 18:30:56 -05:00