OpenCloudOS-Kernel/arch/arm/mach-omap2
David Brownell e918edf7c2 ARM: OMAP: switch to gpio_direction_output
More conversion to the standard GPIO interfaces:  stop using
omap_set_gpio_direction() entirely, and switch over to the
gpio_direction_output() call.

Note that because gpio_direction_output() includes the initial
value, this change isn't quite transparent.

 - For the call sites which defined an initial value either
   before or after setting the direction, that value was used.

   When that value was previously assigned afterwards, this
   could eliminate a brief output glitch ... and possibly
   change behavior.  In a few cases (LCDs) several values
   were assigned together ... those were re-arranged to match
   the explicit sequence provided.

 - Some call sites didn't define such a value; so I chose an
   initial "off/reset" value that seemed to default to "off".

In short, files touched by this patch might notice some small
changes in startup behavior (with trivial fixes).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-12-10 17:35:26 -08:00
..
Kconfig ARM: OMAP3: Add basic board support for OMAP LDP 2008-10-10 12:06:43 +03:00
Makefile ARM: OMAP3: Add basic board support for OMAP LDP 2008-10-10 12:06:43 +03:00
Makefile.boot [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
board-2430sdp.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00
board-apollon.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
board-generic.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-h4.c i2c/isp1301_omap: Convert to a new-style i2c driver, part 2 2008-10-14 17:30:02 +02:00
board-ldp.c ARM: OMAP3: Add basic board support for OMAP LDP 2008-10-10 12:06:43 +03:00
board-omap3beagle.c ARM: OMAP3: Add minimal Beagle board support 2008-10-09 17:51:42 +03:00
board-overo.c ARM: OMAP3: Add support for the Gumstix Overo board (rev 3) 2008-10-09 17:51:43 +03:00
clock.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
clock.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
clock24xx.c [ARM] Convert asm/bitops.h to linux/bitops.h 2008-09-06 12:13:59 +01:00
clock24xx.h ARM: OMAP2: Clockdomain: Associate clocks with clockdomains 2008-08-19 11:08:44 +03:00
clock34xx.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
clock34xx.h ARM: OMAP: Enable GPIO debounce clock only when debounce is enabled v3 2008-12-10 17:35:24 -08:00
clockdomain.c [ARM] OMAP: clockdomain: add clkdm_get_pwrdm() 2008-08-21 21:30:19 +01:00
clockdomains.h ARM: OMAP2: Clockdomain: Integrate OMAP3 clocks with clockdomain code 2008-08-19 11:08:45 +03:00
cm-regbits-24xx.h ARM: OMAP2: Clockdomain: Encode OMAP2/3 clockdomains 2008-08-19 11:08:44 +03:00
cm-regbits-34xx.h ARM: OMAP2: Clockdomain: Encode OMAP2/3 clockdomains 2008-08-19 11:08:44 +03:00
cm.h [ARM] omap: Fix IO_ADDRESS() macros 2008-09-05 17:02:31 +01:00
control.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
devices.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
gpmc.c ARM: OMAP: Fix compiler warnings in gpmc.c 2008-11-04 13:35:06 -08:00
id.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
io.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
irq.c Merge branch 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-20 13:23:01 -07:00
mailbox.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
mcbsp.c ARM: OMAP: Add support for OMAP2430 in McBSP 2008-10-08 10:01:40 +03:00
memory.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
memory.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
mux.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
pm.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
powerdomain.c [ARM] OMAP3 pwrdm: add hardware save-and-restore (SAR) support 2008-08-21 21:26:39 +01:00
powerdomains.h ARM: OMAP: Powerdomain: Add OMAP3 powerdomains 2008-08-19 11:08:43 +03:00
powerdomains24xx.h ARM: OMAP2: Powerdomain: Add OMAP2 powerdomains 2008-08-19 11:08:42 +03:00
powerdomains34xx.h ARM: OMAP: Powerdomain: Add OMAP3 powerdomains 2008-08-19 11:08:43 +03:00
prcm-common.h ARM: OMAP: Powerdomain: Add OMAP3 powerdomains 2008-08-19 11:08:43 +03:00
prcm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
prm-regbits-24xx.h ARM: OMAP2: Powerdomain: Add OMAP2 powerdomains 2008-08-19 11:08:42 +03:00
prm-regbits-34xx.h ARM: OMAP: Powerdomain: Add OMAP3 powerdomains 2008-08-19 11:08:43 +03:00
prm.h Merge unstable branch 'omap-rmk' 2008-10-03 11:52:33 +01:00
sdrc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
serial.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
sleep24xx.S ARM: OMAP2: Move sleep.S into sleep24xx.S 2008-10-06 15:49:15 +03:00
sram34xx.S ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
sram242x.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sram243x.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
timer-gp.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
usb-tusb6010.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00