RE: [RESEND, PATCH v6 1/2] dt-bindings: iio: dac: Add adi,ad3552r.yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 *

...




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux