Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MLK-18794-1 usb: host: xhci: add .bus_suspend override
Some platforms (eg: Cadence USB3) have special requirements to add platform USB register setting between xhci_bus_suspend and platform USB controller suspend routine. Eg, The Cadence USB3 needs RX detect clock switch from 24Mhz to 32Khz within 100ms after set port to U3, but sometimes, for USB3 HUB connection, the USB2 bus suspend will cost more than 100ms, and introduce the disconnection before the PHY enters low power mode, then the state is in mess from controller side. So in this commit, we introduce .bus_suspend for xhci_driver_overrides for above use cases. Signed-off-by: Peter Chen <peter.chen@nxp.com>
- Loading branch information