From 6f18ffff102b710dc4c86ebe834c0a70b251b249 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Tue, 14 Sep 2010 21:39:04 -0700 Subject: [PATCH] [ARM] tegra: board-stingray: Enable BP wakeup gpio Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7 Signed-off-by: Benoit Goby --- arch/arm/mach-tegra/board-stingray.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index 2838cfc4ae2a..2f2df13b4d8d 100644 --- 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"); -- 2.34.1