Re: [PATCH v3 01/14] dt-bindings: iio: adc: Add AD7768

From: Jonathan Cameron

Date: Fri Aug 21 2026 - 21:46:13 EST


On Tue, 18 Aug 2026 10:27:26 +0200
Janani Sunil <jananisunil.dev@xxxxxxxxx> wrote:

> On 8/16/26 20:24, Jonathan Cameron wrote:
> > On Thu, 13 Aug 2026 15:56:54 +0200
> > Janani Sunil <janani.sunil@xxxxxxxxxx> wrote:
> >
> >> Devicetree Bindings for AD7768-4 (4 channel) and AD7768 (8 channel)
> >> simultaneous sampling ADCs.
> >>
> >> Signed-off-by: Janani Sunil <janani.sunil@xxxxxxxxxx>
> >> ---
> >> .../devicetree/bindings/iio/adc/adi,ad7768.yaml | 338 +++++++++++++++++++++
> >> MAINTAINERS | 7 +
> >> 2 files changed, 345 insertions(+)
> >>
> ...
> >> + adi,data-lines-number:
> >> + $ref: /schemas/types.yaml#/definitions/uint32
> >> + enum: [1, 2, 4, 8]
> >> + description:
> >> + Number of DOUTx lines used for the high-speed data output interface
> >> + (distinct from the SPI control interface). AD7768 supports 1, 2, or 8
> >> + lines; AD7768-4 supports 1 or 4 lines. Defaults to the maximum number
> >> + of lines for the selected variant if omitted.
> > The default statement is a bit hidden and I'm not sure useful as it's not
> > an obvious default. Maybe drop that and make this a required property?
>
> This property was required in v1. It was changed to optional in v2 following a suggestion to use the highest number of data lines as the default.
>

Ah fair enough I guess.

Jonathan