leds: LED driver for National Semiconductor LP3944 Funlight Chip
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 19 Jun 2009 11:55:42 +0000 (13:55 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 23 Jun 2009 19:21:38 +0000 (20:21 +0100)
commit5054d39e327f76df022163a2ebd02e444c5d65f9
tree915f4a5406a1147524ba8a2aa7ab42074127be84
parent07172d2bfa339d6c150d8cdd7c02128177feffbb
leds: LED driver for National Semiconductor LP3944 Funlight Chip

LEDs driver for National Semiconductor LP3944 Funlight Chip
http://www.national.com/pf/LP/LP3944.html

This helper chip can drive up to 8 leds, with two programmable DIM
modes; it could even be used as a gpio expander but this driver assumes
it is used as a led controller.

The DIM modes are used to set _blink_ patterns for leds, the pattern is
specified supplying two parameters:
  - period: from 0s to 1.6s
  - duty cycle: percentage of the period the led is on, from 0 to 100

LP3944 can be found on Motorola A910 smartphone, where it drives the rgb
leds, the camera flash light and the displays backlights.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Documentation/leds-lp3944.txt [new file with mode: 0644]
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-lp3944.c [new file with mode: 0644]
include/linux/leds-lp3944.h [new file with mode: 0644]