]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
uphy: xhci: tegra: t210: enable vbus after HCRST
authorBH Hsieh <bhsieh@nvidia.com>
Fri, 24 Mar 2017 06:41:55 +0000 (14:41 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 13 Apr 2017 07:47:18 +0000 (00:47 -0700)
commit6e7a6ecbfee16c6560bdeb48e5c1dd0c1809e712
tree42d93d85952781698e6e6f2bf531cfb076b8f9b1
parent257f329ef062fd7724667bf75428eb4b554d012d
uphy: xhci: tegra: t210: enable vbus after HCRST

Realtek R8152 is observed violating spec and failed
to turn on termination after exiting Polling.Active
due to 12 ms timeout.

To avoid this issue, enable VBUS after HCRST instead
of before loading xusb firmware hence no reset SSPI
would interrupt Polling.RxEQ/Polling.Active state.

bug 200272921

Change-Id: I555acda4fd238d0b89b94d8a823c2150629361ec
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/1313776
(cherry picked from commit f48e0a8f2426932b653d0ffd337a6571050736f4)
Reviewed-on: http://git-master/r/1453256
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/pinctrl/pinctrl-tegra21x-padctl-uphy.c
drivers/usb/host/xhci-tegra.c
include/soc/tegra/xusb.h