[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230727150324.1157933-5-olivier.moysan@foss.st.com>
Date: Thu, 27 Jul 2023 17:03:15 +0200
From: Olivier Moysan <olivier.moysan@...s.st.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
CC: Olivier Moysan <olivier.moysan@...s.st.com>,
<linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [RFC v2 04/11] dt-bindings: iio: adc: add scaling support to sd modulator
Add scaling support to SD modulator.
Signed-off-by: Olivier Moysan <olivier.moysan@...s.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
Powered by blists - more mailing lists