[PATCH 3/3] dt-bindings: iio: adi,ad7923: add range-select property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Document the new property to select the desired analog input range.

Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
index 40b0a887db57..9041020bdb81 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7923.yaml
@@ -36,6 +36,14 @@ properties:
     description: |
       The regulator supply for ADC reference voltage.
 
+  adi,range-select:
+    description: Selects the analog input range.
+      0 - 0 to 2xVREF
+      1 - 0 to VREF
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [0, 1]
+    default: 1
+
   '#address-cells':
     const: 1
 
-- 
2.37.3




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux