]> git.karo-electronics.de Git - mv-sheeva.git/commit
leds: add driver for TCA6507 LED controller
authorNeilBrown <neilb@suse.de>
Tue, 10 Jan 2012 23:09:40 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:49 +0000 (16:30 -0800)
commita6d511e5155406cd214d3af3ff9cffc69548b006
tree2151e16ad65c9646a47d9591b264e9016efedc33
parentb96a573f4c27529d379922670e8cf5530120d5ca
leds: add driver for TCA6507 LED controller

TI's TCA6507 is the LED driver in the GTA04 Openmoko motherboard.  The
driver provides full support for brightness levels and hardware blinking.

This driver can drive each of 7 outputs as an LED or a GPIO output,
and provides hardware-assist blinking.

[akpm@linux-foundation.org: fix __mod_i2c_device_table alias]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: NeilBrown <neilb@suse.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-tca6507.c [new file with mode: 0644]
include/linux/leds-tca6507.h [new file with mode: 0644]