Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbbEQLjV (ORCPT ); Sun, 17 May 2015 07:39:21 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:59662 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752681AbbEQLjN (ORCPT ); Sun, 17 May 2015 07:39:13 -0400 Message-ID: <55587DD8.20300@kernel.org> Date: Sun, 17 May 2015 12:39:04 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.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 v4 2/3] Documentation: bindings: document the Berlin ADC driver References: <1431339531-11938-1-git-send-email-antoine.tenart@free-electrons.com> <1431339531-11938-3-git-send-email-antoine.tenart@free-electrons.com> In-Reply-To: <1431339531-11938-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: 1915 Lines: 52 On 11/05/15 11:18, 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 This has been around in this form for a good while, so I'll take the view everyone agrees it is a good binding and apply it. Applied to the togreg branch of iio.git - initially pushed out as testing so the autobuilders can play with the rest of the series. Thanks, Jonathan > --- > .../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/