Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757896AbbEWJs6 (ORCPT ); Sat, 23 May 2015 05:48:58 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:49657 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757864AbbEWJsz (ORCPT ); Sat, 23 May 2015 05:48:55 -0400 Message-ID: <55604D05.1050809@kernel.org> Date: Sat, 23 May 2015 10:48:53 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Antoine Tenart , sebastian.hesselbarth@gmail.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net CC: zmxu@marvell.com, jszhang@marvell.com, yrliao@marvell.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/3] Documentation: bindings: document the Berlin ADC driver References: <1431940760-23896-1-git-send-email-antoine.tenart@free-electrons.com> <1431940760-23896-3-git-send-email-antoine.tenart@free-electrons.com> In-Reply-To: <1431940760-23896-3-git-send-email-antoine.tenart@free-electrons.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1703 Lines: 46 On 18/05/15 10:19, Antoine Tenart wrote: > Following the addition of a Berlin ADC driver, this patch adds the > corresponding bindings documentation. > > Signed-off-by: Antoine Tenart > Acked-by: Jonathan Cameron Applied and pushed out as the togreg branch of iio.git. Thanks, > --- > .../devicetree/bindings/iio/adc/berlin2_adc.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt > > diff --git a/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt b/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt > new file mode 100644 > index 000000000000..908334c6b07f > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/berlin2_adc.txt > @@ -0,0 +1,19 @@ > +* Berlin Analog to Digital Converter (ADC) > + > +The Berlin ADC has 8 channels, with one connected to a temperature sensor. > +It is part of the system controller register set. The ADC node should be a > +sub-node of the system controller node. > + > +Required properties: > +- compatible: must be "marvell,berlin2-adc" > +- interrupts: the interrupts for the ADC and the temperature sensor > +- interrupt-names: should be "adc" and "tsen" > + > +Example: > + > +adc: adc { > + compatible = "marvell,berlin2-adc"; > + interrupt-parent = <&sic>; > + interrupts = <12>, <14>; > + interrupt-names = "adc", "tsen"; > +}; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/