Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-06-03 Thread Christopher Heiny
On Tue, 2019-06-04 at 10:45 +0800, Aaron Ma wrote: > Hi Christopher: > > Have got time to review these 2 patches? > Users reported it works fine since I sent out this patch. Hi Aaron, I've been poking around with this off and on. Unfortunately, more off than on :-( but here's my current take:

Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-04-02 Thread Christopher Heiny
On Thu, 2019-03-28 at 14:02 +0800, Aaron Ma wrote: > Hi Dmitry and Chiristopher: > > Do you have any suggestion about these 2 patches? > > Many users confirmed that they fixed issues of Trackpoint/Touchpad > after S3. > > Will you consider them be accepted? Hi Aaron, Sorry - I thought I'd

Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-03-08 Thread Christopher Heiny
On Wed, 2019-02-20 at 17:41 +0100, Aaron Ma wrote: > CAUTION: Email originated externally, do not click links or open > attachments unless you recognize the sender and know the content is > safe. > > > rmi4 got spam data after S3 resume on some ThinkPads. > Then TrackPoint lost when be detected

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-11 Thread Christopher Heiny
On Wed, 2017-01-11 at 18:48 +0100, Benjamin Tissoires wrote: > On Jan 11 2017 or thereabouts, Arnd Bergmann wrote: > > > > On Wednesday, January 11, 2017 5:28:28 PM CET Benjamin Tissoires > > wrote: > > > > > > Yep, it was initially written that way, and IIRC there was some > > > issues > > >

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-11 Thread Christopher Heiny
On Wed, 2017-01-11 at 18:48 +0100, Benjamin Tissoires wrote: > On Jan 11 2017 or thereabouts, Arnd Bergmann wrote: > > > > On Wednesday, January 11, 2017 5:28:28 PM CET Benjamin Tissoires > > wrote: > > > > > > Yep, it was initially written that way, and IIRC there was some > > > issues > > >

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-21 Thread Christopher Heiny
is > > On Thu, Oct 20, 2016 at 4:28 PM, Christopher Heiny <cheiny@synaptics. > com> wrote: > > On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > > > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > > > &g

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-21 Thread Christopher Heiny
is > > On Thu, Oct 20, 2016 at 4:28 PM, Christopher Heiny com> wrote: > > On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > > > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > > > > > On Fri, Sep 30, 2016 at 08:22:47P

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-20 Thread Christopher Heiny
On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > On Fri, Sep 30, 2016 at 08:22:47PM -0700, Guenter Roeck wrote: > > > > > > Sensor tuning support is needed to determine the number of > > > enabled > > > tx and rx

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-20 Thread Christopher Heiny
On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > On Fri, Sep 30, 2016 at 08:22:47PM -0700, Guenter Roeck wrote: > > > > > > Sensor tuning support is needed to determine the number of > > > enabled > > > tx and rx

