[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240806175706.5ee7602c@jic23-huawei>
Date: Tue, 6 Aug 2024 17:57:06 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Trevor Gamblin <tgamblin@...libre.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>, Michael Hennerich
<Michael.Hennerich@...log.com>, Nuno Sá <nuno.sa@...log.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Jonathan Corbet <corbet@....net>, David
Lechner <dlechner@...libre.com>, Uwe Kleine-Konig
<u.kleine-koenig@...libre.com>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>
Subject: Re: [PATCH RFC 1/3] dt-bindings: iio: adc: add AD762x/AD796x ADCs
On Tue, 6 Aug 2024 09:17:45 -0400
Trevor Gamblin <tgamblin@...libre.com> wrote:
> Hello,
>
> On 2024-08-03 10:35 a.m., Jonathan Cameron wrote:
> > On Wed, 31 Jul 2024 09:48:03 -0400
> > Trevor Gamblin <tgamblin@...libre.com> wrote:
> >
> >> This adds a binding specification for the Analog Devices Inc. AD7625,
> >> AD7626, AD7960, and AD7961 ADCs.
> > Given the RFC question is effectively about the binding and may influence
> > it a lot - make sure it's talked about here!
> >
> >> Signed-off-by: Trevor Gamblin <tgamblin@...libre.com>
> >> ---
> >> .../devicetree/bindings/iio/adc/adi,ad7625.yaml | 176 +++++++++++++++++++++
> >> MAINTAINERS | 9 ++
> >> 2 files changed, 185 insertions(+)
> >>
> >> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7625.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7625.yaml
> >> new file mode 100644
> >> index 000000000000..e88db0ac2534
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7625.yaml
> >> @@ -0,0 +1,176 @@
> >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> >> +%YAML 1.2
> >> +---
> >> +$id: http://devicetree.org/schemas/iio/adc/adi,ad7625.yaml#
> >> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> >> +
> >> +title: Analog Devices Fast PulSAR Analog to Digital Converters
> >> +
> >> +maintainers:
> >> + - Michael Hennerich <Michael.Hennerich@...log.com>
> >> + - Nuno Sá <nuno.sa@...log.com>
> >> +
> >> +description: |
> >> + A family of single channel differential analog to digital converters
> >> + in a LFCSP package. Note that these bindings are for the device when
> >> + used with the PulSAR LVDS project:
> >> + http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html.
> > As per the discussion in the cover letter I think the need to represent
> > if the DCO+ is connected between ADC and LVDS converter strongly suggests
> > we shouldn't represent it as one aggregate device.
>
> Just to be sure, do you mean that the PulSAR LVDS functionality should
> be split into its own driver and then utilized by ad7625?
I think we'd need that just to provide a 'hook' to describe the wiring.
That driver probably won't do anything other than give that information.
I'm not quite sure how it would all fit together though. Would need
some experimentation to figure out. I can't immediately think of
another bus with optional wires like this. Anyone else have a suggestion
on where to look?
Jonathan
Powered by blists - more mailing lists