]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
twl4030-gpio: pullup/pulldown init
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 30 Sep 2008 18:43:08 +0000 (21:43 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Oct 2008 10:37:40 +0000 (13:37 +0300)
commit6d5091e52e77ea295bec4f1c811406780ae98149
treec643c9d9c97b119485d7628bb2f2a1fc9020dbdb
parentbff372a9aa2b9a585872feb62a5e8386f4eb7d8d
twl4030-gpio: pullup/pulldown init

Finish moving initialization of pullups and pulldowns for twl4030
GPIOs into board specific init.  Remove partial/incorrect init code
for that from the hsmmc glue.

Doing this right requires some attention from board init logic,
based on how the TWL chip is wired.  Letting digital inputs float
will waste power.  Everyone with board schematics should update
their board init code so it matches their boards; meanwhile,
this returns to "current" behavior (all pullups disabled) but
finally offers a way to do it "right".

Note that the ULPI pins won't need this attention (muxed against
gpio{3-5,9-12,14} pins), and neither will ones with external
pullups or pulldowns (conventional for MMC/SD card detect).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c
drivers/gpio/twl4030-gpio.c
include/linux/i2c/twl4030.h