ARM: tegra: cardhu: Wakup through GPIO-PV0 for E1291-A04
Laxman Dewangan [Wed, 2 May 2012 16:11:57 +0000 (21:11 +0530)]
To have the proper LP0 exit power sequence, it is require to
wakeup system through tegra gpio rather than PMU-INT.

bug 957972

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100107
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Cherry-picked commit ffe8e102d91c5eafc0b71b044b97fe9e8cef7463

Change-Id: I0518e46b43ec36ba6e076a946da2d395cd31777e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100521
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

arch/arm/mach-tegra/board-cardhu-kbc.c

index 3a813d7..8174a85 100644 (file)
@@ -175,7 +175,7 @@ static struct gpio_keys_button cardhu_keys_e1291_a04[] = {
        [3] = GPIO_KEY(KEY_SEARCH, PQ3, 0),
        [4] = GPIO_KEY(KEY_BACK, PQ0, 0),
        [5] = GPIO_KEY(KEY_MENU, PQ1, 0),
-       [6] = GPIO_IKEY(KEY_POWER, TPS6591X_IRQ_BASE + TPS6591X_INT_PWRON, 1, 100),
+       [6] = GPIO_KEY(KEY_POWER, PV0, 1),
 };
 
 static struct gpio_keys_platform_data cardhu_keys_e1291_pdata = {