[PATCH V2 4/7] dt-bindings: PCI: host-generic-pci: Add power-domains related binding

Mayank Rana quic_mrana at quicinc.com
Mon Jul 15 11:13:32 PDT 2024


Add "power-domains" usage (optional) related binding to power up ECAM
compliant PCIe root complex.

Signed-off-by: Mayank Rana <quic_mrana at quicinc.com>
---
 Documentation/devicetree/bindings/pci/host-generic-pci.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
index 3484e0b..9c714fa 100644
--- a/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
+++ b/Documentation/devicetree/bindings/pci/host-generic-pci.yaml
@@ -110,6 +110,12 @@ properties:
   iommu-map-mask: true
   msi-parent: true
 
+  power-domains:
+    maxItems: 1
+    description:
+      A phandle to the node that controls power or/and system resource or interface to firmware
+      to enable ECAM compliant PCIe root complex.
+
 required:
   - compatible
   - reg
@@ -172,6 +178,7 @@ examples:
 
             // PCI_DEVICE(3)  INT#(1)
             interrupt-map-mask = <0xf800 0x0 0x0  0x7>;
+            power-domains = <&scmi5_pd 0>;
         };
     };
 ...
-- 
2.7.4




More information about the linux-arm-kernel mailing list