Re: [PATCH v5 24/33] dt-bindings: crypto: convert rockchip-crypto to YAML

Krzysztof Kozlowski
2022-04-19T11:55:30Z

On 19/04/2022 13:09, LABBE Corentin wrote:
>> This is not needed and dt_bindings_check should complain.
>>
>>> + items:
>>> + const: aclk
>>> + const: hclk
>>> + const: sclk
>>> + const: apb_pclk
>>> +
>>> + resets:
>>> + maxItems: 1
>>> +
>>> + reset-names:
>>> + maxItems: 1
>>
>> The same.
>>
>
> I forgot to test the intermediate patch...
> Before I send a new version, does the final document is okay ?

Looks ok, if it works. :) I don't remember if dtschema likes the cases:
clock-names:
minItems:3
maxItems:4
if:
...
clock-names:
items:
- ...
...
maxItems:3

This should work correctly, but dtschema has checks for unneeded
min/maxItems so be sure they are not complaining.

Best regards,
Krzysztof