]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commita4b41d8ed805e90bd855ac572eaeb13901d4af32
tree7639aeeaea6db55e845685f17b5d81ae582c61eb
parent709731bb369b562586ee4c60f3f0393eb94dd9d6
OMAP3: RX-51: support sleep indicator LEDs

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>
arch/arm/mach-omap2/board-rx51.c