Star64_linux/drivers/pci/controller/dwc
Trent Piepho 1df82ec466 PCI: imx: Add workaround for e10728, IMX7d PCIe PLL failure
This implements the workound described in the NXP IMX7d erratum e10728.

Initial VCO oscillation may fail under corner conditions such as cold
temperature. It causes PCIe PLL to fail to lock in the initialization
phase, which results in the PCIe link failing to come up.

The workaround is to disable Duty-Cycle Corrector (DCC) calibration
after G_RST.

To do this it is necessary to gain access to the undocumented and
currently unused PCIe PHY register bank. A new device tree node of type
"fsl,imx7d-pcie-phy" is created for the PHY block and the existing PCIe
device uses a phandle named "fsl,imx7d-pcie-phy" to point to it.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
[lorenzo.pieralisi@arm.com: updated log string, commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
2019-02-12 19:17:34 +00:00
..
Kconfig PCI: imx6: Add support for i.MX8MQ 2019-02-04 12:04:53 +00:00
Makefile Merge branch 'remotes/lorenzo/pci/uniphier' 2019-01-02 15:31:15 -06:00
pci-dra7xx.c PCI: dwc: dra7xx: Invoke phy_set_mode() API to set PHY mode to PHY_MODE_PCIE 2019-01-31 17:21:17 +00:00
pci-exynos.c PCI: exynos: Drop unnecessary root_bus_nr setting 2018-07-13 14:07:47 +01:00
pci-imx6.c PCI: imx: Add workaround for e10728, IMX7d PCIe PLL failure 2019-02-12 19:17:34 +00:00
pci-keystone.c PCI: keystone: Cleanup macros defined in pci-keystone.c 2018-10-17 09:59:02 +01:00
pci-layerscape.c pci-v4.21-changes 2019-01-05 17:57:34 -08:00
pci-meson.c PCI: amlogic: Add the Amlogic Meson PCIe controller driver 2018-12-19 10:24:30 +00:00
pcie-armada8k.c PCI: armada8k: Add support for gpio controlled reset signal 2018-12-18 12:01:16 +00:00
pcie-artpec6.c PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures 2018-07-19 11:34:42 +01:00
pcie-designware-ep.c PCI: dwc: Print debug error message when MSI-X entry control mask bit is set 2019-02-12 19:17:33 +00:00
pcie-designware-host.c PCI: dwc: Replace bit rotation operation (1 << bit) with BIT(bit) 2019-02-01 12:36:36 +00:00
pcie-designware-plat.c PCI: dwc: Remove unnecessary header include (signal.h) 2019-02-01 12:33:19 +00:00
pcie-designware.c PCI: dwc: Don't hard-code DBI/ATU offset 2018-12-18 12:01:17 +00:00
pcie-designware.h PCI: dwc: Improve code readability and simplify mask/unmask operations 2019-02-01 12:34:28 +00:00
pcie-hisi.c
pcie-histb.c PCI: histb: Constify dw_pcie_host_ops structure 2018-11-08 13:54:44 +00:00
pcie-kirin.c PCI: kirin: Fix section mismatch warning 2018-10-01 17:16:23 +01:00
pcie-qcom.c PCI: qcom: Fix error handling in runtime PM support 2018-09-18 10:13:14 +01:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-uniphier.c PCI: uniphier: Add UniPhier PCIe host controller support 2018-12-19 10:25:44 +00:00