Commits
Peter Chen committed 065da5c38ee
MLK-18794-2 usb: cdns: improve the suspend routine for xhci host The controller needs to set CFG_RXDET_P3_EN within 100ms after USB3 port is set to U3, but when there is a USB3 HUB in port, the USB2 port bus suspend may take more than 100ms to finish, it causes disconnection and PHY can't enter low power mode in system suspend routine. To fix this issue, we implement the platform .bus_suspend, and set CFG_RXDET_P3_EN just after xhci_bus_suspend. The LPM_2_STB_SWITCH_EN only needs to be set one time, and OTG_STB_CLK_SWITCH_EN isn't needed to set for host/device mode according to IC engineer's sugguestion. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 2bc2bc9d40a5af5e8147b9281dd3c01c6dfe40d2)