aboutsummaryrefslogtreecommitdiffstats
diff options
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-05-01 19:34:13 +0200
committerRob Herring (Arm) <robh@kernel.org>2025-05-14 17:15:21 -0500
commitd8a9ea5d3bebd7b1641869e7cab3db615d4cc4e7 (patch)
tree809f0195ed32090455aacf38f2f22360135c7741
parent31b6c343639e118cb8cd600736c55b88713e8ff6 (diff)
downloadlinux-for-next.tar.gz
media: dt-bindings: renesas,vsp1: add top-level constraintsfor-nextdt/next
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. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250501173411.134130-4-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/media/renesas,vsp1.yaml24
1 files changed, 13 insertions, 11 deletions
diff --git a/Documentation/devicetree/bindings/media/renesas,vsp1.yaml b/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
index 1a03e67462a4fe..dc4b8f00aa7d1d 100644
--- a/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,vsp1.yaml
@@ -33,8 +33,18 @@ properties:
interrupts:
maxItems: 1
- clocks: true
- clock-names: true
+ clocks:
+ minItems: 1
+ items:
+ - description: Main clock
+ - description: Register access clock
+ - description: Video clock
+
+ clock-names:
+ items:
+ - const: aclk
+ - const: pclk
+ - const: vclk
power-domains:
maxItems: 1
@@ -78,15 +88,7 @@ allOf:
then:
properties:
clocks:
- items:
- - description: Main clock
- - description: Register access clock
- - description: Video clock
- clock-names:
- items:
- - const: aclk
- - const: pclk
- - const: vclk
+ minItems: 3
required:
- clock-names
else: