linux/arch/arm
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
..
boot [ARM] 4216/1: add .gitignore entries for ARM specific files 2007-02-17 11:26:41 +00:00
common [ARM] 4251/1: Fix sharpsl_pm dependency 2007-03-08 13:34:02 +00:00
configs [ARM] 4229/1: S3C2410: Add MACH_QT2410 to s3c2410_defconfig 2007-02-22 14:53:25 +00:00
kernel [ARM] 4226/1: initial .data and .bss mappings of XIP kernel should be TEXT_OFFSET 2007-02-25 16:41:39 +00:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mach-aaec2000 [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-at91 [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
mach-clps711x [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-clps7500 [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-ebsa110 [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-ep93xx [ARM] 4142/1: ep93xx: handle IRQT_NOEDGE 2007-02-08 14:56:06 +00:00
mach-footbridge [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-h720x [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-imx [ARM] 4255/1: i.MX/MX1 Correct MPU PLL reference clock value. 2007-03-12 16:49:35 +00:00
mach-integrator [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-iop13xx Merge ARM fixes 2007-02-20 19:13:30 +00:00
mach-iop32x [ARM] Merge remaining IOP code 2007-02-20 10:52:43 +00:00
mach-iop33x [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx 2007-02-17 15:05:40 +00:00
mach-ixp4xx Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
mach-ixp23xx [ARM] 3994/1: ixp23xx: fix handling of pci master aborts 2006-12-07 16:16:19 +00:00
mach-ixp2000 [ARM] 3965/1: ixp2000: fix handling of pci master aborts 2006-12-01 16:55:22 +00:00
mach-l7200 [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-lh7a40x Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-12-07 15:40:39 -08:00
mach-netx [PATCH] clocksource: fixup is_continous changes on ARM 2007-02-16 08:13:57 -08:00
mach-ns9xxx [ARM] 4247/1: Fix long name for cc9p9360dev 2007-03-08 13:33:56 +00:00
mach-omap1 ARM: OMAP: Fix missing workqueue include in board-h2.c 2007-03-07 01:17:46 -08:00
mach-omap2 ARM: OMAP: Fix OMAP2 dss2 so clk_set_parent works 2007-03-07 01:17:46 -08:00
mach-pnx4008 i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
mach-pxa [ARM] 4249/1: Fix tosa compile failure 2007-03-08 13:33:58 +00:00
mach-realview [ARM] 4201/1: SMP barriers pair needed for the secondary boot process 2007-02-16 13:06:56 +00:00
mach-rpc [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-s3c2400 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2410 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2412 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2440 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
mach-s3c2442 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2443 [ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM 2007-02-17 20:04:17 +00:00
mach-sa1100 [PATCH] gpio_direction_output() needs an initial value 2007-03-16 19:25:04 -07:00
mach-shark [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-versatile i2c: New ARM Versatile/Realview bus driver 2006-12-10 21:21:32 +01:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-02-19 13:29:02 -08:00
nwfpe [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 2006-07-13 13:04:24 +01:00
oprofile [ARM] 4237/2: oprofile: Always allow backtraces on ARM 2007-03-02 11:58:58 +00:00
plat-iop [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx 2007-02-17 15:05:40 +00:00
plat-omap ARM: OMAP: Use linux/delay.h not asm/delay.h 2007-03-02 01:47:13 -08:00
plat-s3c24xx [ARM] 4239/1: S3C24XX: Update kconfig entries for PM 2007-03-02 11:58:58 +00:00
tools [ARM] Update mach-types 2007-01-24 11:59:57 +00:00
vfp [ARM] 4111/1: Allow VFP to work with thread migration on SMP 2007-01-25 16:35:29 +00:00
Kconfig [PATCH] add CONFIG_GENERIC_GPIO 2007-03-05 07:57:51 -08:00
Kconfig-nommu [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Kconfig.debug [ARM] Remove DEBUG_WAITQ 2006-11-30 12:24:47 +00:00
Makefile [ARM] fix mach-at91 build breakage 2007-02-20 15:28:40 +00:00