LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org> To: Philipp Puschmann <pp@emlix.com> Cc: dmitry.torokhov@gmail.com, mark.rutland@arm.com, rydberg@bitmath.org, andi@etezian.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: ili251x - add support for Ilitek ILI251x touchscreens Date: Tue, 8 May 2018 12:51:36 -0500 [thread overview] Message-ID: <20180508175136.GA26802@rob-hp-laptop> (raw) In-Reply-To: <20180507131823.28800-1-pp@emlix.com> On Mon, May 07, 2018 at 03:18:23PM +0200, Philipp Puschmann wrote: > The driver supports at least the ili2511 chipset but may support other > Ilitek chipsets using Ilitek i2c protocol v3.x. > > The tested ili2511-based touchscreen delivers garbage for more than 6 > fingers while it should support up to 10 fingers. The reason is still > unclear and this remains a FIXME in the driver for now. > > The usage of pressure is optional. Touchscreens may deliver constant > and so useless pressure data. > > Signed-off-by: Philipp Puschmann <pp@emlix.com> > --- > .../bindings/input/touchscreen/ili251x.txt | 35 ++ Please make the binding a separate patch. > drivers/input/touchscreen/Kconfig | 12 + > drivers/input/touchscreen/Makefile | 1 + > drivers/input/touchscreen/ili251x.c | 350 ++++++++++++++++++ > 4 files changed, 398 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/ili251x.txt > create mode 100644 drivers/input/touchscreen/ili251x.c > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ili251x.txt b/Documentation/devicetree/bindings/input/touchscreen/ili251x.txt > new file mode 100644 > index 000000000000..f21ad93d3bdd > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/ili251x.txt > @@ -0,0 +1,35 @@ > +Ilitek ili251x touchscreen driver Bindings are not drivers. > + > +This driver uses protocol version 3 and should be compatible with other > +Ilitek touch controllers that use protocol 3.x > + > +Required properties: > + - compatible: "ili251x" Needs a vendor prefix. Don't use wildcards in compatible strings. Maybe you want to incorporate the protocol version into the compatible string. > + - reg: I2C slave address of the chip (0x41) > + - interrupt-parent: a phandle pointing to the interrupt controller > + serving the interrupt for this chip > + - interrupts: interrupt specification for the touchdetect > + interrupt > + > +Optional properties: > + - reset-gpios: GPIO specification for the RESET input > + > + - pinctrl-names: should be "default" > + - pinctrl-0: a phandle pointing to the pin settings for the > + control gpios > + - max-fingers: the maximum number of fingers to handle We already have 'silead,max-fingers', so probably time for a common property. > + - pressure: support pressure data This should be implied by the compatible string. > + - generic options : See touchscreen.txt > + > +Example: > + > + ili251x@41 { touchscreen@41 > + compatible = "ili251x"; > + reg = <0x41>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_touchpanel>; > + interrupt-parent = <&gpio5>; > + interrupts = <20 IRQ_TYPE_EDGE_FALLING>; > + reset-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; > + max-fingers = <6>; > + };
next prev parent reply other threads:[~2018-05-08 17:51 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-07 13:18 [PATCH] Input: ili251x - add support for Ilitek ILI251x touchscreens Philipp Puschmann 2018-05-08 17:51 ` Rob Herring [this message] 2018-05-08 21:49 ` Andi Shyti 2018-05-09 22:41 ` Dmitry Torokhov 2018-05-15 14:31 ` Philipp Puschmann
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180508175136.GA26802@rob-hp-laptop \ --to=robh@kernel.org \ --cc=andi@etezian.org \ --cc=devicetree@vger.kernel.org \ --cc=dmitry.torokhov@gmail.com \ --cc=linux-input@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=pp@emlix.com \ --cc=rydberg@bitmath.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).