Re: [PATCH v2 3/4] dt-bindings: iio: adc: ad4080: add AD4880 support

From: Krzysztof Kozlowski

Date: Mon Feb 09 2026 - 12:14:45 EST


On 09/02/2026 17:43, Nuno Sá wrote:
> On Sun, 2026-02-08 at 10:20 +0100, Krzysztof Kozlowski wrote:
>> On 08/02/2026 10:16, Nuno Sá wrote:
>>>>>  
>>>>>    io-backends:
>>>>> -    maxItems: 1
>>>>> +    minItems: 1
>>>>> +    maxItems: 2
>>>>
>>>> Instead list the items with minItems, so the order is defined.
>>>>
>>>
>>> Also looks like we now need 'io-backend-names'.
>>
>> No. Just define the order here.
>>
>
> Things are still not really defined on the code side (I know bindings don't care about the driver
> side) but io-backend-names is a standard property and we might actually end up using it so that

And names do not change that at all. Actually they might make it worse,
because they allow drivers to fetch item by name which people think
means "order is flexible".

> we know how to map the backend to a given channel. Unless what you're saying is that in here, -names
> doesn't really makes sense given that we just want n io-backends for n adc channels and having 
> -names as "adc1", "adc2", "adcn" is arguably useless.

Names like adcX indeed would not make much sense.

Best regards,
Krzysztof