[PATCH v1 1/3] dt-bindings: PCI: qcom: Add global irq support for SA8775p

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mrinmay Sarkar <quic_msarkar@xxxxxxxxxxx>

Add global interrupt support in dt-bindings for SA8775p RC platform.

Signed-off-by: Mrinmay Sarkar <quic_msarkar@xxxxxxxxxxx>
---
 .../devicetree/bindings/pci/qcom,pcie.yaml    | 26 +++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
index a93ab3b54066..d86fb63a2d2c 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
@@ -63,7 +63,7 @@ properties:
 
   interrupt-names:
     minItems: 1
-    maxItems: 8
+    maxItems: 9
 
   iommu-map:
     minItems: 1
@@ -873,8 +873,30 @@ allOf:
         compatible:
           contains:
             enum:
-              - qcom,pcie-msm8996
               - qcom,pcie-sa8775p
+    then:
+      oneOf:
+        - properties:
+            interrupts:
+              minItems: 9
+            interrupt-names:
+              items:
+                - const: msi0
+                - const: msi1
+                - const: msi2
+                - const: msi3
+                - const: msi4
+                - const: msi5
+                - const: msi6
+                - const: msi7
+                - const: global
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,pcie-msm8996
               - qcom,pcie-sc7280
               - qcom,pcie-sc8180x
               - qcom,pcie-sdm845
-- 
2.40.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux