OMAP3: RX-51: support sleep indicator LEDs
authorKevin Hilman <khilman@deeprootsystems.com>
Fri, 2 Oct 2009 15:17:56 +0000 (08:17 -0700)
committerKevin 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