From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbcF1Uz4 (ORCPT ); Tue, 28 Jun 2016 16:55:56 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36029 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbcF1Uzx (ORCPT ); Tue, 28 Jun 2016 16:55:53 -0400 Date: Tue, 28 Jun 2016 15:55:44 -0500 From: Rob Herring To: Anthony Felice Cc: dri-devel@lists.freedesktop.org, shawnguo@kernel.org, dmitry.torokhov@gmail.com, mark.rutland@arm.com, kernel@pengutronix.de, stefan@agner.ch, linux@armlinux.org.uk, fabio.estevam@nxp.com, geert@linux-m68k.org, mwelling@ieee.org, sre@kernel.org, damien.riegel@savoirfairelinux.com, maitysanchayan@gmail.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/4] input: touchscreen: crtouch_ts: Add driver Message-ID: <20160628205544.GH3737@rob-hp-laptop> References: <1466797486-31558-1-git-send-email-tony.felice@timesys.com> <1466797486-31558-3-git-send-email-tony.felice@timesys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466797486-31558-3-git-send-email-tony.felice@timesys.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2016 at 03:44:44PM -0400, Anthony Felice wrote: > Add driver for the Vybrid Tower CRTouch-based touchscreen. This is > required for the touchscreen on the TWR-LCD-RGB to work on the Vybrid > Tower platform. > > There is a known issue with this driver: rarely, SW1 on the TWR-LCD-RGB > module needs to be pressed in order for the touchscreen to begin > functioning. > > Signed-off-by: Anthony Felice > --- > .../bindings/input/touchscreen/crtouch_ts.txt | 14 ++ > drivers/input/touchscreen/Kconfig | 10 + > drivers/input/touchscreen/Makefile | 1 + > drivers/input/touchscreen/crtouch_ts.c | 279 +++++++++++++++++++++ > 4 files changed, 304 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/crtouch_ts.txt > create mode 100644 drivers/input/touchscreen/crtouch_ts.c > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/crtouch_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/crtouch_ts.txt > new file mode 100644 > index 0000000..cfb966c > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/crtouch_ts.txt > @@ -0,0 +1,14 @@ > +* Freescale CRTOUCH based touchscreen > + > +Required Properties: > +- compatible must be fsl,crtouch_ts > +- reg: I2C address of the touchscreen > +- irq-gpio: GPIO to use as event IRQ > + > +Example: > + > + touch: crtouch@49 { touchscreen@49 > + compatible = "fsl,crtouch_ts"; Use '-', not '_'. > + reg = <0x49>; > + irq-gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>; As Dmitry said.