MLK-16074 PCI: imx: correct some bits configiration of hsio
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 24 Jul 2017 04:44:50 +0000 (12:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:47 +0000 (15:33 -0500)
commit3151b33b1591363f3f73968a3dd2f6a6adb53551
treeba4001147a61349a82e83959613407015ed2af81
parent58ef988ce8c40263a30baa4fa1c13d00b48d811b
MLK-16074 PCI: imx: correct some bits configiration of hsio

- Both APB_RST_0 and APB_RST_1 should be asserted, when PHYX2
is used.
Otherwise, PHYX2 can't finish calibration.
- Correct the PCIEB(PHYX2_1) TX PLL locked check.
- The clear check of the reset should be done after
clks are enabled

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