ARM: tegra: cardhu: open drain pin need not to set tristate
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 24 Apr 2012 11:23:38 +0000 (16:23 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 24 Apr 2012 21:57:58 +0000 (14:57 -0700)
commit9843f2c0728f88144fab716109e325b6b68e18d4
treefc3cf4fd75acee94bf8cc8c75027b76a594fc6c2
parent41eb9f8f4c7b7ff06df127e111755f5b4f1dc35d
ARM: tegra: cardhu: open drain pin need not to set tristate

When open drian pin is set as gpio-input, the pin is set as
tristate and hence need not to set this again tristate from
pinmux controller.
Setting the pin in normal in pinmux controller and then
- setting HIGH by gpio-input and pull-up so that pin is
  tristated through gpio controller.
- Setting LOW by gpio-output and drive to LOW. As pin is in
  normal state in the pinmux, the output will be set to LOW.

bug 973591
bug 969182

Change-Id: Ia9518f79987c9562bb57f95a468bdc5b5e143b87
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/98434
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
arch/arm/mach-tegra/board-cardhu-pinmux.c