dt-bindings: PCI: qcom: Do not require 'msi-map-mask'
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 6 Mar 2024 09:56:48 +0000 (10:56 +0100)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Fri, 8 Mar 2024 16:05:46 +0000 (17:05 +0100)
Whether the 'msi-map-mask' property is needed or not depends on how the
MSI interrupts are mapped and it should therefore not be described as
required.

Note that the current schema fails to detect omissions of the mask
property if the internal MSI controller properties are also present.

Link: https://lore.kernel.org/r/20240306095651.4551-3-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
Documentation/devicetree/bindings/pci/qcom,pcie.yaml

index 8d570669650ad11d035f6b52e82af99bc7db0584..0d1b23523f62e7050bfffddf399ce160b06ae746 100644 (file)
@@ -93,7 +93,6 @@ anyOf:
       - "#interrupt-cells"
   - required:
       - msi-map
-      - msi-map-mask
 
 allOf:
   - $ref: /schemas/pci/pci-bus.yaml#
index df3a183ca5a0c5caa3ba8f717fcd94c894f96362..cf9a6910b542f0b9529cdcedb6740a820b397f91 100644 (file)
@@ -128,7 +128,6 @@ anyOf:
       - "#interrupt-cells"
   - required:
       - msi-map
-      - msi-map-mask
 
 allOf:
   - $ref: /schemas/pci/pci-bus.yaml#