Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240417200431.3173953-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

-22
-22
Documentation/devicetree/bindings/pci/qcom,pcie-sm8350.yaml
··· 71 71 items: 72 72 - const: pci 73 73 74 - oneOf: 75 - - properties: 76 - interrupts: 77 - maxItems: 1 78 - interrupt-names: 79 - items: 80 - - const: msi 81 - 82 - - properties: 83 - interrupts: 84 - minItems: 8 85 - interrupt-names: 86 - items: 87 - - const: msi0 88 - - const: msi1 89 - - const: msi2 90 - - const: msi3 91 - - const: msi4 92 - - const: msi5 93 - - const: msi6 94 - - const: msi7 95 - 96 74 allOf: 97 75 - $ref: qcom,pcie-common.yaml# 98 76