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:
9b6427f
)
[ARM] tegra: stingray: Configure SYS_RESTART_B gpio
author
Colin Cross
<ccross@google.com>
Wed, 11 Aug 2010 22:23:50 +0000
(15:23 -0700)
committer
Colin Cross
<ccross@android.com>
Wed, 6 Oct 2010 23:33:35 +0000
(16:33 -0700)
Change-Id: I8ccdf18a0b34877a5689a968ad253b2eb7a7a4f3
Signed-off-by: Colin Cross <ccross@google.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 18e14a670a0f1233b6fa66117dce5997b2c28046..338fb0dc5c96b13951e724abfd6b6a5ce34baf71 100644
(file)
--- a/
arch/arm/mach-tegra/board-stingray.c
+++ b/
arch/arm/mach-tegra/board-stingray.c
@@
-828,6
+828,10
@@
static void __init tegra_stingray_init(void)
gpio_request(TEGRA_GPIO_PV4, "usb_data_en");
gpio_direction_output(TEGRA_GPIO_PV4, 1);
+ tegra_gpio_enable(TEGRA_GPIO_PG3);
+ gpio_request(TEGRA_GPIO_PG3, "sys_restart_b");
+ gpio_direction_output(TEGRA_GPIO_PG3, 1);
+
/* Enable charging */
tegra_gpio_enable(TEGRA_GPIO_PV5);
gpio_request(TEGRA_GPIO_PV5, "chg_stat1");