[PATCH 1/5] dt-bindings: clock: baikal,bt1-ccu-div: add top-level constraints
Conor Dooley
conor at kernel.org
Mon Aug 19 10:10:48 PDT 2024
On Sun, Aug 18, 2024 at 07:30:10PM +0200, Krzysztof Kozlowski wrote:
> 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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
I really wish you'd sent cover letters so I don't "have" to send 5
different acks where one would do.
Acked-by: Conor Dooley <conor.dooley at microchip.com>
> ---
> .../devicetree/bindings/clock/baikal,bt1-ccu-div.yaml | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> index bd4cefbb1244..30252c95700c 100644
> --- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> +++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-div.yaml
> @@ -134,9 +134,13 @@ properties:
> "#reset-cells":
> const: 1
>
> - clocks: true
> + clocks:
> + minItems: 3
> + maxItems: 4
>
> - clock-names: true
> + clock-names:
> + minItems: 3
> + maxItems: 4
>
> additionalProperties: false
>
> --
> 2.43.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20240819/291d056d/attachment-0001.sig>
More information about the Linux-rockchip
mailing list