From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "Vaittinen, Matti" <Matti.Vaittinen@fi.rohmeurope.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Marek Vasut <marek.vasut+renesas@gmail.com>,
Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Rob Herring <robh@kernel.org>
Subject: Re: [PATCH v2] dt-bindings: mfd: bd9571mwv: Convert to json-schema
Date: Thu, 16 Sep 2021 08:35:20 +0200 [thread overview]
Message-ID: <CAMuHMdVSeysg9ojCcst3AS5d_eZE+Ge34THK_=ouZ7gJGxELqQ@mail.gmail.com> (raw)
In-Reply-To: <dbc3f4bf-78cd-fb97-2502-ab87f9881179@fi.rohmeurope.com>
Hi Matti,
On Thu, Sep 16, 2021 at 8:31 AM Vaittinen, Matti
<Matti.Vaittinen@fi.rohmeurope.com> wrote:
> On 9/15/21 15:14, Geert Uytterhoeven wrote:
> > Convert the ROHM BD9571MWV/BD9574MWF Power Management Integrated Circuit
> > (PMIC) Device Tree binding documentation to json-schema.
> >
> > Make the "regulators" subnode optional, as not all users describe the
> > regulators.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > Reviewed-by: Rob Herring <robh@kernel.org>
> > ---
> > I have listed Marek as the maintainer, as he wrote the original
> > bindings. Marek: Please scream if this is inappropriate ;-)
> >
> > v2:
> > - Add Reviewed-by.
> > ---
> > .../devicetree/bindings/mfd/bd9571mwv.txt | 69 ----------
> > .../bindings/mfd/rohm,bd9571mwv.yaml | 127 ++++++++++++++++++
> > 2 files changed, 127 insertions(+), 69 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/mfd/bd9571mwv.txt
> > create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd9571mwv.yaml
> > + regulators {
> > + dvfs: dvfs {
> > + regulator-name = "dvfs";
> > + regulator-min-microvolt = <750000>;
> > + regulator-max-microvolt = <1030000>;
> > + regulator-boot-on;
> > + regulator-always-on;
> Out of the curiosity (and in order to learn) - what is the exact idea of
> the 'regulator-boot-on' and when it should be used? I _think_ the
> 'regulator-boot-on' is in many cases used to make the regulator
> framework to enable the regulator at start-up. What I _think_ the
> 'regulator-boot-on' is intended for is to advertise the regulator
> boot-up state for regulators which do not provide a way to get the
> state. I am unsure if there is any property which is intended to be used
> for enabling the regulator at start-up. DISCLAIMER: Source of these
> thoughts is unknown. I may be wrong here. If someone knows this for sure
> I'd be grateful for any education :) If I am not mistaken the dvfs
> regulator does provide a way of reading the enable state after boot.
>
> Finally, I have seen this quite many times before but I am unsure I
> understand it - why setting both the 'regulator-boot-on' and
> 'regulator-always-on'? Wouldn't the 'regulator-always-on' suffice?
> > + };
> > + };
> > + };
> > + };
> >
>
> Anyways - as I mentioned, I am not 100% sure of pretty much anything :)
> Hence my questions are just questions - and the binding looks good to me.
I have to defer to the regulator experts to answer those questions...
> FWIW:
> acked-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
s/a/A/
Thank you!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2021-09-16 6:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 12:14 [PATCH v2] dt-bindings: mfd: bd9571mwv: Convert to json-schema Geert Uytterhoeven
2021-09-16 6:31 ` Vaittinen, Matti
2021-09-16 6:35 ` Geert Uytterhoeven [this message]
2021-09-16 11:20 ` Mark Brown
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='CAMuHMdVSeysg9ojCcst3AS5d_eZE+Ge34THK_=ouZ7gJGxELqQ@mail.gmail.com' \
--to=geert@linux-m68k.org \
--cc=Matti.Vaittinen@fi.rohmeurope.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=marek.vasut+renesas@gmail.com \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).