Re: [PATCH v8 7/8] dt-bindings: iio: adc: add ad4851
From: David Lechner
Date: Fri Dec 13 2024 - 18:08:11 EST
On 12/13/24 10:44 AM, Antoniu Miclaus wrote:
> Add devicetree bindings for ad485x family.
>
> Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
> changes in v8:
> - use "bipolar" property in adc channel definition.
...
> +patternProperties:
> + "^channel(@[0-7])?$":
> + $ref: adc.yaml
> + type: object
> + description: Represents the channels which are connected to the ADC.
> +
> + properties:
> + reg:
> + description: The channel number in single-ended mode.
> + minimum: 0
> + maximum: 7
It looks like the diff-channels property from v7 has gone missing.
We can't know if an input is wired for single-ended or differential
without that.
> +
> + bipolar: true
> +
> + required:
> + - reg
> +
> + additionalProperties: false
> +