OpenCloudOS-Kernel/arch/avr32
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
..
boards/atstk1000 [AVR32] Use per-controller spi_board_info structures 2007-02-16 14:01:40 +01:00
boot [PATCH] AVR32: Minor Makefile cleanup 2006-10-25 20:26:32 -07:00
configs [AVR32] Update ATSTK1000 defconfig: Enable macb by default 2007-01-26 13:19:48 +01:00
kernel [AVR32] Fix bogus ti->flags manipulation in debug handler 2007-03-07 10:50:28 +01:00
lib [AVR32] Remove last remains of libgcc 2007-02-09 15:01:59 +01:00
mach-at32ap [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
mm [AVR32] Don't use kmap() in flush_icache_page() 2007-03-07 10:50:29 +01:00
Kconfig [PATCH] add CONFIG_GENERIC_GPIO 2007-03-05 07:57:51 -08:00
Kconfig.debug [PATCH] avr32 architecture 2006-09-26 08:48:54 -07:00
Makefile [PATCH] AVR32: Minor Makefile cleanup 2006-10-25 20:26:32 -07:00