arm: tegra: phy: enable wakeup event for usb phy
authorRakesh Bodla <rbodla@nvidia.com>
Fri, 7 Sep 2012 10:24:55 +0000 (15:24 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Tue, 11 Sep 2012 17:16:42 +0000 (10:16 -0700)
commit16bc744ad327ba1926966fcb6372ed6c27f98069
tree0f81205a3be9303e5e1da0706d670d34f680e3d2
parent4e0f23f193f549f7ce0c422ec7cab09e264ebebb
arm: tegra: phy: enable wakeup event for usb phy

If usb device already connected, should disable WKCN
in USB2D_PORTSC1, and enable WKDS in USB2D_PORTSC1,
during utmi phy power off. All the wakeup resource
should be cleared after the event happened.

Bug 1020021
Bug 1028429

Reviewed-on: http://git-master/r/128547
(cherry picked from commit 65ce999d1b22b01f6a2e6b3516be47e83d6d2584)

Change-Id: I0c4f704cd0517f0195053a5835ddf5c2956a2fa9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/130601
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
arch/arm/mach-tegra/tegra2_usb_phy.c
arch/arm/mach-tegra/tegra3_usb_phy.c