ARM: tegra: dalmore: Enable pull-down for MDM_COLD_BOOT
Steve Lin [Thu, 29 Nov 2012 01:49:28 +0000 (17:49 -0800)]
Enabling pull-down for Dalmore MDM_COLD_BOOT GPIO.

Bug 1176649
Bug 1184342

Change-Id: I43cc9f761a2e65cd43696bdde7428922cb734c21
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/167137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
GVS: Gerrit_Virtual_Submit

arch/arm/mach-tegra/board-dalmore.c

index 15723f9..2595f4d 100644 (file)
@@ -533,6 +533,10 @@ static int baseband_init(void)
                return ret;
        }
 
+       /* enable pull-down for MDM_COLD_BOOT */
+       tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_KB_COL5,
+                                   TEGRA_PUPD_PULL_DOWN);
+
        /* export GPIO for user space access through sysfs */
        gpio_export(MDM_RST, false);