Re: [PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-23 Thread Christopher Heiny
On 07/22/2014 11:11 PM, Dmitry Torokhov wrote: Signed-off-by: Dmitry Torokhov I've reviewed this, and can say: Acked-by: Christopher Heiny but I haven't had a chance to apply it to my build tree. Andrew - I'll be OOO for a couple of days. Can you do that, and add a Tested-by: or rev

Re: [PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-23 Thread Christopher Heiny
On 07/22/2014 11:11 PM, Dmitry Torokhov wrote: Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com I've reviewed this, and can say: Acked-by: Christopher Heiny che...@synaptics.com but I haven't had a chance to apply it to my build tree. Andrew - I'll be OOO for a couple of days. Can

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-03-18 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. I've just submitted a patch to correctly call config() after probe(). So this becomes... Signed-off-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-03-18 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. I've just submitted a patch to correctly call config() after probe(). So this becomes... Signed-off-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-18 Thread Christopher Heiny
On 02/17/2014 11:23 AM, Dmitry Torokhov wrote: On Fri, Feb 14, 2014 at 03:00:43PM -0800, Christopher Heiny wrote: On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-18 Thread Christopher Heiny
On 02/17/2014 11:23 AM, Dmitry Torokhov wrote: On Fri, Feb 14, 2014 at 03:00:43PM -0800, Christopher Heiny wrote: On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-14 Thread Christopher Heiny
On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: >On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: > >Do not write configuration data in probe(), we have config() for that. > >Then we should call config() in rmi

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-14 Thread Christopher Heiny
On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. Then we should call config() in rmi_function_probe

Re: [PATCH 05/11] Input: synaptics-rmi4 - remove control_mutex from f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is not used by anyone. Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index

Re: [PATCH 07/11] Input: synaptics-rmi4 - rename instances of f01_data from data to f01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We have too many "data"s: f01_data, driver_data, pdata, etc. Let's untangle it a bit. Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 135 ++

Re: [PATCH 08/11] Input: synaptics-rmi4 - use rmi_read/rmi_write in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Use rmi_read()/rmi_write() for reading/writing single-byte data. Also print error code when IO fails. Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 170

Re: [PATCH 11/11] Input: synaptics-rmi4 - remove data pointer from RMI fucntion structure

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Device core provides way of accessing driver-private data, we should use it. Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny --- drivers/input/rmi4/rmi_bus.h | 1 - drivers/input/rmi4/rmi_f01.c | 14 +-- drivers/input

Re: [PATCH 06/11] Input: synaptics-rmi4 - remove device_status form f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We do not need to persist it - we read it when signalled. Signed-off-by: Dmitry Torokhov Acked-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 10/11] Input: synaptics-rmi4 - make accessor for platform data return const pointer

2014-02-13 Thread Christopher Heiny
to look at some of our other #define accessors as well, I think. Signed-off-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_bus.h| 7 ++- drivers/input/rmi4/rmi_driver.c | 8 drivers/input/rmi4/rmi_f01.c| 2 +- drivers/input/rmi4

Re: [PATCH 09/11] Input: synaptics-rmi4 - consolidate memory allocations in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Let's allocate interrupt mask together with the main structure and combine rmi_f01_alloc_memory, rmi_f01_initialize and rmi_f01_probe into single function. Signed-off-by: Dmitry Torokhov Signed-off-by: Christopher Heiny --- drivers/input

Re: [PATCH 04/11] Input: synaptics-rmi4 - fix LTS handling in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: From: Christopher Heiny Both F01_RMI_Ctrl2 and F01_RMI_Ctrl3 (doze_interval and wakeup_threshold) are controlled by the has_adjustable_doze bit. Signed-off-by: Christopher Heiny Signed-off-by: Dmitry Torokhov Not sure if this need an Ack

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-13 Thread Christopher Heiny
rror; - } } else { error = rmi_read(rmi_dev, data->doze_holdoff_addr, >device_control.doze_holdoff); -- Christopher Heiny Senior Staff Firmware Engineer Synaptics Incorporated -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH 02/11] Input: synaptics-rmi4 - remove unused rmi_f01_remove()

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is an empty stub and is not needed. Signed-off-by: Dmitry Torokhov Signed-off-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input

Re: [PATCH 01/11] Input: synaptics-rmi4 - do not kfree() managed memory in F01

2014-02-13 Thread Christopher Heiny
-by: Christopher Heiny --- drivers/input/rmi4/rmi_f01.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index 381ad60..92b90d1 100644 --- a/drivers/input/rmi4/rmi_f01.c +++ b/drivers/input

Re: [PATCH 01/11] Input: synaptics-rmi4 - do not kfree() managed memory in F01

2014-02-13 Thread Christopher Heiny
-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index 381ad60

Re: [PATCH 02/11] Input: synaptics-rmi4 - remove unused rmi_f01_remove()

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is an empty stub and is not needed. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-13 Thread Christopher Heiny
-device_control.doze_holdoff); -- Christopher Heiny Senior Staff Firmware Engineer Synaptics Incorporated -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH 04/11] Input: synaptics-rmi4 - fix LTS handling in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: From: Christopher Heiny che...@synaptics.com Both F01_RMI_Ctrl2 and F01_RMI_Ctrl3 (doze_interval and wakeup_threshold) are controlled by the has_adjustable_doze bit. Signed-off-by: Christopher Heinyche...@synaptics.com Signed-off-by: Dmitry

