1
linux/arch/arm/mach-at91
David Brownell 28735a7253 [PATCH] gpio_direction_output() needs an initial value
It's been pointed out that output GPIOs should have an initial value, to
avoid signal glitching ...  among other things, it can be some time before
a driver is ready.  This patch corrects that oversight, fixing

 - documentation
 - platforms supporting the GPIO interface
 - users of that call (just one for now, others are pending)

There's only one user of this call for now since most platforms are still
using non-generic GPIO setup code, which in most cases already couples the
initial value with its "set output mode" request.

Note that most platforms are clear about the hardware letting the output
value be set before the pin direction is changed, but the s3c241x docs are
vague on that topic ...  so those chips might not avoid the glitches.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Acked-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-16 19:25:04 -07:00
..
at91rm9200_devices.c [ARM] 4150/1: AT91: LED update 2007-02-08 14:55:30 +00:00
at91rm9200_time.c
at91rm9200.c [ARM] 4147/1: AT91: Define Timer/Counter clocks. 2007-02-08 14:55:27 +00:00
at91sam926x_time.c [ARM] 4149/1: AT91: Overrun in SAM9 gettimeoffset(). 2007-02-08 14:55:29 +00:00
at91sam9260_devices.c [ARM] 4150/1: AT91: LED update 2007-02-08 14:55:30 +00:00
at91sam9260.c [ARM] at91: correct value for AT91_RSTC_KEY 2007-02-16 13:06:01 +00:00
at91sam9261_devices.c [ARM] 4150/1: AT91: LED update 2007-02-08 14:55:30 +00:00
at91sam9261.c [ARM] at91: correct value for AT91_RSTC_KEY 2007-02-16 13:06:01 +00:00
at91sam9263_devices.c [ARM] 4231/1: AT91: Merge and typo fixes. 2007-02-22 14:53:30 +00:00
at91sam9263.c [ARM] 4231/1: AT91: Merge and typo fixes. 2007-02-22 14:53:30 +00:00
board-1arm.c
board-carmeva.c
board-csb337.c [ARM] 4148/1: AT91: Physically mapped flash on CSB337 and CSB637 boards. 2007-02-08 14:55:28 +00:00
board-csb637.c [ARM] 4148/1: AT91: Physically mapped flash on CSB337 and CSB637 boards. 2007-02-08 14:55:28 +00:00
board-dk.c
board-eb9200.c
board-ek.c
board-kafa.c
board-kb9202.c
board-sam9260ek.c
board-sam9261ek.c
board-sam9263ek.c [ARM] 4146/1: AT91: Support for AT91SAM9263-EK board. 2007-02-08 14:55:25 +00:00
clock.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
clock.h
generic.h [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00
gpio.c [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
irq.c
Kconfig [ARM] 4192/1: AT91: Support for AT91SAM9XE processors. 2007-02-15 15:33:31 +00:00
leds.c [ARM] 4150/1: AT91: LED update 2007-02-08 14:55:30 +00:00
Makefile [ARM] 4146/1: AT91: Support for AT91SAM9263-EK board. 2007-02-08 14:55:25 +00:00
Makefile.boot
pm.c [ARM] 4145/2: AT91: Add support for AT91SAM9263 processor 2007-02-08 14:55:24 +00:00