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

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

 



...
> +patternProperties:
> +  "^channel@([0-1])$":
> +    type: object
> +    description: Configurations of the DAC Channels
> +    properties:
> +      reg:
> +          description: Channel number
> +          enum: [0, 1]
> +
> +      custom-output-range-config:

Copy unanswered comment from V3

> > > 
> > > Not a generic property so I think this needs an adi prefix.  
> > > Jonathan
> >
> > I tried with adi prefix but I get weird errors while running dt_binding_check for properties with adi prefix and with type:object
> > Do you have any suggestion for this issues?
> > 
> > Mihail
> >
@Rob
Jonathan

> +        type: object
> +        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 * 1.03]
...




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux