[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <SN4PR03MB6799D9A834144D6E00187B3B99719@SN4PR03MB6799.namprd03.prod.outlook.com>
Date: Fri, 10 Dec 2021 09:05:15 +0000
From: "Chindris, Mihail" <Mihail.Chindris@...log.com>
To: Rob Herring <robh@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
"broonie@...nel.org" <broonie@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"lars@...afoo.de" <lars@...afoo.de>,
"Hennerich, Michael" <Michael.Hennerich@...log.com>,
"jic23@...nel.org" <jic23@...nel.org>,
"Sa, Nuno" <Nuno.Sa@...log.com>,
"Bogdan, Dragos" <Dragos.Bogdan@...log.com>,
"alexandru.ardelean@...log.com" <alexandru.ardelean@...log.com>
Subject: RE: [RESEND, PATCH v6 1/2] dt-bindings: iio: dac: Add
adi,ad3552r.yaml
Hi Rob
I will fix the build and update the patch.
I have a question below until then though.
Regards,
Mihail
...
> > +
> > + custom-output-range-config:
> > + type: object
>
> Why does this need to be in a child node?
For an ad3552r or ad3542r you can setup a default output range and a custom one (only one of these options is possible). The custom range is configured with this child and the default can be choose with the adi,output-range-microvolt property below
The adi,output-range-microvolt is described bellow for each chip. I couldn't find a way to put it here.
Do you have any suggestion?
Mihail
>
> > + description: Configuration of custom range when
> > + adi,output-range-microvolt is not present.
> > + The formulas for calculation the output voltages are
> > + Vout_fs = 2.5 + [(GainN + Offset/1024) * 2.5 * Rfbx * 1.03]
> > + Vout_zs = 2.5 - [(GainP + Offset/1024) * 2.5 * Rfbx *
...
Powered by blists - more mailing lists