PCI: imx6: Implement reset sequence for i.MX6+
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 2 May 2016 19:09:10 +0000 (14:09 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 2 May 2016 19:33:17 +0000 (14:33 -0500)
commit4d31c6109a24892df461b6a98842935e80159a5e
treedf1343bf8354c06ff5a5e96d27ec0093a2959c68
parente6f1fef04c253955004efea35aea2e4bc59f49b6
PCI: imx6: Implement reset sequence for i.MX6+

I.MX6+ has a dedicated bit for resetting PCIe core, which should be used
instead of a regular reset sequence since using the latter will hang the
SoC.

This commit is based on c34068d48273e24d392d9a49a38be807954420ed from
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
drivers/pci/host/pci-imx6.c
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h