From: Krzysztof Kozlowski <krzk@kernel.org>
To: Johan Adolfsson <Johan.Adolfsson@axis.com>,
Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Davis <afd@ti.com>,
Jacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: "linux-leds@vger.kernel.org" <linux-leds@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Kernel <Kernel@axis.com>
Subject: Re: [PATCH RFC v4 2/2] dt-bindings: leds: lp50xx: Document child reg, fix example
Date: Tue, 27 May 2025 07:48:26 +0200 [thread overview]
Message-ID: <876916ad-1042-4750-a010-4a46c2e5942d@kernel.org> (raw)
In-Reply-To: <AS8PR02MB92881DA3213861C52AB0EC729B65A@AS8PR02MB9288.eurprd02.prod.outlook.com>
On 26/05/2025 18:42, Johan Adolfsson wrote:
>>> diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>>> index 402c25424525..a7b2d87cc39d 100644
>>> --- a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>>> +++ b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>>> @@ -81,7 +81,12 @@ patternProperties:
>>>
>>> properties:
>>> reg:
>>> - maxItems: 1
>>> + minimum: 0
>>> + maximum: 2
>> "not compatible with minimum
>> and maximum."
>>
>> No, it is compatible. Just do:
>>
>> items:
> > - minimum: 0
> > maximum: 2
>
> I have tried every variant of that I can think of and can't make it pass the check:
> DT_SCHEMA_FILES="Documentation/devicetree/bindings/leds/leds-lp50xx.yaml" make dt_binding_check
>
> Exactly how should it look like?
I pasted the exact syntax.
Best regards,
Krzysztof
prev parent reply other threads:[~2025-05-27 5:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 14:53 [PATCH RFC v4 0/2] leds-lp50xx: Support reg to set multi_index Johan Adolfsson
2025-05-26 14:54 ` [PATCH RFC v4 1/2] leds: leds-lp50xx: Handle reg to get correct multi_index Johan Adolfsson
2025-05-26 21:54 ` Jacek Anaszewski
2025-06-12 10:53 ` Lee Jones
2025-06-14 13:38 ` Jacek Anaszewski
2025-06-19 10:02 ` Lee Jones
2025-05-26 14:54 ` [PATCH RFC v4 2/2] dt-bindings: leds: lp50xx: Document child reg, fix example Johan Adolfsson
2025-05-26 15:34 ` Krzysztof Kozlowski
2025-05-26 16:42 ` Johan Adolfsson
2025-05-27 5:48 ` Krzysztof Kozlowski [this message]
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=876916ad-1042-4750-a010-4a46c2e5942d@kernel.org \
--to=krzk@kernel.org \
--cc=Johan.Adolfsson@axis.com \
--cc=Kernel@axis.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jacek.anaszewski@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@kernel.org \
--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
all inboxes | Powered by JetHome®