From mboxrd@z Thu Jan 1 00:00:00 1970 From: jic23@kernel.org (Jonathan Cameron) Date: Sat, 2 Dec 2017 14:52:45 +0000 Subject: [PATCH v6 05/13] IIO: Add DT bindings for sigma delta adc modulator In-Reply-To: <1512150020-20335-6-git-send-email-arnaud.pouliquen@st.com> References: <1512150020-20335-1-git-send-email-arnaud.pouliquen@st.com> <1512150020-20335-6-git-send-email-arnaud.pouliquen@st.com> Message-ID: <20171202145245.7802378c@archlinux> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 1 Dec 2017 18:40:12 +0100 Arnaud Pouliquen wrote: > Add documentation of device tree bindings to support > sigma delta modulator in IIO framework. > > Signed-off-by: Arnaud Pouliquen > Acked-by: Rob Herring Acked-by: Jonathan Cameron > --- > .../devicetree/bindings/iio/adc/sigma-delta-modulator.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt > > 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 0000000..e9ebb8a > --- /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 at 0 { > + compatible = "sd-modulator"; > + #io-channel-cells = <1>; > + };