diff mbox series

[RFC,v2,04/11] dt-bindings: iio: adc: add scaling support to sd modulator

Message ID 20230727150324.1157933-5-olivier.moysan@foss.st.com
State Superseded, archived
Headers show
Series iio: add iio backend device type | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Olivier Moysan July 27, 2023, 3:03 p.m. UTC
Add scaling support to SD modulator.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
---
 .../bindings/iio/adc/sigma-delta-modulator.yaml          | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml
index cab0d425eaa4..bcc446c6428c 100644
--- a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml
@@ -18,12 +18,15 @@  properties:
       - sd-modulator
       - ads1201
 
-  '#io-channel-cells':
+  '#io-backend-cells':
     const: 0
 
+  vref-supply:
+    description: Phandle to the SD modulator reference voltage.
+
 required:
   - compatible
-  - '#io-channel-cells'
+  - '#io-backend-cells'
 
 additionalProperties: false
 
@@ -31,7 +34,7 @@  examples:
   - |
     ads1202: adc {
       compatible = "sd-modulator";
-      #io-channel-cells = <0>;
+      #io-backend-cells = <0>;
     };
 
 ...