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

Janani Sunil <[email protected]>
Newsgroups org.kernel.vger.linux-doc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/16/26 20:24, Jonathan Cameron wrote:
> On Thu, 13 Aug 2026 15:56:54 +0200
> Janani Sunil <[email protected]> wrote:
>
>> Devicetree Bindings for AD7768-4 (4 channel) and AD7768 (8 channel)
>> simultaneous sampling ADCs.
>>
>> Signed-off-by: Janani Sunil <[email protected]>
>> ---
>>   .../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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.