summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner (TI) <dlechner@baylibre.com>2026-07-14 18:21:26 -0500
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-07-20 00:32:15 +0100
commitba19e177301a64e00f73d31513282378dade98a9 (patch)
tree259bbd0dce5656a31313e556c0fafbbb3c998589
parent4bbfdc86dc98b890db3d5b9c3456e73cea4767ab (diff)
downloadlinux-ba19e177301a64e00f73d31513282378dade98a9.tar.gz
linux-ba19e177301a64e00f73d31513282378dade98a9.zip
dt-bindings: iio: adc: add input-chopping property
Add a generic input-chopping property to adc.yaml. This is a feature seen frequently in ADCs that are designed to measure resistive loads, such as RTDs and strain gauges. Enabling this can reduce offset errors by swapping the positive and negative input channels on every other conversion. This can have side-effects in timing and filter response, so it is not always desirable to enable this feature in some applications. Therefore, it is best to make this a property that can be enabled or disabled in the device tree. Signed-off-by: David Lechner (TI) <dlechner@baylibre.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adc.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Documentation/devicetree/bindings/iio/adc/adc.yaml
index e1da63119648..b673eaa5d072 100644
--- a/Documentation/devicetree/bindings/iio/adc/adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml
@@ -80,6 +80,14 @@ properties:
ADCs usually allow choosing between internal reference sources or a pair
of external pins.
+ input-chopping:
+ type: boolean
+ description:
+ If set, the positive and negative input channels are swapped on every
+ other conversion to reduce offset error. This generally comes at the
+ expense of added settling time between conversions, so should be omitted
+ on systems with high-frequency signals or high data rate requirements.
+
excitation-channels:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: