From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Tilki, Ibrahim" <Ibrahim.Tilki@analog.com>,
Rob Herring <robh@kernel.org>
Cc: "jdelvare@suse.com" <jdelvare@suse.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"linux@roeck-us.net" <linux@roeck-us.net>,
"linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v8 3/4] dt-bindings: hwmon: Add bindings for max31760
Date: Sat, 10 Sep 2022 10:10:53 +0200 [thread overview]
Message-ID: <bd23014f-eb9b-31a5-f777-c1b15f65fd89@linaro.org> (raw)
In-Reply-To: <DM8PR03MB624727E043782EC34DBBE6B196439@DM8PR03MB6247.namprd03.prod.outlook.com>
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
next prev parent reply other threads:[~2022-09-10 8:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-09 13:37 [PATCH v8 0/4] hwmon: Add max31760 fan speed controller Ibrahim Tilki
2022-09-09 13:37 ` [PATCH v8 1/4] drivers: hwmon: Add max31760 fan speed controller driver Ibrahim Tilki
2022-09-09 17:43 ` Guenter Roeck
2022-09-09 13:37 ` [PATCH v8 2/4] docs: hwmon: add max31760 documentation Ibrahim Tilki
2022-09-09 13:37 ` [PATCH v8 3/4] dt-bindings: hwmon: Add bindings for max31760 Ibrahim Tilki
2022-09-09 14:49 ` Krzysztof Kozlowski
2022-09-09 14:52 ` Guenter Roeck
2022-09-09 14:56 ` Krzysztof Kozlowski
2022-09-09 15:04 ` Guenter Roeck
2022-09-09 16:42 ` Krzysztof Kozlowski
2022-09-09 16:26 ` Rob Herring
2022-09-09 16:47 ` Rob Herring
2022-09-09 16:59 ` Krzysztof Kozlowski
2022-09-09 17:48 ` Tilki, Ibrahim
2022-09-10 8:10 ` Krzysztof Kozlowski [this message]
2022-09-09 13:37 ` [PATCH v8 4/4] MAINTAINERS: Add maintainer for hwmon/max31760 Ibrahim Tilki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd23014f-eb9b-31a5-f777-c1b15f65fd89@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=Ibrahim.Tilki@analog.com \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).