ARM: tegra: cardhu: wakeup system from GPIO_PV0 without key detection
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 10 May 2012 13:52:47 +0000 (18:52 +0530)
committerSimone Willett <swillett@nvidia.com>
Tue, 15 May 2012 01:34:33 +0000 (18:34 -0700)
commitcee5b22929b92ac4a9a1d4d3921d4aa652fd1608
tree80b7283c94cd168a7cfeecccd6b97ed7fc9ab2f5
parentbc32f830de9ff80972f30fbb0b61c1937cf7c451
ARM: tegra: cardhu: wakeup system from GPIO_PV0 without key detection

To meet the LP0 exit power on sequence, it is require to wake system
for tegra gpio in place of PMIC for E1291-A04.
Also it is observed that if GPIO key is used to wakeup then there is
possibility of loosing the key event and hence adding the gpio
GPIO_PV0 as the key with code of RESERVED so that it can only
wakeup system but will not able to send the key event through
gpio keys.

bug 981320

Change-Id: I8610adca4b5ed8ae79f8fcca9a1d4b5548158c60
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/101784
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/mach-tegra/board-cardhu-kbc.c