Messages in this thread Patch in this message | | | From | Olivier Moysan <> | Subject | [RFC v2 04/11] dt-bindings: iio: adc: add scaling support to sd modulator | Date | Thu, 27 Jul 2023 17:03:15 +0200 |
| |
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 --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>; }; ... -- 2.25.1
| |