summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2026-07-14 18:21:23 -0500
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-07-20 00:20:33 +0100
commitd8a07f620077fc84a2e94610334a35132dbeb2a8 (patch)
tree231d2985b57bede79c4bce505c78fdca80f38cd3
parent0c76b5213482b597d545255710768e4b7934defc (diff)
downloadlinux-d8a07f620077fc84a2e94610334a35132dbeb2a8.tar.gz
linux-d8a07f620077fc84a2e94610334a35132dbeb2a8.zip
dt-bindings: iio: adc: Add reference-sources property
Some ADCs have configurable voltage reference sources for each channel. Signed-off-by: Kurt Borja <kuurtb@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: David Lechner (TI) <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adc.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Documentation/devicetree/bindings/iio/adc/adc.yaml
index b9bc02b5b07a..8f608bf0b24d 100644
--- a/Documentation/devicetree/bindings/iio/adc/adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml
@@ -73,6 +73,13 @@ properties:
device design and can interact with other characteristics such as
settling time.
+ reference-sources:
+ $ref: /schemas/types.yaml#/definitions/string-array
+ description:
+ Indicates the voltage reference source or sources for this channel. Some
+ ADCs usually allow choosing between internal reference sources or a pair
+ of external pins.
+
anyOf:
- oneOf:
- required: