devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 
	<devicetree@vger.kernel.org>
Subject: Re: [PATCH] regulator: dt-bindings: maxim,max8997: convert to dtschema
Date: Thu, 31 Mar 2022 22:11:32 +0200	[thread overview]
Message-ID: <64f48c50-c57a-667f-ac6e-9469348cf558@linaro.org> (raw)
In-Reply-To: <CAMuHMdU10FL8-F1y8rrO4dUtKJ_NvenxcBD3VWB7=5rf-vf-yg@mail.gmail.com>

On 30/03/2022 12:44, Geert Uytterhoeven wrote:
> Hi Krzysztof,
> 
> On Fri, Oct 1, 2021 at 3:18 PM Krzysztof Kozlowski
> <krzysztof.kozlowski@canonical.com> wrote:
>> Convert the Maxim MAX8997 PMIC bindings to DT schema format.  Extend the
>> examples with additional one copied from kernel's exynos4210-origen.dts.
>> Also the binding descriptions are copied from old file, so license
>> entire work under GPL-2.0.
>>
>> This also adds previously undocumented 32 kHz clock output modelled as
>> regulators.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> 
> Thanks for your patch, which is now commit 1d2104f21618a4ce
> ("regulator: dt-bindings: maxim,max8997: convert to dtschema").
> 
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/regulator/maxim,max8997.yaml
> 
>> +if:
>> +  anyOf:
>> +    - required:
>> +        - max8997,pmic-buck1-uses-gpio-dvs
>> +    - required:
>> +        - max8997,pmic-buck2-uses-gpio-dvs
>> +    - required:
>> +        - max8997,pmic-buck5-uses-gpio-dvs
>> +then:
>> +  properties:
>> +    max8997,pmic-buck1-dvs-voltage:
>> +      minItems: 8
>> +      maxItems: 8
>> +    max8997,pmic-buck2-dvs-voltage:
>> +      minItems: 8
>> +      maxItems: 8
>> +    max8997,pmic-buck5-dvs-voltage:
>> +      minItems: 8
>> +      maxItems: 8
> 
> The above doesn't seem to work as expected...
> 

Thanks for pointing this out. I am pretty sure I tested it and it worked
fine (as it is not an obvious code), so I wonder what changed... maybe I
was using slightly older dt-schema?

Krzysztof

  reply	other threads:[~2022-03-31 20:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 13:02 [PATCH] regulator: dt-bindings: maxim,max8997: convert to dtschema Krzysztof Kozlowski
2021-10-04 16:20 ` Rob Herring
2021-10-07 21:37 ` Mark Brown
2022-03-30 10:44 ` Geert Uytterhoeven
2022-03-31 20:11   ` Krzysztof Kozlowski [this message]
2022-03-31 21:18     ` Krzysztof Kozlowski

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=64f48c50-c57a-667f-ac6e-9469348cf558@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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).