Re: [PATCH 09/11] Input: synaptics-rmi4 - consolidate memory allocations in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Let's allocate interrupt mask together with the main structure and combine rmi_f01_alloc_memory, rmi_f01_initialize and rmi_f01_probe into single function. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny

Re: [PATCH 10/11] Input: synaptics-rmi4 - make accessor for platform data return const pointer

2014-02-13 Thread Christopher Heiny
to look at some of our other #define accessors as well, I think. Signed-off-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/rmi4/rmi_bus.h| 7 ++- drivers/input/rmi4/rmi_driver.c | 8 drivers/input/rmi4

Re: [PATCH 06/11] Input: synaptics-rmi4 - remove device_status form f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We do not need to persist it - we read it when signalled. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 15 +++ 1 file changed, 7

Re: [PATCH 11/11] Input: synaptics-rmi4 - remove data pointer from RMI fucntion structure

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Device core provides way of accessing driver-private data, we should use it. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_bus.h | 1 - drivers/input

Re: [PATCH 08/11] Input: synaptics-rmi4 - use rmi_read/rmi_write in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Use rmi_read()/rmi_write() for reading/writing single-byte data. Also print error code when IO fails. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c

Re: [PATCH 07/11] Input: synaptics-rmi4 - rename instances of f01_data from data to f01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We have too many datas: f01_data, driver_data, pdata, etc. Let's untangle it a bit. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 135

Re: [PATCH 05/11] Input: synaptics-rmi4 - remove control_mutex from f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is not used by anyone. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/rmi4

