arm: tegra: power: lp0 wake enable modified
authorBitan Biswas <bbiswas@nvidia.com>
Tue, 15 Nov 2011 09:09:02 +0000 (14:09 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:58:11 +0000 (00:58 -0700)
commit7b3bcce613fe3d0d3275c7dedf0b5ce2eb4d034b
tree80f122aedd9da3b4f791c243dca0e99e4352d729
parent785ce9eabcb16466c9ff49e85dc6804ad8300076
arm: tegra: power: lp0 wake enable modified

GPIO based lp0 wakeup needed to support search for its irq
as well as GPIO bank irq in table. This is implemented
in this change.

lp0 wakeup irq enable using enable_irq_wake needs to be
called in specific drivers. Additionally, in some cases
wake irq needs to be updated in tegra wakeup table.

bug 890309
bug 902114

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

Rebase-Id: Rffcadeee341a73f2ea6d62e31d507e9a8dce5a0e
arch/arm/mach-tegra/include/mach/gpio-tegra.h
arch/arm/mach-tegra/pm-irq.c
arch/arm/mach-tegra/wakeups-t2.c
arch/arm/mach-tegra/wakeups-t3.c
drivers/gpio/gpio-tegra.c