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

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>

authored by

Krzysztof Kozlowski and committed by
Stephen Boyd
354831f3 d6871d25

+3 -3
+3 -3
Documentation/devicetree/bindings/clock/cirrus,lochnagar.yaml
··· 67 67 minItems: 1 68 68 maxItems: 19 69 69 70 - clocks: true 71 - assigned-clocks: true 72 - assigned-clock-parents: true 70 + clocks: 71 + minItems: 1 72 + maxItems: 19 73 73 74 74 additionalProperties: false 75 75