aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@st.com>2018-01-10 11:13:07 +0100
committerMark Brown <broonie@kernel.org>2018-01-10 10:30:09 +0000
commitaf11143757b7995f185e9365d8450ea9d63ea267 (patch)
tree83bdcb3fa0a28b9c135cdba62694fa459eea6f1e /Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
parentIIO: inkern: API for manipulating channel attributes (diff)
downloadlinux-dev-af11143757b7995f185e9365d8450ea9d63ea267.tar.xz
linux-dev-af11143757b7995f185e9365d8450ea9d63ea267.zip
IIO: Add DT bindings for sigma delta adc modulator
Add documentation of device tree bindings to support sigma delta modulator in IIO framework. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
new file mode 100644
index 000000000000..e9ebb8a20e0d
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
@@ -0,0 +1,13 @@
+Device-Tree bindings for sigma delta modulator
+
+Required properties:
+- compatible: should be "ads1201", "sd-modulator". "sd-modulator" can be use
+ as a generic SD modulator if modulator not specified in compatible list.
+- #io-channel-cells = <1>: See the IIO bindings section "IIO consumers".
+
+Example node:
+
+ ads1202: adc@0 {
+ compatible = "sd-modulator";
+ #io-channel-cells = <1>;
+ };