aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMircea Caprioru <mircea.caprioru@analog.com>2019-06-25 11:11:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-06-26 21:24:21 +0100
commitc444e956a26115e605b4a345a39da294576f8d69 (patch)
tree160475172966f2f422c27628f871aa13453f125e
parentConvert AD7124 bindings documentation to YAML format. (diff)
downloadlinux-dev-c444e956a26115e605b4a345a39da294576f8d69.tar.xz
linux-dev-c444e956a26115e605b4a345a39da294576f8d69.zip
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: Mircea Caprioru <mircea.caprioru@analog.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
index 1b3d84d08609..cf494a08b837 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
@@ -100,6 +100,14 @@ patternProperties:
description: see Documentation/devicetree/bindings/iio/adc/adc.txt
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:
- reg
- diff-channels
@@ -123,6 +131,7 @@ examples:
reg = <0>;
diff-channels = <0 1>;
adi,reference-select = <0>;
+ adi,buffered-positive;
};
channel@1 {
@@ -130,6 +139,8 @@ examples:
bipolar;
diff-channels = <2 3>;
adi,reference-select = <0>;
+ adi,buffered-positive;
+ adi,buffered-negative;
};
channel@2 {