summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/gpio.h
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2011-11-15 14:39:02 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:16 -0800
commitd42e1fd52adbed786f13bd22dce41fee58146465 (patch)
treefb09283a2f4f41a2dd5f96a7267adcd22d6cf483 /arch/arm/mach-tegra/include/mach/gpio.h
parentc40df1b08359db110ef153d470e3e3da7a5ba575 (diff)
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
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/gpio.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/gpio.h b/arch/arm/mach-tegra/include/mach/gpio.h
index dd1a249eafa9..b7357ab0c4dd 100644
--- a/arch/arm/mach-tegra/include/mach/gpio.h
+++ b/arch/arm/mach-tegra/include/mach/gpio.h
@@ -76,4 +76,5 @@ void tegra_gpio_disable(int gpio);
int tegra_gpio_resume_init(void);
void tegra_gpio_init_configure(unsigned gpio, bool is_input, int value);
void tegra_gpio_set_tristate(int gpio, enum tegra_tristate ts);
+int tegra_gpio_get_bank_int_nr(int gpio);
#endif