Commit 28081ebd authored by Rob Herring (Arm)'s avatar Rob Herring (Arm)
Browse files

dt-bindings: PCI: qcom,pcie-sm8350: Drop redundant 'oneOf' sub-schema



The first entry in the 'oneOf' schema doesn't work because the top
level schema requires exactly 8 interrupt entries. The 2nd entry is just
redundant with the top level. Since 1 entry appears to have been a
mistake, let's just drop the entire 'oneOf' rather than reworking the
top-level to allow 1 entry.

Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240417200431.3173953-1-robh@kernel.org


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent cf7385cb
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -71,28 +71,6 @@ properties:
    items:
      - const: pci

oneOf:
  - properties:
      interrupts:
        maxItems: 1
      interrupt-names:
        items:
          - const: msi

  - properties:
      interrupts:
        minItems: 8
      interrupt-names:
        items:
          - const: msi0
          - const: msi1
          - const: msi2
          - const: msi3
          - const: msi4
          - const: msi5
          - const: msi6
          - const: msi7

allOf:
  - $ref: qcom,pcie-common.yaml#