linux/drivers/leds
Janusz Krzysztofik 9f9455ae71 leds: add output inversion option to backlight trigger
Extend the LED backlight tirgger driver with an option that allows for
inverting the trigger output polarity.

With the invertion option provided, I (ab)use the backlight trigger for
driving a LED that indicates LCD display blank condtition on my Amstrad
Delta videophone.  Since the machine has no dedicated power LED, it was
not possible to distinguish if the display was blanked, or the machine was
turned off, without touching it.

The invert sysfs control is patterned after a similiar function of the GPIO
trigger driver.

[akpm@linux-foundation.org: make output match input, tighten input checking]
[akpm@linux-foundation.org: make output match input, tighten input checking]
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 08:03:06 -08:00
..
Kconfig leds: fix up dependencies 2010-12-02 14:51:15 -08:00
Makefile leds: update LP552x support Kconfig and Makefile 2010-11-12 07:55:32 -08:00
dell-led.c
led-class.c led_class: fix typo in blink API 2010-12-22 19:43:34 -08:00
led-core.c
led-triggers.c led-class: always implement blinking 2010-11-12 07:55:32 -08:00
leds-88pm860x.c leds: Remove auto blink in 88pm860x 2010-10-29 00:29:44 +02:00
leds-adp5520.c
leds-alix2.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-bd2802.c
leds-clevo-mail.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio.c drivers/leds/leds-gpio.c: properly initialize return value 2010-11-12 07:55:32 -08:00
leds-h1940.c
leds-hp6xx.c
leds-locomo.c
leds-lp3944.c
leds-lp5521.c leds-lp5521: modify the way of setting led device name 2011-01-13 08:03:06 -08:00
leds-lp5523.c leds: lp5523: fix circular locking 2011-01-13 08:03:05 -08:00
leds-lt3593.c
leds-mc13783.c
leds-net48xx.c
leds-net5501.c leds-net5501: taints kernel, add license 2010-11-05 09:51:56 -07:00
leds-netxbig.c leds: add LED driver for Big Network series LEDs 2010-10-07 14:02:12 -04:00
leds-ns2.c leds: leds-ns2: fix private driver data storage 2010-10-07 14:00:23 -04:00
leds-pca955x.c
leds-pca9532.c leds: leds-pca9532 cleanups 2011-01-13 08:03:05 -08:00
leds-pwm.c
leds-rb532.c
leds-regulator.c
leds-s3c24xx.c
leds-ss4200.c leds: fix bug with reading NAS SS4200 dmi code 2010-11-25 06:50:33 +09:00
leds-sunfire.c
leds-wm831x-status.c
leds-wm8350.c leds-wm8350: don't use flush_scheduled_work() 2010-12-24 15:59:07 +01:00
leds-wrap.c
leds.h
ledtrig-backlight.c leds: add output inversion option to backlight trigger 2011-01-13 08:03:06 -08:00
ledtrig-default-on.c
ledtrig-gpio.c
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c led-class: always implement blinking 2010-11-12 07:55:32 -08:00