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

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>

authored by

Krzysztof Kozlowski and committed by
Krzysztof Wilczyński
c62a0b8f ac44be21

+6 -2
+6 -2
Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
··· 42 42 interrupts: 43 43 maxItems: 1 44 44 45 - clocks: true 45 + clocks: 46 + minItems: 1 47 + maxItems: 3 46 48 47 - clock-names: true 49 + clock-names: 50 + minItems: 1 51 + maxItems: 3 48 52 49 53 resets: 50 54 maxItems: 1