[Freedreno] [PATCH v7 05/12] dt-bindings: display/msm: move common MDSS properties to mdss-common.yaml
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Sep 22 12:28:16 UTC 2022
On 22/09/2022 13:46, Dmitry Baryshkov wrote:
>>> - ranges: true
>>> + maxItems: 2
>>>
>>> interconnects:
>>> - items:
>>> - - description: Interconnect path from mdp0 port to the data bus
>>> - - description: Interconnect path from mdp1 port to the data bus
>>> + maxItems: 2
>>
>> I think this is not equivalent now, because you have in total minItems:1
>> and maxItems:2, while in past minItems was 2.
>
> This means that I should have minItems:2, maxItems:2, which, if I got it
> right, is frowned upon. Let me doublecheck though if it works as expected.
It is frowned upon only if it is alone, because for missing minItems,
maxItems implies minItems. Here you have minItems in other schema, so
there is no such case
Best regards,
Krzysztof
More information about the Freedreno
mailing list