Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752145AbbH0ULQ (ORCPT ); Thu, 27 Aug 2015 16:11:16 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:43210 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbbH0ULO (ORCPT ); Thu, 27 Aug 2015 16:11:14 -0400 Subject: Re: [PATCH v4 4/4] dt: Document Holt HI-8435 bindings To: Vladimir Barinov References: <1440099421-4762-1-git-send-email-vladimir.barinov@cogentembedded.com> <1440099527-4936-1-git-send-email-vladimir.barinov@cogentembedded.com> Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, cory.tusar@pid1solutions.com From: Jonathan Cameron Message-ID: <55DF6EE0.9080101@kernel.org> Date: Thu, 27 Aug 2015 21:11:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1440099527-4936-1-git-send-email-vladimir.barinov@cogentembedded.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: 1999 Lines: 60 On 20/08/15 20:38, Vladimir Barinov wrote: > These bindings can be used to register Holt HI-8435 threshold detector > > Signed-off-by: Vladimir Barinov This is fine and trivial enough that I am not going to need a device tree ack (not that I'd complain if one showed up :) Will pick it up with the driver.. > --- > Changes in version 2: > - renamed file name hi-843x.txt to hi8435.txt > - removed hi-8436,hi-8436,hi-8437 > - removed holt,debounce-soft field > - renamed holt,debounc-soft-delay to holt,debounce-interval > - renamed mr-gpio to reset-gpios > Changes in version 3: > - none > Changes in version 4: > - removed debounce_interval property > - removed reset-gpios to use GPIO descriptor API > > .../devicetree/bindings/iio/adc/hi8435.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/hi8435.txt > > diff --git a/Documentation/devicetree/bindings/iio/adc/hi8435.txt b/Documentation/devicetree/bindings/iio/adc/hi8435.txt > new file mode 100644 > index 0000000..3b0348c > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/hi8435.txt > @@ -0,0 +1,21 @@ > +Holt Integrated Circuits HI-8435 threshold detector bindings > + > +Required properties: > + - compatible: should be "holt,hi8435" > + - reg: spi chip select number for the device > + > +Recommended properties: > + - spi-max-frequency: definition as per > + Documentation/devicetree/bindings/spi/spi-bus.txt > + > +Optional properties: > + - gpios: GPIO used for controlling the reset pin > + > +Example: > +sensor@0 { > + compatible = "holt,hi8435"; > + reg = <0>; > + gpios = <&gpio6 1 0>; > + > + spi-max-frequency = <1000000>; > +}; > -- 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/