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 [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 [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
board-nokia.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-osk.h [PATCH] ARM: 2797/1: OMAP update 1/11: Update include files 2005-07-10 19:58:06 +01:00
board-perseus2.h [ARM] 3433/1: ARM: OMAP: 8/8 Update board files 2006-04-02 17:46:30 +01:00
board-voiceblue.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
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 [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
cpu.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
debug-macro.S [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
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 [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
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 [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
mux.h ARM: OMAP: mux: add config for 16xx SPI pins 2006-09-25 12:41:29 +03:00
omap16xx.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
omap24xx.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
omap730.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
omap1510.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
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 [ARM] 3426/1: ARM: OMAP: 1/8 Update clock framework 2006-04-02 17:46:20 +01:00
serial.h [ARM] 2888/1: OMAP 3/4: Update omap include files, take 2 2005-09-07 17:20:27 +01:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h [ARM] 3143/1: OMAP 4/5: Update omap include files 2005-11-10 14:26:53 +00:00
tps65010.h [PATCH] I2C: add i2c driver for TPS6501x 2005-06-21 21:52:01 -07:00
uncompress.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
usb.h [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00