aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorFrank Li <[email protected]>2023-12-04 11:08:27 -0500
committerLorenzo Pieralisi <[email protected]>2023-12-12 11:13:30 +0100
commit6f8a41ba26230f6c04edad7daa25bd1c254c83b4 (patch)
tree5548ee51c9e1d5c797dd81d95a223bcabfa6edc4 /drivers/fpga/altera-fpga2sdram.c
parent123971a193d9ac70b207c24c9f4ed6908b837bb6 (diff)
PCI: layerscape: Add suspend/resume for ls1021a
Add suspend/resume support for Layerscape LS1021a. In the suspend path, PME_Turn_Off message is sent to the endpoint to transition the link to L2/L3_Ready state. In this SoC, there is no way to check if the controller has received the PME_To_Ack from the endpoint or not. So to be on the safer side, the driver just waits for PCIE_PME_TO_L2_TIMEOUT_US before asserting the SoC specific PMXMTTURNOFF bit to complete the PME_Turn_Off handshake. Then the link would enter L2/L3 state depending on the VAUX supply. In the resume path, the link is brought back from L2 to L0 by doing a software reset. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Frank Li <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Acked-by: Roy Zang <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions