From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Janani Sunil <janani.sunil@analog.com>
Cc: "Marcelo Schmitt" <marcelo.schmitt@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Ana-Maria Cusco" <ana-maria.cusco@analog.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux@analog.com, devicetree@vger.kernel.org,
"Janani Sunil" <jananisunil.dev@gmail.com>
Subject: Re: [PATCH 00/18] iio: adc: ad4170-4: Fixes and AD4171-8/AD4190-8/AD4195-8 support
Date: Thu, 3 Dec 2026 19:18:10 +0200 [thread overview]
Message-ID: <axGkUl9D3Jnlgtwo@ashevche-desk.local> (raw)
In-Reply-To: <20261203-ad419x-release-v1-0-18578ab50524@analog.com>
On Thu, Dec 03, 2026 at 04:19:40PM +0100, Janani Sunil wrote:
> This series fixes several issues in the existing AD4170-4 driver and
> binding. The series also adds support for the eight differential input
> AD4171-8, AD4190-8 and AD4195-8.
>
> Datasheets:
> https://www.analog.com/media/en/technical-documentation/data-sheets/ad4171-8.pdf
> https://www.analog.com/media/en/technical-documentation/data-sheets/ad4190-8.pdf
> https://www.analog.com/media/en/technical-documentation/data-sheets/ad4195-8.pdf
>
> **Device Overview:**
> The AD4171-8, AD4190-8 and AD4195-8 are 24-bit, low noise, multichannel
> precision sigma-delta ADCs with an integrated PGA, sinc3/sinc5/sinc5+avg
> digital filters, internal 16MHz oscillator, on-chip temperature sensor,
> bias voltage generator, low-side power switches and four GPIOs.
>
> Compared to the 4 differential input parts, they double the analog front
> end with 16 analog inputs, AIN0 to AIN15, plus a dedicated AINCOM pin,
> configurable as 8 differential or 16 single-ended/pseudo-differential
> inputs.
>
> **Patch Summary:**
> Patches 1-15 are fixes and are placed first so they can be applied
> independently of the new device support:
> 1. Restrict DAC, crystal, extra excitation current and GPIO AC
> excitation properties to AD4170-4 in the binding.
> 2. Restrict single-channel, common-mode-channel and excitation pin
> inputs to valid codes in the binding.
> 3. Allow running from the internal oscillator only in the binding.
> 4. Fix the voltage bias description in the binding.
> 5. Fix out-of-bounds accesses to pins_fn[].
> 6. Fix voltage bias programming.
> 7. Fix an overflow in the sample rate fractional part.
> 8. Fix the output data rate on AD4190-4 and AD4195-4 (CLOCKDIV).
> 9. Fix filter_fs adjustment on filter type change.
> 10. Fix a lock order inversion between st->lock and IIO direct mode.
> 11. Fix the sinc5 FILTER_FS range on AD4190-4 and AD4195-4.
> 12. Do not drive XTAL2 (CLK on AD419x) when using the internal clock.
> 13. Restrict current sources and GPIO AC excitation to the parts that
> have them.
> 14. Require equal chopped excitation currents.
> 15. Fix the channel count with 15 external channels.
>
> Patches 16-18 add the new devices:
> 16. Replace ad4170_iout_pin_tbl with range checks (no functional change).
> 17. Add the AD4171-8, AD4190-8 and AD4195-8 binding.
> 18. Add driver support for AD4171-8, AD4190-8 and AD4195-8.
>
> **Testing:**
> The driver was hardware tested on a Raspberry Pi 4 using the
> EVAL-AD4171-8ARDZ evaluation board, on a v6.12.y kernel with the AD4170-4
> driver and this series backported.
In this series and in the future try to preserve reversed xmas tree order.
Several patches in several places break that.
--
With Best Regards,
Andy Shevchenko
prev parent reply other threads:[~2026-12-03 17:18 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 15:19 [PATCH 00/18] iio: adc: ad4170-4: Fixes and AD4171-8/AD4190-8/AD4195-8 support Janani Sunil
2026-12-03 15:19 ` [PATCH 01/18] dt-bindings: iio: adc: ad4170-4: Restrict AD4170-4 only properties Janani Sunil
2026-12-04 17:46 ` Conor Dooley
2026-12-03 15:19 ` [PATCH 02/18] dt-bindings: iio: adc: ad4170-4: Restrict channel inputs to valid codes Janani Sunil
2026-12-04 17:44 ` Conor Dooley
2026-12-03 15:19 ` [PATCH 03/18] dt-bindings: iio: adc: ad4170-4: Allow running from the internal oscillator only Janani Sunil
2026-12-04 17:42 ` Conor Dooley
2026-12-03 15:19 ` [PATCH 04/18] dt-bindings: iio: adc: ad4170-4: Fix the voltage bias description Janani Sunil
2026-12-04 17:42 ` Conor Dooley
2026-12-03 15:19 ` [PATCH 05/18] iio: adc: ad4170-4: Fix out-of-bounds accesses to pins_fn[] Janani Sunil
2026-12-03 15:19 ` [PATCH 06/18] iio: adc: ad4170-4: Fix voltage bias programming Janani Sunil
2026-12-03 17:11 ` Andy Shevchenko
2026-12-03 15:19 ` [PATCH 07/18] iio: adc: ad4170-4: Fix overflow in sample rate fractional part Janani Sunil
2026-12-03 16:22 ` sashiko-bot
2026-12-03 17:13 ` Andy Shevchenko
2026-12-03 15:19 ` [PATCH 08/18] iio: adc: ad4170-4: Fix output data rate on AD4190-4 and AD4195-4 Janani Sunil
2026-12-03 16:40 ` sashiko-bot
2026-12-03 15:19 ` [PATCH 09/18] iio: adc: ad4170-4: Fix filter_fs adjustment on filter type change Janani Sunil
2026-12-03 15:19 ` [PATCH 10/18] iio: adc: ad4170-4: Fix lock order inversion with IIO direct mode Janani Sunil
2026-12-03 17:16 ` Andy Shevchenko
2026-12-03 15:19 ` [PATCH 11/18] iio: adc: ad4170-4: Fix sinc5 filter FILTER_FS range on AD4190-4 and AD4195-4 Janani Sunil
2026-12-03 17:03 ` sashiko-bot
2026-12-03 17:17 ` Andy Shevchenko
2026-12-03 15:19 ` [PATCH 12/18] iio: adc: ad4170-4: Do not drive XTAL2 when using the internal clock Janani Sunil
2026-12-03 15:19 ` [PATCH 13/18] iio: adc: ad4170-4: Restrict current sources and AC excitation to supported parts Janani Sunil
2026-12-03 15:19 ` [PATCH 14/18] iio: adc: ad4170-4: Require equal chopped excitation currents Janani Sunil
2026-12-03 15:19 ` [PATCH 15/18] iio: adc: ad4170-4: Fix channel count with 15 external channels Janani Sunil
2026-12-03 15:19 ` [PATCH 16/18] iio: adc: ad4170-4: Drop ad4170_iout_pin_tbl Janani Sunil
2026-12-03 17:21 ` Andy Shevchenko
2026-12-03 15:19 ` [PATCH 17/18] dt-bindings: iio: adc: ad4170-4: Add AD4171-8, AD4190-8 and AD4195-8 Janani Sunil
2026-12-03 18:02 ` sashiko-bot
2026-12-04 17:41 ` Conor Dooley
2026-12-03 15:19 ` [PATCH 18/18] iio: adc: ad4170-4: Add support for " Janani Sunil
2026-12-03 17:23 ` Andy Shevchenko
2026-12-03 17:18 ` Andy Shevchenko [this message]
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=axGkUl9D3Jnlgtwo@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=Michael.Hennerich@analog.com \
--cc=ana-maria.cusco@analog.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=janani.sunil@analog.com \
--cc=jananisunil.dev@gmail.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@analog.com \
--cc=marcelo.schmitt@analog.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.