Skip to content

Commit c62a0b8

Browse files
krzkkwilczynski
authored andcommitted
dt-bindings: PCI: renesas,pci-rcar-gen2: Add top-level constraints
Properties with variable number of items per each device are expected to have widest constraints in top-level "properties:" block and further customized (narrowed) in "if:then:". Add missing top-level constraints for clocks and clock-names. Link: https://lore.kernel.org/linux-pci/20240818172843.121787-2-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
1 parent ac44be2 commit c62a0b8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ properties:
4242
interrupts:
4343
maxItems: 1
4444

45-
clocks: true
45+
clocks:
46+
minItems: 1
47+
maxItems: 3
4648

47-
clock-names: true
49+
clock-names:
50+
minItems: 1
51+
maxItems: 3
4852

4953
resets:
5054
maxItems: 1

0 commit comments

Comments
 (0)