]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: PCI: qcom: Move PHY & reset GPIO to Root Port node
authorKrishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Wed, 2 Jul 2025 11:20:41 +0000 (16:50 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Jul 2025 18:22:04 +0000 (13:22 -0500)
commit38fcbfbd4207ec3fe47f66c2a16df7f5a857e198
tree1c86fc009632e437f1127ae9f1ad13fe4b162073
parent7d944c0f146986a532087e15abb66a27c7890ca1
dt-bindings: PCI: qcom: Move PHY & reset GPIO to Root Port node

Move the phys, phy-names, reset-gpios properties to the PCIe Root Port node
from Host Bridge node, as agreed upon here [1].

Update the qcom,pcie-common.yaml to include the 'phys' property in the Root
Port node. 'phy-names' property is not needed in Root Port since each Root
Port supports only one PHY. Also, there is already 'reset-gpios' property
defined for PERST# in pci-bus-common.yaml, so use that property instead of
'perst-gpios'.

For backward compatibility, do not remove any existing properties in the
bridge node, but mark them as 'deprecated' instead.

[1] https://lore.kernel.org/linux-pci/20241211192014.GA3302752@bhelgaas/

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
[mani: commit message rewording]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250702-perst-v5-1-920b3d1f6ee1@qti.qualcomm.com
Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml