[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6c323896-10b9-455a-ae8a-bbe1e2a80e5d@baylibre.com>
Date: Mon, 18 Aug 2025 08:45:31 -0500
From: David Lechner <dlechner@...libre.com>
To: Ioana Risteiu <Ioana.Risteiu@...log.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Ramona Nechita <ramona.nechita@...log.com>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/4] dt-bindings: iio: adc: add IIO backend support
On 8/18/25 8:12 AM, Ioana Risteiu wrote:
> Add the generic io-backends property to the AD7779 binding to enable
> support for the IIO backend framework.
>
> Also add the adi,num-lanes property to set the number of lanes used by
> AD7779.
>
> Signed-off-by: Ioana Risteiu <Ioana.Risteiu@...log.com>
> ---
> .../bindings/iio/adc/adi,ad7779.yaml | 35 ++++++++++++++++++-
> 1 file changed, 34 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7779.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7779.yaml
> index 044f92f39cfa..4a212c8bc9d3 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7779.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7779.yaml
> @@ -80,11 +80,27 @@ properties:
> reset-gpios:
> maxItems: 1
>
> + io-backends:
> + maxItems: 1
> +
> + adi,num-lanes:
> + description:
> + Number of lanes on which the data is sent on the output when the data
> + output interface is used.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + enum: [1, 2, 4]
> + default: 4
Isn't 0 lanes wired up an option? I.e. it is possible to use the
chip in SPI-only mode. So it seems like 0 should be the default.
Powered by blists - more mailing lists