Skip to content

Commit 354831f

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: cirrus,lochnagar: 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. Drop also redundant assigned-clocks properties, because core dtschema allows them if clocks are provided. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240818173014.122073-2-krzysztof.kozlowski@linaro.org Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent d6871d2 commit 354831f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ properties:
6767
minItems: 1
6868
maxItems: 19
6969

70-
clocks: true
71-
assigned-clocks: true
72-
assigned-clock-parents: true
70+
clocks:
71+
minItems: 1
72+
maxItems: 19
7373

7474
additionalProperties: false
7575

0 commit comments

Comments
 (0)