diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2012-05-29 22:20:49 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-11 06:10:25 -0700 |
commit | d20809d1f283cd6c38591eebba7e920bb8c04cb0 (patch) | |
tree | 5c2a968bffe3c51eea275845abe22502d115e76a /arch/arm/mach-tegra/board-cardhu-power.c | |
parent | cfefc1ae7df99c8f3996a52605c2400975b7f59b (diff) |
ARM: tegra: cardhu: disable VBUS wake
Disabled USB1 VBUS wake up on board revisions prior to E1291-A03 and
E1198-A02. We see repeated LP0 wakeups if the wake source is enabled.
bug 980993
Change-Id: I080696924aaea06f973392fe7682fecc7574bf02
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/103627
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-power.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-power.c b/arch/arm/mach-tegra/board-cardhu-power.c index 8333c338b5c6..ace103f5ba6b 100644 --- a/arch/arm/mach-tegra/board-cardhu-power.c +++ b/arch/arm/mach-tegra/board-cardhu-power.c @@ -43,6 +43,8 @@ #include "board-cardhu.h" #include "pm.h" #include "tegra3_tsensor.h" +#include "wakeups.h" +#include "wakeups-t3.h" #define PMC_CTRL 0x0 #define PMC_CTRL_INTR_LOW (1 << 17) @@ -1155,8 +1157,15 @@ int __init cardhu_suspend_init(void) /* CORE_PWR_REQ to be high for E1291-A03 */ if (board_info.fab == BOARD_FAB_A03) cardhu_suspend_data.corereq_high = true; + if (board_info.fab < BOARD_FAB_A03) + /* post E1291-A02 revisions WAKE19/USB1-VBUS wake supported */ + tegra_disable_wake_source(TEGRA_WAKE_USB1_VBUS); break; case BOARD_E1198: + if (board_info.fab < BOARD_FAB_A02) + /* post E1198-A01 revisions WAKE19/USB1-VBUS wake supported */ + tegra_disable_wake_source(TEGRA_WAKE_USB1_VBUS); + break; case BOARD_PM269: case BOARD_PM305: case BOARD_PM311: |