Re: [PATCH 2/2] dt-bindings: i2c: arb-gpio-challange: convert to DT schema

From: Krzysztof Kozlowski
Date: Sun Jul 23 2023 - 02:50:32 EST


On 22/07/2023 12:50, Peter Rosin wrote:
>> + their-claim-gpios:
>> + minItems: 1
>> + maxItems: 2
>
> I don't think there should be a max here? There is no reason for not
> supporting more than 2 other masters. True, the current Linux driver
> happens to only support 1 other master. So if there should be a max,
> I guess it should be 1? But that feels like an implementation
> detail of the driver. The Linux driver bails out with an error if
> there are more than one other master, it's the only thing it does
> with that 2nd 'their-claim-goios' ref.

I will make it some higher number.

Best regards,
Krzysztof