]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Orion: provide GPIO method for enabling hardware assisted blinking
authorHerbert Valerio Riedel <hvr@gnu.org>
Thu, 29 Nov 2007 14:19:56 +0000 (15:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:03:46 +0000 (15:03 +0000)
commitb11e9e020c8c6cdd7e7cc6d5178cce2ad0ac0784
tree2d419ec2b46f9df5a83f7a6d7cbfde87433341f2
parent01af72e4e36fba66cd7cfc2a628efee866c346d1
[ARM] Orion: provide GPIO method for enabling hardware assisted blinking

This is a pre-requisite for implementing proper hardware accelerated
GPIO LED flashing, and since we want proper locking, it's sensible to provide
the orion specific orion_gpio_set_blink() implementation within
mach-orion/gpio.c. The functions orion_gpio_set_blink() and gpio_set_value()
implicitly turn off each others state.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Acked-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-orion/gpio.c
include/asm-arm/arch-orion/gpio.h