From: Jonathan Cameron <jic23@kernel.org>
To: Julien Stephan <jstephan@baylibre.com>
Cc: "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 v3 0/5] iio: adc: ad7380: fix several supplies issues
Date: Tue, 22 Oct 2024 21:02:39 +0100 [thread overview]
Message-ID: <20241022210239.6a61b32f@jic23-huawei> (raw)
In-Reply-To: <20241022-ad7380-fix-supplies-v3-0-f0cefe1b7fa6@baylibre.com>
On Tue, 22 Oct 2024 15:22:35 +0200
Julien Stephan <jstephan@baylibre.com> wrote:
> Hello,
>
> This series tries to fix several issues found on the ad7380 driver about
> supplies:
>
> - vcc and vlogic are required, but are not retrieved and enabled in the
> probe function
> - ad7380-4 is the only device from the family that does not have internal
> reference and uses REFIN instead of REFIO for external reference.
>
> driver, bindings, and doc are fixed accordingly
I considered a few responses to this series.
1) Asking you to pull the fixes to the front even though it would be painful.
2) Asking if the missing supplies patch should really be tagged as a fix.
In the end I opted for the variant that may just confuse the stable folk
the most and just took it as is + added stable to the 3 fixes. Hopefully
it will be obvious they should just pick up all 5 (or maybe not the docs).
You are correct that the refactors make it easier to review the fixes
and this is a fairly new driver so I'm not that worried by pushing back the fix
as it's only to 6.11.
Applied to the fixes-togreg branch of iio.git.
Note the side effect of this is timing is tight for having this available
in the char-misc-next branch, so it may push back additional device
support until next cycle.
Thanks,
Jonathan
>
> Signed-off-by: Julien Stephan <jstephan@baylibre.com>
> ---
> Changes in v3:
> - Use fsleep instead of msleep
> - Add all trailers from review
> - Link to v2: https://lore.kernel.org/r/20241021-ad7380-fix-supplies-v2-0-2ca551b3352a@baylibre.com
>
> Changes in v2:
> - Fix kernel test robot warning about variable uninitialized when used [1]
> - drop commit removing supply description in bindings
> - after discussion on [2] we decided to add refin supply here, as it
> will be needed in the futur
>
> - Link to v1: https://lore.kernel.org/r/20241007-ad7380-fix-supplies-v1-0-badcf813c9b9@baylibre.com
>
> [1] https://lore.kernel.org/oe-kbuild-all/202410081608.ZxEPPZ0u-lkp@intel.com/
> [2] https://lore.kernel.org/all/20241015-ad7380-add-adaq4380-4-support-v1-0-d2e1a95fb248@baylibre.com/:warning
>
> ---
> Julien Stephan (5):
> dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply
> iio: adc: ad7380: use devm_regulator_get_enable_read_voltage()
> iio: adc: ad7380: add missing supplies
> iio: adc: ad7380: fix supplies for ad7380-4
> docs: iio: ad7380: fix supply for ad7380-4
>
> .../devicetree/bindings/iio/adc/adi,ad7380.yaml | 21 ++++
> Documentation/iio/ad7380.rst | 13 +-
> drivers/iio/adc/ad7380.c | 136 ++++++++++++---------
> 3 files changed, 110 insertions(+), 60 deletions(-)
> ---
> base-commit: 1a8b58362f6a6fef975032f7fceb7c4b80d20d60
> change-id: 20241004-ad7380-fix-supplies-3677365cf8aa
>
> Best regards,
next prev parent reply other threads:[~2024-10-22 20:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 13:22 [PATCH v3 0/5] iio: adc: ad7380: fix several supplies issues Julien Stephan
2024-10-22 13:22 ` [PATCH v3 1/5] dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply Julien Stephan
2024-10-22 13:22 ` [PATCH v3 2/5] iio: adc: ad7380: use devm_regulator_get_enable_read_voltage() Julien Stephan
2024-10-22 13:22 ` [PATCH v3 3/5] iio: adc: ad7380: add missing supplies Julien Stephan
2024-10-22 13:22 ` [PATCH v3 4/5] iio: adc: ad7380: fix supplies for ad7380-4 Julien Stephan
2024-10-22 13:22 ` [PATCH v3 5/5] docs: iio: ad7380: fix supply " Julien Stephan
2024-10-22 20:02 ` Jonathan Cameron [this message]
2024-10-23 7:31 ` [PATCH v3 0/5] iio: adc: ad7380: fix several supplies issues 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=20241022210239.6a61b32f@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=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