Leonard Crestez 9e56f0df36 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>
2018-12-18 12:01:16 +00:00
..
2018-10-20 11:45:30 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-10-20 11:45:30 -05:00
2018-08-15 14:58:54 -05:00
2018-03-19 14:20:43 -05:00
2018-10-02 10:14:32 +02:00
2018-03-19 14:20:43 -05:00
2018-08-15 14:58:52 -05:00
2018-10-25 06:50:48 -07:00
2018-10-20 11:45:35 -05:00
2018-10-20 11:45:35 -05:00
2018-05-16 07:23:35 +02:00
2018-06-29 21:17:26 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-09-21 12:18:10 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2018-03-19 14:20:43 -05:00