1
linux/include/asm-arm/arch-omap
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
..
aic23.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
board-ams-delta.h ARM: OMAP: Add some extra #defines for Amstrad Delta 2006-09-25 12:41:31 +03:00
board-apollon.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-fsample.h ARM: OMAP: Add core fsample support 2006-06-26 16:16:03 -07:00
board-h2.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-h3.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-h4.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-innovator.h
board-nokia.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-osk.h
board-perseus2.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-voiceblue.h
board.h ARM: OMAP: Add OMAP_TAG_CAMERA_SENSOR 2006-06-26 16:16:19 -07:00
clock.h ARM: OMAP: Sync clocks with linux-omap tree 2006-09-25 13:27:20 +03:00
common.h
cpu.h
debug-macro.S
dma.h ARM: OMAP: Sync DMA with linux-omap tree 2006-09-25 12:45:45 +03:00
dmtimer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
dsp_common.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
dsp.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
entry-macro.S ARM: OMAP: Add missing get_irqnr_preamble and arch_ret_to_user for omap2 2007-03-02 01:47:13 -08:00
fpga.h
gpio.h [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
gpioexpander.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
gpmc.h ARM: OMAP2: Dynamic allocator for GPMC memory space 2006-09-25 12:41:33 +03:00
hardware.h ARM: OMAP: Add core fsample support 2006-06-26 16:16:03 -07:00
io.h [ARM] 3631/1: Remove legacy __mem_isa() definitions 2006-06-24 10:34:48 +01:00
irda.h WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
irqs.h ARM: OMAP: Apollon MMC support 2006-09-25 12:41:25 +03:00
keypad.h [PATCH] OMAP: Add keypad driver 2006-09-29 09:18:07 -07:00
lcd_lph8923.h [ARM] 3454/1: ARM: OMAP: 6/8 Update framebuffer low-level init code, take 2 2006-04-02 17:46:26 +01:00
mcbsp.h fix file specification in comments 2006-10-03 23:01:26 +02:00
mcspi.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
memory.h ARM: OMAP: omap1510->15xx conversions needed for sx1 2007-03-02 01:47:12 -08:00
menelaus.h [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mtd-xip.h
mux.h ARM: OMAP: mux: add config for 16xx SPI pins 2006-09-25 12:41:29 +03:00
omap16xx.h
omap24xx.h
omap730.h
omap1510.h
omap-alsa.h ARM: OMAP: Remove obsolete alsa typedefs 2007-03-02 01:47:12 -08:00
omapfb.h [ARM] 3454/1: ARM: OMAP: 6/8 Update framebuffer low-level init code, take 2 2006-04-02 17:46:26 +01:00
param.h [ARM] 3427/1: ARM: OMAP: 2/8 Update timers 2006-04-02 17:46:21 +01:00
pm.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.h
serial.h
sram.h [ARM] 3430/1: ARM: OMAP: 5/8 Update PM 2006-04-02 17:46:25 +01:00
system.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
tc.h
timex.h
tps65010.h
uncompress.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
usb.h
vmalloc.h