Skip to content

Commit 28081eb

Browse files
committed
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>
1 parent cf7385c commit 28081eb

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Documentation/devicetree/bindings/pci/qcom,pcie-sm8350.yaml

-22
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,6 @@ properties:
7171
items:
7272
- const: pci
7373

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-
9674
allOf:
9775
- $ref: qcom,pcie-common.yaml#
9876

0 commit comments

Comments
 (0)