From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756257AbdDMUkq (ORCPT ); Thu, 13 Apr 2017 16:40:46 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33965 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdDMUkn (ORCPT ); Thu, 13 Apr 2017 16:40:43 -0400 Date: Thu, 13 Apr 2017 15:40:41 -0500 From: Rob Herring To: Martin Kepplinger Cc: dmitry.torokhov@gmail.com, christian.gmeiner@gmail.com, linux@roeck-us.net, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/3] Documentation: devicetree: bindings: add bindings doc for ar1021 driver Message-ID: <20170413204041.lqtqfc24vueo5fbj@rob-hp-laptop> References: <1491906479-17639-1-git-send-email-martin.kepplinger@ginzinger.com> <1491906479-17639-2-git-send-email-martin.kepplinger@ginzinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1491906479-17639-2-git-send-email-martin.kepplinger@ginzinger.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2017 at 12:27:58PM +0200, Martin Kepplinger wrote: > Add a simple binding document highlighting the supported devices and > I2C bus address. "dt-bindings: input: ..." for the subject please. > > Signed-off-by: Martin Kepplinger > --- > .../devicetree/bindings/input/touchscreen/ar1021.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/ar1021.txt > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt > new file mode 100644 > index 0000000..87a8c72 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt > @@ -0,0 +1,16 @@ > +* Microchip AR1020 and AR1021 touchscreen interface (I2C) > + > +Required properties: > +- compatible : use "microchip,ar1020-i2c" or "microchip,ar1021-i2c" > +- reg : I2C slave address > +- interrupt-parent : the phandle for the interrupt controller > +- interrupts : touch controller interrupt > + > +Example: > + > + ar1020: ar1020@4d { touchscreen@4d > + compatible = "microchip,ar1020-i2c"; > + reg = <0x4d>; > + interrupt-parent = <&gpio3>; > + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; > + }; > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html