]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4768/2: ixp4xx: Button and LED updates for the nas100d board
authorRod Whitby <rod@whitby.id.au>
Mon, 28 Jan 2008 23:29:38 +0000 (00:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 13:15:23 +0000 (13:15 +0000)
commit65a3aea7ae6023a4d51594aa0d4768e25e7d6f7d
tree3843617246ee0bad21e1aa88fa81e64d1d240069
parent411ba7d10b3617cdf7aaf89051aff3e8ad7b84e4
[ARM] 4768/2: ixp4xx: Button and LED updates for the nas100d board

 * Convert GPIO and IRQ handling to use the <asm/gpio.h> api.
 * Perform the reset only after the power button has been held down
   for at least two seconds.  Do the reset on the release of the power
   button, so that NAS devices which have been set to auto-power-on (by
   solder bridging the power button) do not continuously power cycle.
 * Remove all superflous constants from nas100d.h
 * Add LED constants to nas100d.h while we're there.
 * Update the board LED setup code to use those constants.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/nas100d-power.c
arch/arm/mach-ixp4xx/nas100d-setup.c
include/asm-arm/arch-ixp4xx/nas100d.h