arm: tegra: gpio: API to configure pins as gpio with init value
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 30 Sep 2011 10:44:27 +0000 (15:44 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:57:41 +0000 (00:57 -0700)
commitda897e21c4ebe8d62752b93dd6cee520ad3d3fea
treec62f5014a504159aa3d872acb6203f106c836a72
parent3fb9dea3ac2ad550e0798a57ebf1ec5e78539834
arm: tegra: gpio: API to configure pins as gpio with init value

Adding api to configure pins in gpio mode with init value before
gpio library is up. This will provide to configure the pins in
initial state and avoid any glitch in pins.

bug 876305

Reviewed-on: http://git-master/r/56630
(cherry picked from commit 9e357b69d25f96c13acb660860bcdf8e0ab0a1ef)

Change-Id: Ia14721c0bf96e1a45561139fdbbf2d995b9a4963
Reviewed-on: http://git-master/r/57265
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc775d23898a6275d633e4474e6cf9b10395697e2
arch/arm/mach-tegra/include/mach/gpio-tegra.h
drivers/gpio/gpio-tegra.c