From: Ivan T. Ivanov Date: Mon, 28 Apr 2014 13:34:18 +0000 (+0300) Subject: usb: phy: msm: Correct USB PHY Reset sequence for newer platform X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~171^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69c6f5df376ea40df5886468b155f515fddfbb2;p=pandora-kernel.git usb: phy: msm: Correct USB PHY Reset sequence for newer platform On few legacy platforms, USB PHY is having dedicated reset clk. It is used to reset USB PHY after putting USB PHY into low power mode and for calibration of USB PHY. Putting USB PHY into low power mode is causing ulpi read/write timeout as expected. USB PHY reset clk is not available on newer platform. For 28nm PHY, reset USB PHY after resetting USB LINK. Also reset USB PHY using USB_PHY_PON bit with USB_OTG_HS_PHY_CTRL register after programming USB PHY Override registers as suggested with hardware programming guidelines. Signed-off-by: Ivan T. Ivanov Signed-off-by: Tim Bird Cc: Mayank Rana Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed