[ARM] tegra: stingray: Update pinmux config for wifi-only model
authorGreg Meiste <w30289@motorola.com>
Fri, 18 Feb 2011 22:04:27 +0000 (16:04 -0600)
committerTodd Poynor <toddpoynor@google.com>
Fri, 25 Feb 2011 02:56:35 +0000 (18:56 -0800)
Change-Id: If20d390afc27eeef8c90b28984467e4808b3187a
Signed-off-by: Greg Meiste <w30289@motorola.com>
arch/arm/mach-tegra/board-stingray-pinmux.c

index 3d8c33c06974a2aba5a1334f74f84e4e1b1cb4e2..845ac2a281296c43d702166173cf1b8e04fb19dc 100755 (executable)
@@ -179,6 +179,15 @@ void __init stingray_pinmux_init(void)
        tegra_drive_pinmux_config_table(stingray_drive_pinmux,
                ARRAY_SIZE(stingray_drive_pinmux));
 
+       if (!stingray_hw_has_cdma() && !stingray_hw_has_umts()) {
+               /* Keep the pins from floating and creating excessive
+                * current drain. */
+               tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_GMC,
+                                           TEGRA_PUPD_PULL_UP);
+               tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_UDA,
+                                           TEGRA_PUPD_PULL_UP);
+       }
+
        tegra_gpio_disable(TEGRA_GPIO_PE0);
        tegra_gpio_disable(TEGRA_GPIO_PE1);
        tegra_gpio_disable(TEGRA_GPIO_PE2);