ARM: tegra: xusb:Transfer utmi port to pmc in elpg
Rohith Seelaboyina [Thu, 22 Aug 2013 10:06:04 +0000 (15:06 +0530)]
Program pmc for utmip ports during elpg entry/exit.

Bug 1307598

Change-Id: I29803a053850418ca532c438cc390cdc5de12d25
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/265535
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

arch/arm/mach-tegra/include/mach/xusb.h

index 901628e..cb3a416 100644 (file)
@@ -32,6 +32,8 @@
 #define TEGRA_XUSB_USB2_P2     (1 << 10)
 #define XUSB_HSIC_INDEX        (16)
 #define XUSB_HSIC_COUNT        (2)
+#define XUSB_UTMI_COUNT                (3)
+#define XUSB_UTMI_INDEX                (8)
 #define TEGRA_XUSB_HSIC_P0     BIT(XUSB_HSIC_INDEX)
 #define TEGRA_XUSB_HSIC_P1     BIT(XUSB_HSIC_INDEX + 1)
 #define TEGRA_XUSB_ULPI_P0     (1 << 24)