All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: ILYAS NHASSE via B4 Relay <devnull+ilyas.nhasse.skf.com@kernel.org>
Cc: ilyas.nhasse@skf.com, "Nuno Sá" <nuno.sa@analog.com>,
	"Michael Hennerich" <Michael.Hennerich@analog.com>,
	"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>,
	"Marcelo Schmitt" <marcelo.schmitt@analog.com>,
	linux@analog.com, linux-iio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: adi,ad7124: make interrupts optional
Date: Sat, 21 Nov 2026 02:08:03 +0000	[thread overview]
Message-ID: <20261121020803.3bf00a33@jic23-hlaptop> (raw)
In-Reply-To: <20261120-ad7124-no-irq-v1-1-7826c5c3fd25@skf.com>

On Fri, 20 Nov 2026 12:26:47 +0100
ILYAS NHASSE via B4 Relay <devnull+ilyas.nhasse.skf.com@kernel.org> wrote:

> From: ILYAS NHASSE <ilyas.nhasse@skf.com>
> 
> The AD7124 signals the end of a conversion on its DOUT/RDY pin, which is
> also the SPI MISO line. Using it as an interrupt requires the board to
> route that pin to an interrupt-capable input as well, which is not always
> possible, e.g. when the ADC sits behind a digital isolator that only
> carries the SPI signals.

All that matters in this is

DOUT/RDY may not wired.  The next bit is useful for why we can support
that case.

> 
> The end of a conversion can also be read from the RDY bit of the status
> register, so the interrupt is not needed to operate the device. Drop it
> from the required properties.
> 
> Signed-off-by: ILYAS NHASSE <ilyas.nhasse@skf.com>
> ---
>  Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> index 2e3f84db6..875f46477 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
> @@ -76,7 +76,6 @@ properties:
>  required:
>    - compatible
>    - reg
> -  - interrupts
>  
>  # Can't have both clock input and output at the same time.
>  not:
> 


  parent reply	other threads:[~2026-11-21  2:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 11:26 [PATCH 0/2] iio: adc: ad7124: support boards without RDY interrupt ILYAS NHASSE via B4 Relay
2026-11-20 11:26 ` ILYAS NHASSE
2026-11-20 11:26 ` [PATCH 1/2] dt-bindings: iio: adc: adi,ad7124: make interrupts optional ILYAS NHASSE via B4 Relay
2026-11-20 11:26   ` ILYAS NHASSE
2026-11-20 17:46   ` Conor Dooley
2026-11-21  2:08   ` Jonathan Cameron [this message]
2026-11-20 11:26 ` [PATCH 2/2] iio: adc: ad_sigma_delta: support devices without RDY interrupt ILYAS NHASSE via B4 Relay
2026-11-20 11:26   ` ILYAS NHASSE
2026-11-20 11:45   ` sashiko-bot
2026-11-20 12:24   ` Andy Shevchenko
2026-11-21  2:14   ` Jonathan Cameron

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=20261121020803.3bf00a33@jic23-hlaptop \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=devnull+ilyas.nhasse.skf.com@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=ilyas.nhasse@skf.com \
    --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.