diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2018-11-07 13:57:03 +0000 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-12-18 12:01:16 +0000 |
commit | 9e56f0df3684bd752347e7c3df5e8ed1fc55d139 (patch) | |
tree | 003b7f8b7fd62585978928192b120ee7e401b2c7 /drivers/pci/bus.c | |
parent | 3d71746c420c1c1c27cf5c4e48f8fa0a6cfdc185 (diff) | |
download | linux-9e56f0df3684bd752347e7c3df5e8ed1fc55d139.tar.bz2 |
PCI: imx: Add imx6sx suspend/resume support
Enable PCI suspend/resume support on imx6sx SOCs. This is similar to
imx7d with a few differences:
* The PM_Turn_Off bit is exposed through an IOMUX GPR, like all other
pcie control bits on 6sx.
* The pcie_inbound_axi clk needs to be turned off in suspend. On resume
it is restored via resume -> deassert_core_reset -> enable_ref_clk.
Most of the resume logic is shared with the initial reset after probe.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/pci/bus.c')
0 files changed, 0 insertions, 0 deletions