Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Radu Sabau via B4 Relay" <devnull+radu.sabau.analog.com@kernel.org>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v14 1/6] dt-bindings: iio: adc: add AD4691 family
Date: Fri, 29 May 2026 10:22:37 +0000	[thread overview]
Message-ID: <20260529102238.9DBA41F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260529-ad4692-multichannel-sar-adc-driver-v14-1-e93c2747dc1f@analog.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The device tree binding defines GPIO controller capabilities but fails to include them in the 'required' list and the 'examples' section.
--

commit 602cb115d39dfc0437959b492ddbc73748531d1e
Author: Radu Sabau <radu.sabau@analog.com>

dt-bindings: iio: adc: add AD4691 family

This commit adds device tree bindings for the Analog Devices AD4691 family 
of multichannel SAR ADCs. It defines the hardware constraints, compatible 
strings, and necessary properties for the four variants in this family.

> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml
[ ... ]
> +  gpio-controller: true
> +
> +  '#gpio-cells':
> +    const: 2
> +
> +  '#trigger-source-cells':
[ ... ]
> +required:
> +  - compatible
> +  - reg
> +  - avdd-supply
> +  - vio-supply

[Severity: Medium]
Should gpio-controller and #gpio-cells be included in this required list?

According to the dt-bindings subsystem guidelines, when a binding defines
provider capabilities such as a GPIO controller, the corresponding standard
properties must be explicitly added to the required list.

Additionally, would it be necessary to update the examples section below to
include these properties?

The subsystem documentation notes that the examples section must include all
required properties to successfully pass the schema validation checks.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260529-ad4692-multichannel-sar-adc-driver-v14-0-e93c2747dc1f@analog.com?part=1

  reply	other threads:[~2026-05-29 10:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29 10:14 [PATCH v14 0/6] iio: adc: ad4691: add driver for AD4691 multichannel SAR ADC family Radu Sabau via B4 Relay
2026-05-29 10:15 ` [PATCH v14 1/6] dt-bindings: iio: adc: add AD4691 family Radu Sabau via B4 Relay
2026-05-29 10:22   ` sashiko-bot [this message]
2026-05-29 10:15 ` [PATCH v14 2/6] iio: adc: ad4691: add initial driver for " Radu Sabau via B4 Relay
2026-05-29 10:15 ` [PATCH v14 3/6] iio: adc: ad4691: add triggered buffer support Radu Sabau via B4 Relay
2026-05-29 11:48   ` sashiko-bot
2026-05-29 10:15 ` [PATCH v14 4/6] iio: adc: ad4691: add SPI offload support Radu Sabau via B4 Relay
2026-05-29 10:15 ` [PATCH v14 5/6] iio: adc: ad4691: add oversampling support Radu Sabau via B4 Relay
2026-05-29 13:23   ` sashiko-bot
2026-05-29 10:15 ` [PATCH v14 6/6] docs: iio: adc: ad4691: add driver documentation Radu Sabau via B4 Relay

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=20260529102238.9DBA41F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=devnull+radu.sabau.analog.com@kernel.org \
    --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