Commit c444e956 authored by Mircea Caprioru's avatar Mircea Caprioru Committed by Jonathan Cameron

dt-bindings: iio: adc: Add buffered input property

This patch adds the buffered mode device tree property for positive and
negative inputs. Each option can be enabled independently.

In buffered mode, the input channel feeds into a high impedance input stage
of the buffer amplifier. Therefore, the input can tolerate significant
source impedances and is tailored for direct connection to external
resistive type sensors such as strain gages or RTDs.
Signed-off-by: default avatarMircea Caprioru <mircea.caprioru@analog.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 26ae15e6
...@@ -100,6 +100,14 @@ patternProperties: ...@@ -100,6 +100,14 @@ patternProperties:
description: see Documentation/devicetree/bindings/iio/adc/adc.txt description: see Documentation/devicetree/bindings/iio/adc/adc.txt
type: boolean type: boolean
adi,buffered-positive:
description: Enable buffered mode for positive input.
type: boolean
adi,buffered-negative:
description: Enable buffered mode for negative input.
type: boolean
required: required:
- reg - reg
- diff-channels - diff-channels
...@@ -123,6 +131,7 @@ examples: ...@@ -123,6 +131,7 @@ examples:
reg = <0>; reg = <0>;
diff-channels = <0 1>; diff-channels = <0 1>;
adi,reference-select = <0>; adi,reference-select = <0>;
adi,buffered-positive;
}; };
channel@1 { channel@1 {
...@@ -130,6 +139,8 @@ examples: ...@@ -130,6 +139,8 @@ examples:
bipolar; bipolar;
diff-channels = <2 3>; diff-channels = <2 3>;
adi,reference-select = <0>; adi,reference-select = <0>;
adi,buffered-positive;
adi,buffered-negative;
}; };
channel@2 { channel@2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment