omap3: Fix handling some GPIO's for WLAN-BT combo on IGEP v2
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Fri, 8 Oct 2010 17:22:43 +0000 (10:22 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:22:43 +0000 (10:22 -0700)
commit5a9fcc9980ae741c4657029c7e92d914072f824a
treea036ffc397a59137f81a8c0621b878cc85e0f5ea
parent3f8c48d95f8e4ed3ea241c3e8704b5ff6c423fa4
omap3: Fix handling some GPIO's for WLAN-BT combo on IGEP v2

Some GPIO's used by WLAN-BT combo on IGEP v2 depends on hardware
revision. This patch handles these GPIO's.

  ----------------------------------------------------------
 |       Hw Rev.       | WIFI_NPD | WIFI_NRESET | BT_NRESET |
  ----------------------------------------------------------
 |  B                  | gpio94  |   gpio95    |     -      |
 |  B/C (B-compatible) | gpio94  |   gpio95    |  gpio137   |
 |  C                  | gpio138 |   gpio139   |  gpio137   |
  ----------------------------------------------------------

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-igep0020.c