aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorJianjun Wang <[email protected]>2021-04-20 14:17:22 +0800
committerLorenzo Pieralisi <[email protected]>2021-04-29 17:34:22 +0100
commitd537dc125f0756f7eb9f3a2f878fbe2e3179c452 (patch)
tree5782f12bef59883aa8f0296eebc7300cd1c55293 /drivers/pci/controller/dwc
parent1bdafba538be706b185c7aded0d42327702d92b7 (diff)
PCI: mediatek-gen3: Add system PM support
Add suspend_noirq and resume_noirq callback functions to implement PM system suspend and resume hooks for the MediaTek Gen3 PCIe controller. When the system suspends, trigger the PCIe link to enter the L2 state and pull down the PERST# pin, gating the clocks of the MAC layer, and then power-off the physical layer to provide power-saving. When the system resumes, the PCIe link should be re-established and the related control register values should be restored. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jianjun Wang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Ryder Lee <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions