git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
709731b
)
OMAP3: RX-51: support sleep indicator LEDs
author
Kevin Hilman
<khilman@deeprootsystems.com>
Fri, 2 Oct 2009 15:17:56 +0000
(08:17 -0700)
committer
Kevin Hilman
<khilman@deeprootsystems.com>
Tue, 23 Feb 2010 19:05:04 +0000
(11:05 -0800)
The sleep indicator LEDs can be enabled/disabled by toggling GPIO162.
Use the LED GPIO class to export this LED functionality to userspace.
To enable:
# echo 1 > /sys/class/leds/sleep_ind/brightness
To disable:
# echo 0 > /sys/class/leds/sleep_ind/brightness
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
No differences found