ARM: tegra: USB1 VBUS and ID ANY wake level support
authorBitan Biswas <bbiswas@nvidia.com>
Tue, 14 May 2013 15:12:49 +0000 (20:12 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:28:15 +0000 (13:28 -0700)
commit54ebd090401221703d34e3e34b2eb8c23ef683f7
treed97e0c618a0616030d600226004bc4296389d346
parentd43c3a61d0ed1e86cd12e915b0279c527e0fbd0b
ARM: tegra: USB1 VBUS and ID ANY wake level support

This change enables wakeup from USB cable connect and disconnect
for both device(VBUS) and host(ID) cables.
 - board platform data used to enable the implementation
 - chip specific wakeups source file added with new API needed
   to detect VBUS and ID cable connect state
 - chip specific API exposed to return the USB1_VBUS and USB1_ID
   wake indices

Moved dummy implementation of USB wake support APIs from chip-specific
source into common file

bug 1286802
bug 1314875

Change-Id: I59cfca82a907d33190a5bc92f33de5986fada43f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/231918
(cherry picked from commit 75e8f1f218422013055c4fbcf96ceab059c933a7)
Reviewed-on: http://git-master/r/241033
(cherry picked from commit 3f65b627372c37b4726084bec1129b9b2dabfe4f)

Change-Id: Iae4db0cec2dbee6feef229b308b2b86340affd17
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/242383
(cherry picked from commit ba1bb5314fc5d877ab3bcd4e4530501e4f604dd4)
Reviewed-on: http://git-master/r/243438
(cherry picked from commit 7beaa748094e754c0bf7bd5f946c9a314949d2b9)
Reviewed-on: http://git-master/r/247106
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
13 files changed:
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board.h
arch/arm/mach-tegra/pm-irq.c
arch/arm/mach-tegra/pm-irq.h
arch/arm/mach-tegra/pm.h
arch/arm/mach-tegra/wakeups-t11x.c
arch/arm/mach-tegra/wakeups-t11x.h
arch/arm/mach-tegra/wakeups-t14x.h
arch/arm/mach-tegra/wakeups-t2.c
arch/arm/mach-tegra/wakeups-t2.h
arch/arm/mach-tegra/wakeups-t3.c
arch/arm/mach-tegra/wakeups-t3.h