From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCHv5 2/2] dt-bindings: iio: document MAX11100 ADC Date: Sat, 21 Jan 2017 13:22:03 +0000 Message-ID: References: <1484757053-7102-1-git-send-email-jacopo+renesas@jmondi.org> <1484757053-7102-3-git-send-email-jacopo+renesas@jmondi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1484757053-7102-3-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-renesas-soc-owner@vger.kernel.org To: Jacopo Mondi , wsa+renesas@sang-engineering.com, magnus.damm@gmail.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, marek.vasut@gmail.com, geert@linux-m68k.org, mark.rutland@arm.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Rob Herring , Mark Rutland "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org On 18/01/17 16:30, Jacopo Mondi wrote: > Add device tree bindings documentation for Maxim MAX11100 single-channel > ADC > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > Acked-by: Wolfram Sang Simple enough I'm happy to take it without bothering Rob or Mark. However, any device tree bindings at all should be cc'd to them and to the devicetree list. Done in case anyone wants to comment. > --- > .../devicetree/bindings/iio/adc/max11100.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/max11100.txt > > diff --git a/Documentation/devicetree/bindings/iio/adc/max11100.txt b/Documentation/devicetree/bindings/iio/adc/max11100.txt > new file mode 100644 > index 0000000..ad0bc31 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/max11100.txt > @@ -0,0 +1,19 @@ > +* Maxim max11100 Analog to Digital Converter (ADC) > + > +Required properties: > + - compatible: Should be "maxim,max11100" > + - reg: the adc unit address > + - vref-supply: phandle to the regulator that provides reference voltage > + > +Optional properties: > + - spi-max-frequency: SPI maximum frequency > + > +Example: > + > +max11100: adc@0 { > + compatible = "maxim,max11100"; > + reg = <0>; > + vref-supply = <&adc0_vref>; > + spi-max-frequency = <240000>; > +}; > + >