mirror_ubuntu-kernels/drivers/pci/controller/dwc
Ben Dooks cf18fce4ed PCI: fu740: Drop redundant '-gpios' from DT GPIO lookup
The calls to devm_gpiod_get_optional() have the -gpios at the end of the
name but the GPIO core code is already adding the suffix during the lookup.
This means the PCIe driver is not finding the necessary reset or power
lines to allow initialisation of the PCIe.

Drop the redundant '-gpios' when we look up GPIOs from the DT.

This bug has not been noticed because if U-Boot has setup the GPIO lines
for the hardware when it does the PCIe initialisation (either by booting
from PCIe or user command to access PCIe) then the PCIe will work in Linux.
The U-Boot as supplied by SiFive does not by default initialise any PCIe
component.

Link: https://lore.kernel.org/r/20220221210347.1335004-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2022-03-10 09:42:29 -06:00
..
Kconfig Merge branch 'remotes/lorenzo/pci/qcom' 2021-11-05 11:28:52 -05:00
Makefile PCI: qcom-ep: Add Qualcomm PCIe Endpoint controller driver 2021-10-11 15:34:02 -05:00
pci-dra7xx.c bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
pci-exynos.c pci-v5.17-changes 2022-01-16 08:08:11 +02:00
pci-imx6.c PCI: imx: Add the imx8mm pcie support 2021-12-26 12:13:32 +00:00
pci-keystone.c Merge branch 'pci/driver-cleanup' 2022-01-13 09:57:53 -06:00
pci-layerscape-ep.c PCI: layerscape: Correct syntax by changing comma to semicolon 2021-03-22 17:24:19 +00:00
pci-layerscape.c PCI: layerscape: Change to use the DWC common link-up check function 2022-01-05 15:23:15 +00:00
pci-meson.c PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init() 2020-11-19 10:51:41 +00:00
pcie-al.c PCI: al: Remove useless dw_pcie_ops 2021-02-24 11:09:50 -06:00
pcie-armada8k.c PCI: dwc: Move dw_pcie_setup_rc() to DWC common code 2020-11-19 10:51:41 +00:00
pcie-artpec6.c PCI: artpec6: Prefer of_device_get_match_data() 2022-01-03 15:00:55 -06:00
pcie-designware-ep.c PCI: qcom-ep: Add Qualcomm PCIe Endpoint controller driver 2021-10-11 15:34:02 -05:00
pcie-designware-host.c PCI: dwc: Perform host_init() before registering msi 2021-10-12 13:46:02 +01:00
pcie-designware-plat.c PCI: designware-plat: Prefer of_device_get_match_data() 2022-01-03 15:01:09 -06:00
pcie-designware.c PCI: dwc: Do not remap invalid res 2021-12-02 09:41:43 +00:00
pcie-designware.h PCI: dwc: Move iATU detection earlier 2021-04-29 17:05:59 +01:00
pcie-dw-rockchip.c PCI: rockchip-dwc: Add Rockchip RK356X host controller driver 2021-08-31 14:58:20 -05:00
pcie-fu740.c PCI: fu740: Drop redundant '-gpios' from DT GPIO lookup 2022-03-10 09:42:29 -06:00
pcie-hisi.c PCI: hisi: Avoid invalid address space conversions 2022-01-03 15:05:28 -06:00
pcie-histb.c PCI: histb: Drop error data fabrication when config read fails 2021-11-18 13:40:29 -06:00
pcie-intel-gw.c PCI: intel-gw: Rename intel_pcie_port to intel_pcie 2022-01-03 15:01:43 -06:00
pcie-keembay.c PCI: keembay: Add support for Intel Keem Bay 2021-08-20 13:47:05 +01:00
pcie-kirin.c Merge branch 'pci/driver-cleanup' 2022-01-13 09:57:53 -06:00
pcie-qcom-ep.c pci-v5.17-changes 2022-01-16 08:08:11 +02:00
pcie-qcom.c PCI: qcom: Use __be16 type to store return value from cpu_to_be16() 2021-12-06 10:29:43 +00:00
pcie-spear13xx.c PCI: spear13xx: Avoid invalid address space conversions 2022-01-03 15:05:28 -06:00
pcie-tegra194-acpi.c PCI: tegra194: Fix MCFG quirk build regressions 2021-06-18 10:32:34 -05:00
pcie-tegra194.c PCI: tegra194: Rename tegra_pcie_dw to tegra194_pcie 2022-01-03 15:05:28 -06:00
pcie-uniphier-ep.c PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common code 2020-11-19 10:51:40 +00:00
pcie-uniphier.c PCI: uniphier: Rename uniphier_pcie_priv to uniphier_pcie 2022-01-03 15:05:28 -06:00
pcie-visconti.c PCI: visconti: Remove surplus dev_err() when using platform_get_irq_byname() 2021-10-07 16:03:57 +01:00