dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 11 Apr 2023 12:14:42 +0000 (17:44 +0530)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Wed, 12 Apr 2023 13:22:32 +0000 (15:22 +0200)
The Qcom PCIe controller is capable of using either internal MSI controller
or the external GIC-ITS for signaling MSIs sent by endpoint devices.
Currently, the binding only documents the internal MSI implementation.

Let's document the GIC-ITS imeplementation by making use of msi-map and
msi-map-mask properties. Only one of the implementation should be used
at a time and the drivers can choose the preferred one.

Link: https://lore.kernel.org/r/20230411121442.22227-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/qcom,pcie.yaml

index 1548a711473240d8b0655948c85bd8b2855c9c2a..81971be4e55446119b400aa3a42a7700b979f0a5 100644 (file)
@@ -125,14 +125,20 @@ required:
   - compatible
   - reg
   - reg-names
-  - interrupts
-  - interrupt-names
-  - "#interrupt-cells"
   - interrupt-map-mask
   - interrupt-map
   - clocks
   - clock-names
 
+anyOf:
+  - required:
+      - interrupts
+      - interrupt-names
+      - "#interrupt-cells"
+  - required:
+      - msi-map
+      - msi-map-mask
+
 allOf:
   - $ref: /schemas/pci/pci-bus.yaml#
   - if: