Messages in this thread | ![/](/images/icornerl.gif) | | From | David Lechner <> | Date | Mon, 1 Apr 2024 15:22:44 -0500 | Subject | Re: [PATCH 1/6] dt-bindings: adc: ad7173: add support for ad411x |
| |
On Mon, Apr 1, 2024 at 2:37 PM David Lechner <dlechner@baylibre.com> wrote: > > On Mon, Apr 1, 2024 at 10:10 AM Dumitru Ceclan via B4 Relay > <devnull+dumitru.ceclan.analog.com@kernel.org> wrote: > > > > From: Dumitru Ceclan <dumitru.ceclan@analog.com> > > > > Add support for: AD4111, AD4112, AD4114, AD4115, AD4116. > > > > AD411x family ADCs support a VCOM pin, dedicated for single-ended usage. > > AD4111/AD4112 support current channels, usage is implemented by > > specifying channel reg values bigger than 15. > > > > Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com> > > --- > > .../devicetree/bindings/iio/adc/adi,ad7173.yaml | 59 +++++++++++++++++++++- > > 1 file changed, 57 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml > > index ea6cfcd0aff4..bba2de0a52f3 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml
Also, I just noticed that AD411x have only one AVDD input instead of AVDD1 and AVDD2. So we need an if statement that says if properties: compatible: enum: - adi,ad411x, then properties: avdd2-supply: false.
| ![\](/images/icornerr.gif) |