USB: dwc3: Clear suspend bit during host bus resume

As part of host bus suspend, dwc3 driver sets suspend bit
in GUSB2PHYCONFIG register before putting USB in low power mode.
If remote wakeup happens due to peripharal disconnect/connect,
clear suspend bit in GUSB2PHYCONFIG register. otherwise commands
queued to USB Host controller will be timed out and will lead to
crash.

Also as part of host bus suspend, don't allow putting HSPHY into
retention, disabling regulators and voting for TCXO shutdown.

CRs-Fixed: 443628
CRs-Fixed: 443637
Change-Id: I498129349beb3f4f0d08f4c7775735f5b0fcbdd6
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
1 file changed