projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f49ce6
)
[ARM] tegra: board-stingray: Enable BP wakeup gpio
author
Benoit Goby
<benoit@android.com>
Wed, 15 Sep 2010 04:39:04 +0000
(21:39 -0700)
committer
Colin Cross
<ccross@android.com>
Wed, 6 Oct 2010 23:51:38 +0000
(16:51 -0700)
Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7
Signed-off-by: Benoit Goby <benoit@android.com>
arch/arm/mach-tegra/board-stingray.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/board-stingray.c
b/arch/arm/mach-tegra/board-stingray.c
index 2838cfc4ae2a01893946188f1849186e148e2fce..2f2df13b4d8dcedda069975aeee754036bde04fc 100644
(file)
--- a/
arch/arm/mach-tegra/board-stingray.c
+++ b/
arch/arm/mach-tegra/board-stingray.c
@@
-939,6
+939,11
@@
static void __init tegra_stingray_init(void)
gpio_direction_output(TEGRA_GPIO_PC5, 1);
gpio_export(TEGRA_GPIO_PC5, false);
+ tegra_gpio_enable(TEGRA_GPIO_PQ6);
+ gpio_request(TEGRA_GPIO_PQ6, "usb_bp_rem_wake");
+ gpio_direction_input(TEGRA_GPIO_PQ6);
+ gpio_export(TEGRA_GPIO_PQ6, false);
+
/* Enable charging */
tegra_gpio_enable(TEGRA_GPIO_PV5);
gpio_request(TEGRA_GPIO_PV5, "chg_stat1");