aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJanusz Krzysztofik <[email protected]>2011-01-12 16:59:20 -0800
committerLinus Torvalds <[email protected]>2011-01-13 08:03:06 -0800
commit9f9455ae710786bd11625d501567f4f783fedea5 (patch)
tree6ce8c8b1d8a4fb58d85484555ea25b2a6d298796 /scripts
parent61a83932b8b3f1624d753e06aab2fdf0a119e100 (diff)
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. [[email protected]: make output match input, tighten input checking] [[email protected]: make output match input, tighten input checking] Signed-off-by: Janusz Krzysztofik <[email protected]> Cc: Paul Mundt <[email protected]> Acked-by: Richard Purdie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions