diff options
author | Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> | 2025-07-02 16:50:42 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-07-15 13:22:09 -0500 |
commit | a2fbecdbbb9d7706fd3ec25f0dead83a2d542943 (patch) | |
tree | 85993571a2adfb386b13b87d88df7dda59c8feee /scripts/lib/kdoc/kdoc_output.py | |
parent | 38fcbfbd4207ec3fe47f66c2a16df7f5a857e198 (diff) |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions