Re: [PATCH v3 1/4] dt-bindings: iio: adc: add bindings for AD4691 family
From: David Lechner
Date: Sat Mar 14 2026 - 14:18:56 EST
On 3/13/26 5:07 AM, Radu Sabau via B4 Relay wrote:
> From: Radu Sabau <radu.sabau@xxxxxxxxxx>
>
> Add DT bindings for the Analog Devices AD4691 family of multichannel
> SAR ADCs (AD4691, AD4692, AD4693, AD4694).
>
...
> + interrupts:
> + description:
> + Interrupt line connected to the ADC GP0 pin. GP0 must be physically
> + wired to an interrupt-capable input on the SoC. The ADC asserts GP0 as
> + DATA_READY at end of conversion, used both for non-offload CNV Clock Mode
> + operation and for SPI Engine offload triggering via '#trigger-source-cells'.
> + Not used in Manual Mode, where CNV is tied to SPI CS and no DATA_READY
> + signal is generated.
> + maxItems: 1
> +
Some chips have 4 GP pins, so there can be up to 4 interrupts.
Also, the DT bindings should not specify which event this is - it is
programmable. We should just say which pin is physically wired. So
interrupt-names should be "gp0", "gp1", "gp2", "gp3".
It will be up to the driver to decide how it wants to use these.