leds: Add IPAQ h1940 LEDs support
authorArnaud Patard <arnaud.patard@rtp-net.org>
Mon, 12 Feb 2007 23:09:32 +0000 (23:09 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 15 Feb 2007 21:36:19 +0000 (21:36 +0000)
commitbd4009af4883451f55f57155e364f03f700c9ce8
tree5b2221c5465b910f52de7e2cf90a81981216cf0e
parent724339d76d9407cd1a8ad32a9c1fdf64840cc51b
leds: Add IPAQ h1940 LEDs support

This patch adds the support for the IPAQ h1940 leds.

In order to create the amber led (used for the battery charging), the red and
green leds are set to the same default trigger. Due to hardware limitations,
the blue led can only be set in blinking mode.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-h1940.c [new file with mode: 0644]