diff options
author | 2025-07-02 16:50:42 +0530 | |
---|---|---|
committer | 2025-07-15 13:22:09 -0500 | |
commit | a2fbecdbbb9d7706fd3ec25f0dead83a2d542943 (patch) | |
tree | 85993571a2adfb386b13b87d88df7dda59c8feee /tools/perf/scripts/python | |
parent | dt-bindings: PCI: qcom: Move PHY & reset GPIO to Root Port node (diff) | |
download | wireguard-linux-a2fbecdbbb9d7706fd3ec25f0dead83a2d542943.tar.xz wireguard-linux-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 <krishna.chundru@oss.qualcomm.com>
[mani: refactored the root port parsing code, fixed a bug & commit message rewording]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250702-perst-v5-2-920b3d1f6ee1@qti.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions