diff options
| author | Krishna Chaitanya Chundru <[email protected]> | 2025-07-02 11:20:42 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-07-15 18:22:09 +0000 |
| commit | a2fbecdbbb9d7706fd3ec25f0dead83a2d542943 (patch) | |
| tree | 85993571a2adfb386b13b87d88df7dda59c8feee /drivers/pci/controller/dwc/pcie-designware-host.c | |
| parent | dt-bindings: PCI: qcom: Move PHY & reset GPIO to Root Port node (diff) | |
| download | kernel-a2fbecdbbb9d7706fd3ec25f0dead83a2d542943.tar.gz kernel-a2fbecdbbb9d7706fd3ec25f0dead83a2d542943.zip | |
PCI: qcom: Add support for parsing the new Root Port binding
The DT binding has moved the PHY, PERST# properties to Root Port node from
the Host Bridge node. So add support for parsing the new binding. The new
binding uses 'reset-gpios' property for PERST#, hence parse the same
property in the driver instead of the legacy 'perst-gpios'.
To maintain DT backwards compatibility, fallback to the legacy method of
parsing the host bridge node if the properties are not present in the Root
Port node.
Signed-off-by: Krishna Chaitanya Chundru <[email protected]>
[mani: refactored the root port parsing code, fixed a bug & commit message rewording]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware-host.c')
0 files changed, 0 insertions, 0 deletions
