diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2009-06-19 07:55:42 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-23 15:21:38 -0400 |
commit | 5054d39e327f76df022163a2ebd02e444c5d65f9 (patch) | |
tree | 915f4a5406a1147524ba8a2aa7ab42074127be84 /drivers/leds/Kconfig | |
parent | 07172d2bfa339d6c150d8cdd7c02128177feffbb (diff) |
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>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index cfcd6bf831c9..7c8e7122aaa9 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -146,6 +146,17 @@ config LEDS_GPIO_OF | |||
146 | of_platform devices. For instance, LEDs which are listed in a "dts" | 146 | of_platform devices. For instance, LEDs which are listed in a "dts" |
147 | file. | 147 | file. |
148 | 148 | ||
149 | config LEDS_LP3944 | ||
150 | tristate "LED Support for N.S. LP3944 (Fun Light) I2C chip" | ||
151 | depends on LEDS_CLASS && I2C | ||
152 | help | ||
153 | This option enables support for LEDs connected to the National | ||
154 | Semiconductor LP3944 Lighting Management Unit (LMU) also known as | ||
155 | Fun Light Chip. | ||
156 | |||
157 | To compile this driver as a module, choose M here: the | ||
158 | module will be called leds-lp3944. | ||
159 | |||
149 | config LEDS_CLEVO_MAIL | 160 | config LEDS_CLEVO_MAIL |
150 | tristate "Mail LED on Clevo notebook" | 161 | tristate "Mail LED on Clevo notebook" |
151 | depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI | 162 | depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI |