[PATCH V2 0/2] PCI: imx6: Improve PERST# fallback logic
Sherry Sun (OSS)
sherry.sun at oss.nxp.com
Sun May 24 23:54:41 PDT 2026
From: Sherry Sun <sherry.sun at nxp.com>
The pci_host_common_parse_port() shouldn't decide whether to fall back
to the legacy RC-level binding by checking for "reset-gpios/reset-gpio"
properties on the RC node and returning -ENODEV. That's a policy
decision belongs to the caller, not this common helper.
This patch set improves the PERST# (PCIe reset) GPIO fallback logic
across the generic PCI host bridge helper and the i.MX6 PCIe driver.
---
Changes in V2:
1. Improved the commit messages as Richard suggested.
2. Collected Reviewed-by tags.
---
Sherry Sun (2):
PCI: host-generic: Simplify return value handling in
pci_host_common_parse_port(s)
PCI: imx6: Add imx_pcie_perst_found() to inspect the parsed result
drivers/pci/controller/dwc/pci-imx6.c | 25 +++++++++++++-------
drivers/pci/controller/pci-host-common.c | 29 ++++--------------------
2 files changed, 22 insertions(+), 32 deletions(-)
base-commit: c1ecb239fa3456529a32255359fc78b69eb9d847
--
2.37.1
More information about the linux-arm-kernel
mailing list