android_kernel_xiaomi_sm8350/arch/arm/mach-omap1
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
..
board-ams-delta.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-fsample.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -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-h2-mmc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-h2.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
board-h3-mmc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-h3.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
board-innovator.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-nokia770.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
board-osk.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-palmte.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00
board-palmtt.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
board-palmz71.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
board-perseus2.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
board-sx1-mmc.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-sx1.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
board-voiceblue.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
clock.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
clock.h [ARM] omap: DSP registers don't need to be casted 2008-09-05 17:02:32 +01:00
devices.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
fpga.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00
id.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
io.c [ARM] omap: fix a pile of issues 2008-12-01 17:40:54 +00:00
irq.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
Kconfig
leds-h2p2-debug.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
leds-innovator.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-osk.c ARM: OMAP: switch to standard gpio get/set calls 2008-12-10 17:35:25 -08:00
leds.c ARM: OMAP: switch to gpio_direction_output 2008-12-10 17:35:26 -08:00
leds.h
mailbox.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
Makefile
Makefile.boot
mcbsp.c ARM: OMAP: Allocate McBSP devices dynamically 2008-10-08 10:01:39 +03:00
mux.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
pm.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
serial.c ARM: OMAP: switch to gpio_direction_input 2008-12-10 17:35:26 -08:00
sleep.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sram.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
timer32k.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00