[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f1269f60-4347-455a-819e-6b35177cca3c@kernel.org>
Date: Tue, 19 Aug 2025 16:28:54 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Remi Buisson <Remi.Buisson@....com>, Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH v2 1/8] dt-bindings: iio: imu: Add inv_icm45600
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
Powered by blists - more mailing lists