Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Nuno Sá" <nuno.sa@analog.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 5/6] dt-bindings: iio: adc: add AD7793 and similar ADCs
Date: Wed, 25 Nov 2026 10:28:53 +0000	[thread overview]
Message-ID: <sashiko-outbox-233123@kernel.org> (raw)
In-Reply-To: <20261125-iio-adi-legacy-platdata-v1-5-54e4c8830b57@analog.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: iio: adc: interrupts listed before clocks in
  adi,ad7793.yaml
--

commit a644054890dbc9f4a727627a933313f4001d68f3
Author: Nuno Sá <nuno.sa@analog.com>

dt-bindings: iio: adc: add AD7793 and similar ADCs

This commit adds a Device Tree binding schema and MAINTAINERS entry for the
Analog Devices AD7793 and related sigma-delta ADCs.

> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7793.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7793.yaml
> new file mode 100644
> index 0000000000000..c4a0be06e5c0d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7793.yaml
> @@ -0,0 +1,236 @@

[ ... ]

> +  interrupts:
> +    description: Interrupt connected to the DOUT/RDY pin.
> +    maxItems: 1
> +
> +  rdy-gpios:
> +    description:
> +      GPIO reading the DOUT/RDY line. DOUT/RDY also toggles during SPI
> +      transfers, which usually triggers spurious interrupts. Reading this GPIO
> +      allows to tell those apart from real conversion done events.
> +    maxItems: 1
> +
> +  avdd-supply: true
> +
> +  dvdd-supply: true
> +
> +  refin-supply:
> +    description:
> +      External reference applied between REFIN(+) and REFIN(-), or between
> +      REFIN1(+) and REFIN1(-) on the AD7794 and AD7795. If present, it is used
> +      as the ADC reference. If neither refin-supply nor refin2-supply are
> +      present, the internal 1.17 V reference is used.
> +
> +  refin2-supply:
> +    description:
> +      External reference applied between REFIN2(+) and REFIN2(-). Used as the
> +      ADC reference if refin-supply is not present.
> +
> +  clocks:
> +    description:
> +      External clock connected to the CLK pin. Either 64 kHz, or 128 kHz in
> +      which case it gets divided by 2 internally. If not present, the internal
> +      64 kHz clock is used.
> +    maxItems: 1

[Severity: Low]
This isn't a bug, but in the canonical DT schema property order, clocks
comes before interrupts.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-iio-adi-legacy-platdata-v1-0-54e4c8830b57@analog.com?part=5

  reply	other threads:[~2026-11-25 10:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:19 [PATCH 0/6] iio: adc: drop platform data from some ADI ADC drivers Nuno Sá
2026-11-25 10:19 ` [PATCH 1/6] iio: adc: ad7887: fix on-chip reference enable logic Nuno Sá
2026-11-25 10:25   ` sashiko-bot
2026-11-25 10:19 ` [PATCH 2/6] iio: adc: ad7887: drop platform data support Nuno Sá
2026-11-25 10:19 ` [PATCH 3/6] iio: adc: ad7266: " Nuno Sá
2026-11-25 10:19 ` [PATCH 4/6] iio: adc: ad7791: " Nuno Sá
2026-11-25 10:40   ` Andy Shevchenko
2026-11-25 10:19 ` [PATCH 5/6] dt-bindings: iio: adc: add AD7793 and similar ADCs Nuno Sá
2026-11-25 10:28   ` sashiko-bot [this message]
2026-11-25 10:19 ` [PATCH 6/6] iio: adc: ad7793: add firmware support and drop platform data Nuno Sá
2026-11-25 10:33   ` sashiko-bot
2026-11-25 10:43   ` Andy Shevchenko
2026-11-25 10:36 ` [PATCH 0/6] iio: adc: drop platform data from some ADI ADC drivers Arnd Bergmann

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-233123@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=nuno.sa@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