leds: Add pca9532 led driver
authorRiku Voipio <riku.voipio@iki.fi>
Sat, 31 May 2008 13:43:41 +0000 (14:43 +0100)
committerRichard Purdie <rpurdie@rpsys.net>
Wed, 23 Jul 2008 08:49:56 +0000 (09:49 +0100)
commite14fa82439d33cef67eaafc1a48960bbfa610c8e
treee98b939481252441fecf05350f769a44acb7d99c
parentc010b2f76c3032e48097a6eef291d8593d5d79a6
leds: Add pca9532 led driver

NXP pca9532 is a LED dimmer/controller attached to i2c bus.  It allows
attaching upto 16 leds which can either be on, off or dimmed and/or blinked
with the two PWM modulators available.

This driver is a "new-style" i2c driver that adheres to the driver model and
implements the led framework api.  Since the leds connected to the driver are
platform specific, it is only useful when platform data is passed to the
driver to define what leds are connected to which pins.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-pca9532.c [new file with mode: 0644]
include/linux/leds-pca9532.h [new file with mode: 0644]