Re: [PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2014-02-04 Thread Christopher Heiny
On 02/03/2014 11:56 PM, Linus Walleij wrote: On Sat, Jan 19, 2013 at 2:12 AM, Christopher Heiny wrote: This patchset implements changes based on the synaptics-rmi4 branch of Dmitry's input tree. What is happening to the RMI4 driver stuff? Has this development stalled? The branch

Re: [PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2014-02-04 Thread Christopher Heiny
On 02/03/2014 11:56 PM, Linus Walleij wrote: On Sat, Jan 19, 2013 at 2:12 AM, Christopher Heiny che...@synaptics.com wrote: This patchset implements changes based on the synaptics-rmi4 branch of Dmitry's input tree. What is happening to the RMI4 driver stuff? Has this development stalled

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-14 Thread Christopher Heiny
n; - - retval = i2c_master_recv(client, buf, len); - if (retval < 0) + if (retval) xport->stats.rx_errs++; else - dev_dbg(>dev, - "read %zd bytes at %#06x: %*ph\n", - len, addr, (i

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-14 Thread Christopher Heiny
- dev_dbg(client-dev, - read %zd bytes at %#06x: %*ph\n, - len, addr, (int)len, buf); + xport-stats.rx_bytes += len; -exit: mutex_unlock(rmi_i2c-page_mutex); return retval; } -- Christopher Heiny Senior Staff Firmware

Re: [PATCH 1/4] Input: synaptics-rmi4 - split of transport ops into a separate structure

2014-01-10 Thread Christopher Heiny
the proper tyep - size_t. Also rename rmi_transport_info to rmi_transport_stats and move protocol name (which is the only immutable piece of data there) into the transport device itself. Acked-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_bus.h| 64

Re: [PATCH 3/4] Input: synaptics-rmi4 - fix I2C functionality check

2014-01-10 Thread Christopher Heiny
On 01/09/2014 11:44 PM, Dmitry Torokhov wrote: When adapter does not support required functionality (I2C_FUNC_I2C) we were returning 0 to the upper layers, making them believe that device bound successfully. Acked-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/input

Re: [PATCH 2/4] Input: synaptics-rmi4 - rework transport device allocation

2014-01-10 Thread Christopher Heiny
Acked-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_bus.h | 3 -- drivers/input/rmi4/rmi_i2c.c | 112 +-- 2 files changed, 56 insertions(+), 59 deletions(-) diff --git a/drivers/input/rmi4/rmi_bus.h b/drivers/input/rmi4/rmi

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-10 Thread Christopher Heiny
on some older platforms. I've tested it on some more current platforms, though, and it works there. The old platforms are running 2.6.xx series kernels, and don't look likely ever to be updated, So Acked-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-10 Thread Christopher Heiny
on some older platforms. I've tested it on some more current platforms, though, and it works there. The old platforms are running 2.6.xx series kernels, and don't look likely ever to be updated, So Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov

Re: [PATCH 3/4] Input: synaptics-rmi4 - fix I2C functionality check

2014-01-10 Thread Christopher Heiny
On 01/09/2014 11:44 PM, Dmitry Torokhov wrote: When adapter does not support required functionality (I2C_FUNC_I2C) we were returning 0 to the upper layers, making them believe that device bound successfully. Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov

Re: [PATCH 2/4] Input: synaptics-rmi4 - rework transport device allocation

2014-01-10 Thread Christopher Heiny
-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/rmi4/rmi_bus.h | 3 -- drivers/input/rmi4/rmi_i2c.c | 112 +-- 2 files changed, 56 insertions(+), 59 deletions(-) diff --git a/drivers/input

Re: [PATCH 1/4] Input: synaptics-rmi4 - split of transport ops into a separate structure

2014-01-10 Thread Christopher Heiny
the proper tyep - size_t. Also rename rmi_transport_info to rmi_transport_stats and move protocol name (which is the only immutable piece of data there) into the transport device itself. Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
Sorry if this is a duplicate - there's some email issues here at work. On 07/08/2013 03:39 PM, Dmitry Torokhov wrote: > On Monday, July 08, 2013 10:21:16 PM Christopher Heiny wrote: >> On 07/08/2013 01:25 AM, Balint Czobor wrote: >>> Add initial support for Synaptics

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
On 07/08/2013 01:25 AM, Balint Czobor wrote: > Add initial support for Synaptics RMI over I2C based touchscreens. This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
On 07/08/2013 01:25 AM, Balint Czobor wrote: Add initial support for Synaptics RMI over I2C based touchscreens. This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch of

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
Sorry if this is a duplicate - there's some email issues here at work. On 07/08/2013 03:39 PM, Dmitry Torokhov wrote: On Monday, July 08, 2013 10:21:16 PM Christopher Heiny wrote: On 07/08/2013 01:25 AM, Balint Czobor wrote: Add initial support for Synaptics RMI over I2C based touchscreens

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-02-07 Thread Christopher Heiny
On 01/31/2013 01:14 PM, Christopher Heiny wrote: On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-02-07 Thread Christopher Heiny
On 01/31/2013 01:14 PM, Christopher Heiny wrote: On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-01-31 Thread Christopher Heiny
On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. I

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-01-31 Thread Christopher Heiny
On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. I

[PATCH 03/05] input: RMI4 I2C physical layer

2013-01-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/5 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- drivers/input/rmi4/rmi_i2c.c | 141

[PATCH 04/05] input: RMI4 F01 device control

2013-01-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- drivers/input

[PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2013-01-18 Thread Christopher Heiny
changes in the driver code, and future patchsets can be much smaller and confined to one or two areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Jean Delvare

[PATCH 02/05] input: RMI4 core files

2013-01-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus

[PATCH 01/05] input: RMI4 public header file

2013-01-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cut issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- include/linux/rmi.h | 95

[PATCH 01/05] input: RMI4 public header file

2013-01-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cutpaste issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram

[PATCH 02/05] input: RMI4 core files

2013-01-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry

[PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2013-01-18 Thread Christopher Heiny
changes in the driver code, and future patchsets can be much smaller and confined to one or two areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry

[PATCH 04/05] input: RMI4 F01 device control

2013-01-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall

[PATCH 03/05] input: RMI4 I2C physical layer

2013-01-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/5 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com

[PATCH 02/05] input: Core files

2012-12-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny Cc: Greg Kroah-Hartman Cc: Dmitry

[PATCH 04/05] input: F01 Device control

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * changes to the handling of sysfs as requested in feedback to our previous patch. * device serialization updated to conform to the latest specification. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc

[PATCH 01/05] input: RMI4 header file

2012-12-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cut issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- include/linux/rmi.h | 95

[PATCH 03/05] input: I2C physical layer

2012-12-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/0 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- drivers/input/rmi4/rmi_i2c.c | 141

[PATCH 05/05] input: F11 2D input

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * elimination of unused sysfs and debugfs parameters. * some fixes to the input device parameters. * removal of some stray Android stuff. Signed-off-by: Christopher Heiny To: Henrik Rydberg Cc: Dmitry Torokhov

[RFC PATCH 00/05] input: Synaptics RMI4 Touchscreen Driver

2012-12-18 Thread Christopher Heiny
areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Jean Delvare Cc: Linus Walleij Cc: Joeri de Gram --- -- To unsubscribe from this list: send the line

[RFC PATCH 00/05] input: Synaptics RMI4 Touchscreen Driver

2012-12-18 Thread Christopher Heiny
areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Jean Delvare kh...@linux-fr.org Cc: Linus Walleij linus.wall

[PATCH 05/05] input: F11 2D input

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * elimination of unused sysfs and debugfs parameters. * some fixes to the input device parameters. * removal of some stray Android stuff. Signed-off-by: Christopher Heiny che...@synaptics.com To: Henrik Rydberg

[PATCH 03/05] input: I2C physical layer

2012-12-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/0 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com

[PATCH 01/05] input: RMI4 header file

2012-12-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cutpaste issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram

[PATCH 04/05] input: F01 Device control

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * changes to the handling of sysfs as requested in feedback to our previous patch. * device serialization updated to conform to the latest specification. Signed-off-by: Christopher Heiny che...@synaptics.com Cc

[PATCH 02/05] input: Core files

2012-12-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Greg Kroah

RE: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-12-01 Thread Christopher Heiny
, possibly with some slight modifications. Thanks! Chris From: linux-input-ow...@vger.kernel.org [linux-input-ow...@vger.kernel.org] on behalf of Dmitry Torokhov [dmitry.torok...@gmail.com] Sent: Thursday, November 29, 2012 9:21 AM To: Christopher Heiny Cc

RE: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-12-01 Thread Christopher Heiny
, possibly with some slight modifications. Thanks! Chris From: linux-input-ow...@vger.kernel.org [linux-input-ow...@vger.kernel.org] on behalf of Dmitry Torokhov [dmitry.torok...@gmail.com] Sent: Thursday, November 29, 2012 9:21 AM To: Christopher Heiny Cc

Re: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-11-28 Thread Christopher Heiny
unregister_sensor_driver(void) { bus_unregister_notifier(_bus_type, _bus_notifier); - driver_unregister(_driver.driver); + driver_unregister(_sensor_driver.driver); } - -module_init(rmi_driver_init); -module_exit(rmi_driver_exit); - -MODULE_AUTHOR("Christopher Heiny "); -MO

Re: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-11-28 Thread Christopher Heiny
); } - -module_init(rmi_driver_init); -module_exit(rmi_driver_exit); - -MODULE_AUTHOR(Christopher Heiny che...@synaptics.com); -MODULE_DESCRIPTION(RMI generic driver); -MODULE_LICENSE(GPL); -MODULE_VERSION(RMI_DRIVER_VERSION); diff --git a/drivers/input/rmi4/rmi_driver.h b/drivers/input/rmi4

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:29 AM, Dmitry Torokhov wrote: On Mon, Nov 26, 2012 at 02:31:27PM -0800, Christopher Heiny wrote: >On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: > >Hi Christopher, > > > >On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: > >>RM

Re: [PATCH 4/4] Input: RMI4 - introduce rmi_module_driver() macro

2012-11-27 Thread Christopher Heiny
__exit rmi_f11_module_exit(void) -{ - rmi_unregister_function_handler(_f11_handler); -} - -module_init(rmi_f11_module_init); -module_exit(rmi_f11_module_exit); +module_rmi_driver(rmi_f11_handler); MODULE_AUTHOR("Christopher Heiny -- Christopher Heiny Senior Staff Firmware Engineer Syna

Re: [PATCH 1/4] Input RMI4 - rename rmi_function_container to rmi_function

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:21 AM, Dmitry Torokhov wrote: To save my old fingers... Signed-off-by: Dmitry Torokhov --- It looks like this driver(s) need some love and I might have some time so I will refresh my "synaptics" branch with the patches you have sent and start working off it. If you have

Re: [PATCH 1/4] Input RMI4 - rename rmi_function_container to rmi_function

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:21 AM, Dmitry Torokhov wrote: To save my old fingers... Signed-off-by: Dmitry Torokhovdmitry.torok...@gmail.com --- It looks like this driver(s) need some love and I might have some time so I will refresh my synaptics branch with the patches you have sent and start working off

Re: [PATCH 4/4] Input: RMI4 - introduce rmi_module_driver() macro

2012-11-27 Thread Christopher Heiny
(rmi_f11_handler); -} - -static void __exit rmi_f11_module_exit(void) -{ - rmi_unregister_function_handler(rmi_f11_handler); -} - -module_init(rmi_f11_module_init); -module_exit(rmi_f11_module_exit); +module_rmi_driver(rmi_f11_handler); MODULE_AUTHOR(Christopher Heiny che...@synaptics.com

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:29 AM, Dmitry Torokhov wrote: On Mon, Nov 26, 2012 at 02:31:27PM -0800, Christopher Heiny wrote: On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: Hi Christopher, On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: RMI Function 01 implements basic device

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-26 Thread Christopher Heiny
On 11/26/2012 10:41 AM, Benjamin Tissoires wrote: Hi Christopher, On Sat, Nov 17, 2012 at 4:58 AM, Christopher Heiny wrote: rmi_bus.c implements the basic functionality of the RMI bus. This file is greatly simplified compared to the previous patch - we've switched from "do it you

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-26 Thread Christopher Heiny
On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: Hi Christopher, On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. rmi_f01.h exports definitions that we expect to be used

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-26 Thread Christopher Heiny
On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: Hi Christopher, On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. rmi_f01.h exports definitions that we expect to be used

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-26 Thread Christopher Heiny
On 11/26/2012 10:41 AM, Benjamin Tissoires wrote: Hi Christopher, On Sat, Nov 17, 2012 at 4:58 AM, Christopher Heiny che...@synaptics.com wrote: rmi_bus.c implements the basic functionality of the RMI bus. This file is greatly simplified compared to the previous patch - we've switched from do

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-19 Thread Christopher Heiny
On 11/17/2012 01:54 PM, Greg Kroah-Hartman wrote: On Fri, Nov 16, 2012 at 07:58:50PM -0800, Christopher Heiny wrote: +static void release_rmidev_device(struct device *dev) +{ + device_unregister(dev); +} You just leaked memory here, right? Also, you already unregistered the device

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-19 Thread Christopher Heiny
On 11/17/2012 01:54 PM, Greg Kroah-Hartman wrote: On Fri, Nov 16, 2012 at 07:58:50PM -0800, Christopher Heiny wrote: +static void release_rmidev_device(struct device *dev) +{ + device_unregister(dev); +} You just leaked memory here, right? Also, you already unregistered the device

[RFC PATCH 02/06] input/rmi4: Core files

2012-11-16 Thread Christopher Heiny
seek your input on these core files, particularly the bus implementation. Signed-off-by: Christopher Heiny Cc: Greg Kroah-Hartman Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Naveen Kumar Gaddipati Cc: Joeri de Gram --- drivers/input/rmi4/rmi_bus.c| 248 ++ drivers/input/rmi4/rm

[RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-16 Thread Christopher Heiny
RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. rmi_f01.h exports definitions that we expect to be used by other functionality in the future (such as firmware reflash). Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij

[RFC PATCH 03/06] input/rmi4: I2C physical interface

2012-11-16 Thread Christopher Heiny
device). Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Naveen Kumar Gaddipati Cc: Joeri de Gram Acked-by: Jean Delvare --- drivers/input/rmi4/rmi_i2c.c | 490 ++ 1 files changed, 490 insertions(+), 0 deletions(-) diff

  1   2   3   >