linux_old1/drivers/pci/host
Richard Zhu a2fa6f64c2 PCI: imx6: Wait for clocks to stabilize after ref_en
For boards without a reset GPIO we skip the delay between enabling the
pcie_ref_clk and touching the RC registers for configuration.  This hangs
the system if there isn't a proper delay to ensure the clocks are settled
in the DW PCIe core.

Also iMX6Q always needs an additional 10us delay to make sure the reset is
propagated through the core, as we don't have an explicitly controlled
reset input on this SoC.

This fixes a problem with 3fce0e882f ("PCI: imx6: Delay enabling
reference clock for SS until it stabilizes"): the kernel doesn't boot on
systems that don't pass the PCI GPIO reset in the DTB.  This regression
affects mx6 nitrogen boards.

[bhelgaas: add regression info in changelog]
Fixes: 3fce0e882f ("PCI: imx6: Delay enabling reference clock for SS until it stabilizes")
Reported-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Richard Zhu <richard.zhu@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
2014-10-29 10:11:54 -06:00
..
Kconfig PCI changes for the v3.18 merge window: 2014-10-09 15:03:49 -04:00
Makefile Merge branch 'pci/host-xgene' into next 2014-10-06 09:59:15 -06:00
pci-dra7xx.c PCI: dra7xx: Add TI DRA7xx PCIe driver 2014-07-22 15:26:24 -06:00
pci-exynos.c Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pci-host-generic.c PCI: generic: Fix GPL v2 license string typo 2014-07-15 15:07:46 -06:00
pci-imx6.c PCI: imx6: Wait for clocks to stabilize after ref_en 2014-10-29 10:11:54 -06:00
pci-keystone-dw.c Merge branch 'pci/host-designware' into next 2014-09-29 13:24:24 -06:00
pci-keystone.c Merge branch 'pci/host-designware' into next 2014-09-29 13:24:24 -06:00
pci-keystone.h Merge branch 'pci/host-designware' into next 2014-09-29 13:24:24 -06:00
pci-mvebu.c PCI: mvebu: Fix uninitialized variable in mvebu_get_tgt_attr() 2014-09-22 14:40:17 -06:00
pci-rcar-gen2.c PCI: rcar: Add gen2 device tree support 2014-05-28 07:47:55 -06:00
pci-tegra.c Merge branch 'pci/host-generic' into next 2014-10-01 12:31:23 -06:00
pci-xgene.c PCI: xgene: Add APM X-Gene PCIe driver 2014-10-01 13:01:35 -06:00
pcie-designware.c PCI: designware: Remove open-coded bitmap operations 2014-10-01 12:40:21 -06:00
pcie-designware.h PCI: designware: Add get_msi_data() to pcie_host_ops 2014-09-24 07:07:43 -06:00
pcie-rcar.c of/pci: Fix the conversion of IO ranges into IO resources 2014-09-30 17:08:40 -06:00
pcie-spear13xx.c PCI: spear: Pass config resource through reg property 2014-09-22 14:19:30 -06:00
pcie-xilinx.c PCI: xilinx: Fix xilinx_pcie_assign_msi() return value test 2014-09-16 17:41:52 -06:00