From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 27 Dec 2018 15:41:46 -0600 From: Rob Herring Subject: Re: [PATCH V2 01/10] input: touchscreen: ili210x: Add DT binding document Message-ID: <20181227214146.GA13210@bogus> References: <20181220204305.28807-1-marex@denx.de> <20181220204305.28807-2-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181220204305.28807-2-marex@denx.de> To: Marek Vasut Cc: linux-input@vger.kernel.org, Dmitry Torokhov , Henrik Rydberg , Olivier Sobrie , Philipp Puschmann , devicetree@vger.kernel.org List-ID: On Thu, Dec 20, 2018 at 09:42:56PM +0100, Marek Vasut wrote: > Add DT binding document for the Ilitek ILI210x and ILI251x > touchscreen controllers. > > Signed-off-by: Marek Vasut > Cc: Dmitry Torokhov > Cc: Henrik Rydberg > Cc: Olivier Sobrie > Cc: Philipp Puschmann > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > To: linux-input@vger.kernel.org > --- > V2: New patch > --- > .../bindings/input/ilitek,ili2xxx.txt | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt > > diff --git a/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt b/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt > new file mode 100644 > index 000000000000..bc256557ae8c > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt > @@ -0,0 +1,25 @@ > +Ilitek ILI210x/ILI251x touchscreen controller > + > +Required properties: > +- compatible: > + ilitek,ili210x for ILI210x > + ilitek,ili251x for ILI251x Generally, we don't have wildcards in compatible strings. What's the 'x' signify? I couldn't find much info on these parts. > + > +- reg: The I2C address of the device > + > +- interrupts: The sink for the touchscreen's IRQ output > + See ../interrupt-controller/interrupts.txt > + > +Optional properties for main touchpad device: > + > +- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) > + > +Example: > + > + touch@41 { touchscreen@41 > + compatible = "ilitek,ili251x"; > + reg = <0x41>; > + interrupt-parent = <&gpio4>; > + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; > + reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; > + }; > -- > 2.19.2 >