From: Jonathan Cameron <jic23@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Julien Stephan" <jstephan@baylibre.com>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Conor Dooley" <conor.dooley@microchip.com>,
"Jonathan Cameron" <Jonathan.Cameron@huawei.com>,
linux-doc@vger.kernel.org
Subject: Re: [PATCH 2/6] dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply
Date: Thu, 10 Oct 2024 19:22:18 +0100 [thread overview]
Message-ID: <20241010192218.12808268@jic23-huawei> (raw)
In-Reply-To: <v7in5n6ktmu5kfzlndn4eujmk5n66fmft4lvwuvucqbcv5r5hb@etdqvn6ev6nl>
On Tue, 8 Oct 2024 09:52:50 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:
> On Mon, Oct 07, 2024 at 05:45:45PM +0200, Julien Stephan wrote:
> > ad7380-4 is the only device from ad738x family that doesn't have an
> > internal reference. Moreover its external reference is called REFIN in
> > the datasheet while all other use REFIO as an optional external
> > reference. If refio-supply is omitted the internal reference is
> > used.
> >
> > Fix the binding by adding refin-supply and makes it required for
> > ad7380-4 only.
>
> Maybe let's just use refio as refin? Reference-IO fits here well.
> Otherwise you have two supplies for the same.
Whilst it is ugly, the effort this series is going to in order
to paper over a naming mismatch makes me agree with Krzysztof.
I think adding a comment to the dt-binding would be sensible
though as people might fall into this hole.
Other than the missing ret =, rest of series looks fine to me
Jonathan
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2024-10-10 18:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 15:45 [PATCH 0/6] iio: adc: ad7380: fix several supplies issues Julien Stephan
2024-10-07 15:45 ` [PATCH 1/6] dt-bindings: iio: adc: ad7380: remove voltage reference for supplies Julien Stephan
2024-10-08 7:51 ` Krzysztof Kozlowski
2024-10-07 15:45 ` [PATCH 2/6] dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply Julien Stephan
2024-10-08 7:52 ` Krzysztof Kozlowski
2024-10-10 18:22 ` Jonathan Cameron [this message]
2024-10-14 9:00 ` Julien Stephan
2024-10-14 18:37 ` Jonathan Cameron
2024-10-15 9:10 ` Julien Stephan
2024-10-18 18:09 ` Jonathan Cameron
2024-10-07 15:45 ` [PATCH 3/6] iio: adc: ad7380: use devm_regulator_get_enable_read_voltage() Julien Stephan
2024-10-07 15:45 ` [PATCH 4/6] iio: adc: ad7380: add missing supplies Julien Stephan
2024-10-08 8:31 ` kernel test robot
2024-10-07 15:45 ` [PATCH 5/6] iio: adc: ad7380: fix supplies for ad7380-4 Julien Stephan
2024-10-07 15:45 ` [PATCH 6/6] docs: iio: ad7380: fix supply " Julien Stephan
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=20241010192218.12808268@jic23-huawei \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=Michael.Hennerich@analog.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jstephan@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--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