From: Benoit Goby Date: Wed, 15 Sep 2010 04:39:04 +0000 (-0700) Subject: [ARM] tegra: board-stingray: Enable BP wakeup gpio X-Git-Tag: firefly_0821_release~9834^2~553 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f18ffff102b710dc4c86ebe834c0a70b251b249;p=firefly-linux-kernel-4.4.55.git [ARM] tegra: board-stingray: Enable BP wakeup gpio Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7 Signed-off-by: Benoit Goby --- 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");