OpenCloudOS-Kernel/arch/arm/mach-ep93xx
Hartley Sweeten 3aa7a9a3cf [ARM] 5612/1: ep93xx: add platform LEDs
The EP93xx has two gpio pins specifically assigned to drive
external LEDs.  Add core support for these LEDs.

On the EDB93xx development boards, the rdled is connected to
an external reset circuit.  Turning this led on for an extended
amount of time will cause the circuit to issue a manual reset.

Refer to Cirrus App Note AN258 for more information.

	http://www.cirrus.com/en/pubs/appNote/AN258REV2.pdf

This led can be safely used as the system heartbeat with the
ledtrig-heartbeat driver.

	echo heartbeat > /sys/class/leds/platform:rdled/trigger

The grled can be used for any desired purpose.

Tested-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-07-21 17:20:48 +01:00
..
include/mach [ARM] 5609/1: ep93xx: add register defines for keypad support 2009-07-17 13:36:00 +01:00
Kconfig [ARM] 5523/1: ep93xx phys offset selection 2009-05-24 19:21:32 +01:00
Makefile [ARM] 5504/1: ep93xx: Merge all edb93xx platforms 2009-05-15 20:42:57 +01:00
Makefile.boot [ARM] 5523/1: ep93xx phys offset selection 2009-05-24 19:21:32 +01:00
adssphere.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
clock.c [ARM] 5593/1: ep93xx: clock.c __iomem pointer 2009-07-09 16:13:45 +01:00
core.c [ARM] 5612/1: ep93xx: add platform LEDs 2009-07-21 17:20:48 +01:00
dma-m2p.c [ARM] 5414/2: ep93xx m2p dma core 2009-03-03 12:20:11 +00:00
edb93xx.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
gesbc9312.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
gpio.c [ARM] 5605/1: Fix ep93xx gpio.c headers 2009-07-17 13:35:58 +01:00
micro9.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
ts72xx.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00