Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-28 Thread Robert Dolca
On Tue, Jul 28, 2015 at 12:30 AM, Dmitry Torokhov wrote: > On Mon, Jul 20, 2015 at 03:05:44PM +0300, Robert Dolca wrote: >> Hi Dmitry, >> >> On Mon, Jul 20, 2015 at 9:51 AM, Dmitry Torokhov >> wrote: >> > On Fri, Jul 10, 2015 at 06:11:04PM +0300, Robert Dolca wrote: >> > > This driver adds suppor

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 20, 2015 at 03:05:44PM +0300, Robert Dolca wrote: > Hi Dmitry, > > On Mon, Jul 20, 2015 at 9:51 AM, Dmitry Torokhov > wrote: > > On Fri, Jul 10, 2015 at 06:11:04PM +0300, Robert Dolca wrote: > > > This driver adds support for Silead touchscreens. It has been tested > > > with GSL1680

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-20 Thread Robert Dolca
Hi Dmitry, On Mon, Jul 20, 2015 at 9:51 AM, Dmitry Torokhov wrote: > On Fri, Jul 10, 2015 at 06:11:04PM +0300, Robert Dolca wrote: > > This driver adds support for Silead touchscreens. It has been tested > > with GSL1680 and GSL3680 touch panels. > > > > It supports ACPI and device tree enumerati

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-19 Thread Dmitry Torokhov
Hi Robert, On Fri, Jul 10, 2015 at 06:11:04PM +0300, Robert Dolca wrote: > This driver adds support for Silead touchscreens. It has been tested > with GSL1680 and GSL3680 touch panels. > > It supports ACPI and device tree enumeration. For ACPI you need ACPI 5.1+ > in order to be able to use named

Re: [PATCH] Add generic driver for Silead tochscreens

2015-07-11 Thread Paul Bolle
On vr, 2015-07-10 at 18:11 +0300, Robert Dolca wrote: > +static struct i2c_driver silead_ts_driver = { > + [...] > + .driver = { > + [...] > +#ifdef CONFIG_ACPI > + .acpi_match_table = ACPI_PTR(silead_ts_acpi_match), > +#endif A nit: for the !CONFIG_ACPI case includ

[PATCH] Add generic driver for Silead tochscreens

2015-07-10 Thread Robert Dolca
This driver adds support for Silead touchscreens. It has been tested with GSL1680 and GSL3680 touch panels. It supports ACPI and device tree enumeration. For ACPI you need ACPI 5.1+ in order to be able to use named GPIOs. In device tree you can use 'interrupts' or a named GPIO for IRQ. Screen res