summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorSuresh Mangipudi <smangipudi@nvidia.com>2010-10-13 18:25:29 +0530
committerVarun Colbert <vcolbert@nvidia.com>2010-10-27 15:08:56 -0700
commitea4a5ef4284d580ccb21398d57763da0b659080c (patch)
tree3989f6e76c969786b97cde1f4560ca79a0aef07c /arch/arm/mach-tegra
parent6c61a8a4857a7b3740865a4a334604fb4bf44eed (diff)
[arm/tegra]ventana:Set pingroup SDD, SDC to lp on suspend
The POR value of SDD and SDC pin groups is PULL_UP. Now setting to NORMAL when entering lowpower state and reset back to PULL_UP when resuming from low power mode. Bug 718123 (cherry picked from commit e8de286c6c8e06f67c0102d26b52c3249e416e64) Change-Id: I7d97312a43953103493762720efc4cf678b6dc25 Reviewed-on: http://git-master/r/8863 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rwxr-xr-xarch/arm/mach-tegra/board-nvodm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c
index 16adcb6f8ea1..39229f28ec7d 100755
--- a/arch/arm/mach-tegra/board-nvodm.c
+++ b/arch/arm/mach-tegra/board-nvodm.c
@@ -1692,10 +1692,18 @@ void tegra_board_nvodm_suspend(void)
{
if (console_suspend_enabled)
tegra_debug_port_suspend();
+#ifdef CONFIG_TEGRA_ODM_VENTANA
+ tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_SDC, TEGRA_PUPD_NORMAL);
+ tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_SDD, TEGRA_PUPD_NORMAL);
+#endif
}
void tegra_board_nvodm_resume(void)
{
if (console_suspend_enabled)
tegra_debug_port_resume();
+#ifdef CONFIG_TEGRA_ODM_VENTANA
+ tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_SDC, TEGRA_PUPD_PULL_UP);
+ tegra_pinmux_set_pullupdown(TEGRA_PINGROUP_SDD, TEGRA_PUPD_PULL_UP);
+#endif
}