[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240221140405.28532-2-root@hu-msarkar-hyd.qualcomm.com>
Date: Wed, 21 Feb 2024 19:34:02 +0530
From: root <root@...msarkar-hyd.qualcomm.com>
To: andersson@...nel.org, krzysztof.kozlowski+dt@...aro.org,
jingoohan1@...il.com, gustavo.pimentel@...opsys.com,
konrad.dybcio@...aro.org, manivannan.sadhasivam@...aro.org,
conor+dt@...nel.org, quic_nitegupt@...cinc.com
Cc: quic_shazhuss@...cinc.com, quic_ramkri@...cinc.com,
quic_nayiluri@...cinc.com, quic_krichai@...cinc.com,
quic_vbadigan@...cinc.com, Mrinmay Sarkar <quic_msarkar@...cinc.com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Rob Herring <robh@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
linux-arm-msm@...r.kernel.org, linux-pci@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v1 1/3] dt-bindings: PCI: qcom: Add global irq support for SA8775p
From: Mrinmay Sarkar <quic_msarkar@...cinc.com>
Add global interrupt support in dt-bindings for SA8775p RC platform.
Signed-off-by: Mrinmay Sarkar <quic_msarkar@...cinc.com>
---
.../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
Powered by blists - more mailing lists