android_kernel_xiaomi_sm8350/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
board-ams-delta.h ARM: OMAP: Add some extra #defines for Amstrad Delta 2006-09-25 12:41:31 +03:00
board-apollon.h
board-fsample.h
board-h2.h
board-h3.h
board-h4.h
board-innovator.h
board-nokia.h
board-osk.h
board-perseus2.h
board-voiceblue.h
board.h
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
dsp.h
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
gpmc.h ARM: OMAP2: Dynamic allocator for GPMC memory space 2006-09-25 12:41:33 +03:00
hardware.h
io.h
irda.h WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
irqs.h
keypad.h [PATCH] OMAP: Add keypad driver 2006-09-29 09:18:07 -07:00
lcd_lph8923.h
mcbsp.h fix file specification in comments 2006-10-03 23:01:26 +02:00
mcspi.h
memory.h ARM: OMAP: omap1510->15xx conversions needed for sx1 2007-03-02 01:47:12 -08:00
menelaus.h
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
param.h
pm.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.h
serial.h
sram.h
system.h
tc.h
timex.h
tps65010.h
uncompress.h
usb.h
vmalloc.h