[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bd23014f-eb9b-31a5-f777-c1b15f65fd89@linaro.org>
Date: Sat, 10 Sep 2022 10:10:53 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: "Tilki, Ibrahim" <Ibrahim.Tilki@...log.com>,
Rob Herring <robh@...nel.org>
Cc: "jdelvare@...e.com" <jdelvare@...e.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
"linux@...ck-us.net" <linux@...ck-us.net>,
"linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH v8 3/4] dt-bindings: hwmon: Add bindings for max31760
On 09/09/2022 19:48, Tilki, Ibrahim wrote:
ded form is:
>>
>> reg:
>> items:
>> - items:
>> - minimum: 0x50
>> maximum: 0x57
>>
>
> Actually it passes the check when I remove maxItems property:
>
> reg:
> description: I2C address of slave device.
> items:
> minimum: 0x50
> maximum: 0x57
>
> I cannot find a way to specify both maxItems and min-max limits.
> Which one should I drop? Line below is from the output of dt_bindigs_check:
>
> hint: "maxItems" is not needed with an "items" list
Use Rob's first syntax:
reg:
minimum: 0x50
maximum: 0x57
(this will expect only one item)
Best regards,
Krzysztof
Powered by blists - more mailing lists