AINCOM should actually be a supply. If present and it has a non-zero voltage, the pseudo-differential channels are configured as single-ended with an offset. Otherwise, they are configured as differential channels between AINx and AINCOM pins. Signed-off-by: Alisa-Dariana Roman <alisa.roman@xxxxxxxxxx> --- .../devicetree/bindings/iio/adc/adi,ad7192.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml index 16def2985ab4..ba506af3b73e 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml @@ -41,6 +41,14 @@ properties: interrupts: maxItems: 1 + aincom-supply: + description: | + Optional AINCOM voltage supply. If present and it has a non-zero voltage, + the pseudo-differential channels are configured as single-ended channels + with the AINCOM voltage as offset. Otherwise, the pseudo-differential + channels are configured as differential channels: voltageX-voltage0, with + AINCOM as the negative input. + dvdd-supply: description: DVdd voltage supply @@ -117,6 +125,7 @@ examples: clock-names = "mclk"; interrupts = <25 0x2>; interrupt-parent = <&gpio>; + aincom-supply = <&aincom>; dvdd-supply = <&dvdd>; avdd-supply = <&avdd>; vref-supply = <&vref>; -- 2.34.1