From: Jonathan Cameron <jic23@kernel.org>
To: Herve Codina <herve.codina@bootlin.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v3 1/3] dt-bindings: iio: potentiometer: Add the Renesas X9250 potentiometers
Date: Mon, 1 May 2023 16:39:20 +0100 [thread overview]
Message-ID: <20230501163920.65cc9454@jic23-huawei> (raw)
In-Reply-To: <20230424090318.4750a5e7@bootlin.com>
On Mon, 24 Apr 2023 09:03:18 +0200
Herve Codina <herve.codina@bootlin.com> wrote:
> Hi Jonathan, Krzysztof,
>
> On Sat, 22 Apr 2023 17:18:07 +0100
> Jonathan Cameron <jic23@kernel.org> wrote:
>
> > On Fri, 21 Apr 2023 10:52:43 +0200
> > Herve Codina <herve.codina@bootlin.com> wrote:
> >
> > > The Renesas X9250 is a quad digitally controlled potentiometers.
> > >
> > > Signed-off-by: Herve Codina <herve.codina@bootlin.com>
> >
> > Hi Herve,
> >
> > Historically we've been a bit lax in IIO bindings in always making
> > sure the per supplies are included. As a result we frequently get
> > them added later and it just makes things messier than they should
> > be.
> >
> > So please add vcc-supply from the start. V+ and V- are a little trickier.
> > I was expecting datasheet to say they should be symmetric about 0 but it
> > doesn't. So they could be two independent supplies.
> >
> > Also make it required as my current understanding is that we should
> > do that for supplies that are definitely present even if we could
> > rely on the fallback to regulator stubs if they aren't supplied.
> > So add the 3 supplies to required as well.
>
> Yes, I will add the following supplies in the next iteration:
> - 'vcc-supply' for VCC
> - 'avp-supply' for the analog V+
> - 'avn-supply' for the analog V-
>
> and add them in the required list of properties.
>
> Are the names correct for these power supplies (avp and avn) ?
I think so. I'm not totally sure on how DT maintainers think we should deal
with a two voltage level reference though. Perhaps add some description to
make it very clear what is going on and we'll see what review comments we get!
Jonathan
next prev parent reply other threads:[~2023-05-01 15:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-21 8:52 [PATCH v3 0/3] Add the Renesas X9250 potentiometers IIO support Herve Codina
2023-04-21 8:52 ` [PATCH v3 1/3] dt-bindings: iio: potentiometer: Add the Renesas X9250 potentiometers Herve Codina
2023-04-21 17:25 ` Krzysztof Kozlowski
2023-04-22 16:18 ` Jonathan Cameron
2023-04-24 7:03 ` Herve Codina
2023-05-01 15:39 ` Jonathan Cameron [this message]
2023-04-21 8:52 ` [PATCH v3 2/3] iio: potentiometer: Add support for " Herve Codina
2023-04-22 16:34 ` Jonathan Cameron
2023-04-24 7:30 ` Herve Codina
2023-04-21 8:52 ` [PATCH v3 3/3] MAINTAINERS: add the Renesas X9250 driver entry Herve Codina
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=20230501163920.65cc9454@jic23-huawei \
--to=jic23@kernel.org \
--cc=christophe.leroy@csgroup.eu \
--cc=devicetree@vger.kernel.org \
--cc=herve.codina@bootlin.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
/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).