Re: [PATCH v5 1/2] dt-bindings: it6505: add properties to restrict output bandwidth

From: Krzysztof Kozlowski
Date: Thu Oct 27 2022 - 21:52:49 EST


On 26/10/2022 00:03, Pin-yen Lin wrote:
>>> + - minItems: 4
>>> + maxItems: 4
>>> + uniqueItems: true
>>> + items:
>>> + enum:
>>> + - 0
>>> + - 1
>>> + - 2
>>> + - 3
>>> + description: For four lanes operation.
>>
>> I would do just:
>>
>> data-lanes:
>> minItems: 1
>> items:
>> - enum: [ 0, 1 ]
>> - const: 1
>> - const: 2
>> - const: 3
>
> I believe we also want a `uniqueItems: true` to prevent duplicate
> items like `<1 1>`.

... and are <1 1> passing with Rob's proposal?

Best regards,
Krzysztof