arm: tegra: phy: enable wakeup event for usb phy
authorRakesh Bodla <rbodla@nvidia.com>
Tue, 4 Sep 2012 06:13:44 +0000 (11:13 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 5 Sep 2012 18:45:32 +0000 (11:45 -0700)
commit65ce999d1b22b01f6a2e6b3516be47e83d6d2584
tree8b9106a2376e8e9c19b2ad9d08f04af632041d27
parentc8dff984ffd77183bbc01ab1beb8fbfe3019273f
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

Change-Id: I807ca76d4392318adf6adb808cb2bf290cd0d60c
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/128547
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