Re: [PATCH v2 1/8] dt-bindings: iio: imu: Add inv_icm45600

From: Krzysztof Kozlowski
Date: Tue Aug 19 2025 - 10:33:25 EST


On 19/08/2025 12:18, Remi Buisson wrote:
>>> + interrupt-names:
>>> + minItems: 1
>>> + maxItems: 2
>>> + items:
>>> + enum:
>>> + - INT1
>>> + - INT2
>>
> Hello Krzysztof,
> Could you please help me understand the proposed simplification?
>> This can be simpler
>>
>> minItems: 1
>> items:
>> - enum: [ int1, int2 ]
> This should be the one-lined "original" list.
>> - const: int 2
> I don't understand what this "int 2" does.

space was a typo, obviously

> Why do we need a const here ?

Because you cannot have here int1. Order of items is fixed.



Best regards,
Krzysztof