MLK-16052-2 PCI: imx: fix the pcieb link down issue
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 27 Jul 2017 07:58:27 +0000 (15:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:10 +0000 (15:36 -0500)
commitdd1cd4e998ccbfb552f0f4e3ea1736a444652406
treeb5bef4be7509e7230a5c311e70e586c5b231f3b0
parentb63f7fddc30e55c984548e5f070db3b7b9d35289
MLK-16052-2 PCI: imx: fix the pcieb link down issue

The calibration value of PCIEA is mandatory required
by PCIEB on iMX8QM.

The RSTs of the PCIEA would be cleared when the PDs
of PCIEA are turned off.
The calibration value of PCIEA would be lost when the
RSTs of PCIEA are cleared.
So, the RSTs of PCIEA should be asserted when enable
the PCIEB port. Otherwise, PCIEB wouldn't be functional.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/host/pci-imx6.c