Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Janani Sunil" <janani.sunil@analog.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 17/18] dt-bindings: iio: adc: ad4170-4: Add AD4171-8, AD4190-8 and AD4195-8
Date: Thu, 03 Dec 2026 18:02:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-248331@kernel.org> (raw)
In-Reply-To: <20261203-ad419x-release-v1-17-18578ab50524@analog.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: iio: adc: ad4170-4: adi,ad4195-8 omits adi,ad4190-8
  fallback
--

commit d27557291dfd713426e45d04d682381d50bc6202
Author: Janani Sunil <janani.sunil@analog.com>

dt-bindings: iio: adc: ad4170-4: Add AD4171-8, AD4190-8 and AD4195-8

This commit adds AD4171-8, AD4190-8, and AD4195-8 to the adi,ad4170-4
binding, expanding the analog input, voltage bias, and excitation pin ranges
for the 16-input variants while restricting the four-input devices in an
allOf conditional.

> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4170-4.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad4170-4.yaml
> index 4d2d69c5bb9ad..d6ffe2a544fc7 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad4170-4.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4170-4.yaml

[ ... ]

> @@ -39,8 +42,11 @@ properties:
>    compatible:
>      enum:
>        - adi,ad4170-4
> +      - adi,ad4171-8
>        - adi,ad4190-4
> +      - adi,ad4190-8
>        - adi,ad4195-4
> +      - adi,ad4195-8

[Severity: Low]
Should adi,ad4195-8 declare adi,ad4190-8 as a fallback compatible instead of
being a standalone enum entry?

AD4195-8 shares the same programming interface as AD4190-8 and differs only
in guaranteed specifications.  Without an adi,ad4190-8 fallback, DT
consumers that only match adi,ad4190-8 cannot bind to an AD4195-8, and
merging it standalone locks in that ABI.

Unlike adi,ad4195-4, adi,ad4195-8 is new and has no existing DTB ABI to
preserve.  Pairing adi,ad4195-8 with an adi,ad4190-8 fallback in a oneOf
items list follows writing-bindings.rst, works with the existing
contains-based allOf rules, and still lets drivers match adi,ad4195-8.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-ad419x-release-v1-0-18578ab50524@analog.com?part=17

  reply	other threads:[~2026-12-03 18:02 UTC|newest]

Thread overview: 30+ 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-03 15:19 ` [PATCH 02/18] dt-bindings: iio: adc: ad4170-4: Restrict channel inputs to valid codes Janani Sunil
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-03 15:19 ` [PATCH 04/18] dt-bindings: iio: adc: ad4170-4: Fix the voltage bias description Janani Sunil
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 [this message]
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 ` [PATCH 00/18] iio: adc: ad4170-4: Fixes and AD4171-8/AD4190-8/AD4195-8 support Andy Shevchenko

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=sashiko-outbox-248331@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=janani.sunil@analog.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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