[PATCH v13 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-09 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71

[PATCH v13 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-09 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

[PATCH v13 12/12] input: cyapa: add acpi device id supported

2014-12-09 Thread Dudley Du
Add acpi device tree supported. acpi device id CYAP is for old gen3 trackpad devices. acpi device id CYAP0001 is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[PATCH v13 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-09 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse

[PATCH v13 00/12] input: cyapa: instruction of cyapa patches

2014-12-09 Thread Dudley Du
V13 patches have below updates, details of other updates see history list: 1) Remove all debugfs interface, including read_fw and raw_data interfaces. 2) This patches are made based linux next-20141208. This patch series is aimed to re-design the cyapa driver to support old gen3 trackpad devices

RE: [PATCH v13 00/12] input: cyapa: instruction of cyapa patches

2014-12-09 Thread Dudley Du
?12?10? 12:10 To: Dudley Du Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; David Solda; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 00/12] input: cyapa: instruction of cyapa patches Dudley, all, On Tue, Dec 09, 2014 at 05:11:32PM

RE: [PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-04 Thread Dudley Du
Dmitry, Thank you very much for the effort. I will re-post the series based on the your updated next branch when it ready. Thanks, Dudley > -Original Message- > From: dmitry.torok...@gmail.com [mailto:dmitry.torok...@gmail.com] > Sent: 2014?12?5? 1:32 > To: Dudley Du &g

RE: [PATCH v9 15/18] input: cyapa: add gen3 trackpad device read firmware image function support

2014-12-04 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2014年12月5日 1:47 > To: Dudley Du > Cc: Dudley Du; rydb...@euromail.se; ble...@google.com; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v9 15/

RE: [PATCH v9 15/18] input: cyapa: add gen3 trackpad device read firmware image function support

2014-12-04 Thread Dudley Du
-Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2014年12月5日 1:47 To: Dudley Du Cc: Dudley Du; rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 15/18] input: cyapa: add gen3

RE: [PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-04 Thread Dudley Du
Dmitry, Thank you very much for the effort. I will re-post the series based on the your updated next branch when it ready. Thanks, Dudley -Original Message- From: dmitry.torok...@gmail.com [mailto:dmitry.torok...@gmail.com] Sent: 2014?12?5? 1:32 To: Dudley Du Cc: Jeremiah Mahler

RE: [PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-03 Thread Dudley Du
il.com] > Sent: 2014?12?4? 12:58 > To: Dudley Du > Cc: linux-kernel@vger.kernel.org; dmitry.torok...@gmail.com > Subject: Re: [PATCH v12 01/19] input: cyapa: modify code to following kernel > code > style > > Dudley, > > On Wed, Dec 03, 2014 at 05:30:07PM +0800, Dudl

[PATCH v12 04/19] input: cyapa: add gen5 trackpad device basic functions support

2014-12-03 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse/cyapa_gen5.c | 1659

[PATCH v12 05/19] input: cyapa: add power management interfaces supported for the device

2014-12-03 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 111

[PATCH v12 19/19] input: cyapa: add acpi device id supported

2014-12-03 Thread Dudley Du
Add acpi device tree supported. acpi device id "CYAP" is for old gen3 trackpad devices. acpi device id "CYAP0001" is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[PATCH v12 18/19] input: cyapa: add gen5 trackpad device read raw data function support

2014-12-03 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138 insertions(+) diff --git

[PATCH v12 17/19] input: cyapa: add read sensors raw data debugfs interface support

2014-12-03 Thread Dudley Du
cause when there is performance gap happened. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 90 + drivers/input/mouse/cyapa.h | 4 ++ 2 files changed, 94 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b

[PATCH v12 15/19] input: cyapa: add gen3 trackpad device read firmware image function support

2014-12-03 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 67 1 file changed, 67 insertions(+) diff

[PATCH v12 16/19] input: cyapa: add gen5 trackpad device read firmware image function support

2014-12-03 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen5.c | 155

[PATCH v12 11/19] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-03 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v12 12/19] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-03 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 621 +++ 2

[PATCH v12 13/19] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-03 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff

[PATCH v12 14/19] input: cyapa: add read firmware image debugfs interface support

2014-12-03 Thread Dudley Du
recovery. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 182 +++- drivers/input/mouse/cyapa.h | 10 +++ 2 files changed, 191 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse

[PATCH v12 07/19] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-03 Thread Dudley Du
. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 327 1 file changed, 327 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 59e197c..25b1a3e 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

[PATCH v12 08/19] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-03 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 284 +++ 1 file changed, 284 insertions(+) diff

[PATCH v12 09/19] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-03 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71 insertions(+) diff --git

[PATCH v12 10/19] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-03 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 58 1 file changed, 58 insertions(+) diff

[PATCH v12 03/19] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-03 Thread Dudley Du
functions that working with kernel and input subsystem, and also supplies the interfaces that the specific devices' component can connect and work together with as one driver. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile |3 +- drivers/input/mouse

[PATCH v12 06/19] input: cyapa: add runtime power management interfaces supported for the device

2014-12-03 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 167

[PATCH v12 02/19] input: cyapa: add device resource management infrastructure support

2014-12-03 Thread Dudley Du
. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 77 ++--- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index c9fdf6d..d8f1dfe 100644 --- a/drivers/input/mouse/cyapa.c +++ b

[PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-03 Thread Dudley Du
This patch modified the code to fix the patch check warning issue with latest checkpatch.sh tool, and also changed the return variable name from "ret" to "error" when there is only one error path to follow code style. TEST=test on Chromebooks. Signed-off-by: Dudley Du ---

[PATCH v12 00/19] input: cyapa: instruction of cyapa patches

2014-12-03 Thread Dudley Du
V12 patches have below main updates compared with v10 patches: 1) Add check that when TP is detected but not operational, do not exit driver immediately, but wait and export the update_fw interface for recovering. 2) Re-arrange the function codes, remove unnesseary protype definitions in the

[PATCH v12 00/19] input: cyapa: instruction of cyapa patches

2014-12-03 Thread Dudley Du
V12 patches have below main updates compared with v10 patches: 1) Add check that when TP is detected but not operational, do not exit driver immediately, but wait and export the update_fw interface for recovering. 2) Re-arrange the function codes, remove unnesseary protype definitions in the

[PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-03 Thread Dudley Du
This patch modified the code to fix the patch check warning issue with latest checkpatch.sh tool, and also changed the return variable name from ret to error when there is only one error path to follow code style. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com

[PATCH v12 02/19] input: cyapa: add device resource management infrastructure support

2014-12-03 Thread Dudley Du
. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 77 ++--- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index c9fdf6d..d8f1dfe 100644 --- a/drivers

[PATCH v12 06/19] input: cyapa: add runtime power management interfaces supported for the device

2014-12-03 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input

[PATCH v12 03/19] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-03 Thread Dudley Du
functions that working with kernel and input subsystem, and also supplies the interfaces that the specific devices' component can connect and work together with as one driver. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Makefile |3

[PATCH v12 10/19] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-03 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 58 1 file changed, 58

[PATCH v12 09/19] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-03 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71

[PATCH v12 07/19] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-03 Thread Dudley Du
. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 327 1 file changed, 327 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 59e197c..25b1a3e 100644 --- a/drivers/input/mouse

[PATCH v12 08/19] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-03 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 284 +++ 1 file changed

[PATCH v12 12/19] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-03 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 621

[PATCH v12 13/19] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-03 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

[PATCH v12 14/19] input: cyapa: add read firmware image debugfs interface support

2014-12-03 Thread Dudley Du
recovery. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 182 +++- drivers/input/mouse/cyapa.h | 10 +++ 2 files changed, 191 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c b

[PATCH v12 11/19] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-03 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v12 16/19] input: cyapa: add gen5 trackpad device read firmware image function support

2014-12-03 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen5.c | 155

[PATCH v12 15/19] input: cyapa: add gen3 trackpad device read firmware image function support

2014-12-03 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 67 1 file changed

[PATCH v12 17/19] input: cyapa: add read sensors raw data debugfs interface support

2014-12-03 Thread Dudley Du
cause when there is performance gap happened. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 90 + drivers/input/mouse/cyapa.h | 4 ++ 2 files changed, 94 insertions(+) diff --git

[PATCH v12 18/19] input: cyapa: add gen5 trackpad device read raw data function support

2014-12-03 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138

[PATCH v12 19/19] input: cyapa: add acpi device id supported

2014-12-03 Thread Dudley Du
Add acpi device tree supported. acpi device id CYAP is for old gen3 trackpad devices. acpi device id CYAP0001 is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[PATCH v12 05/19] input: cyapa: add power management interfaces supported for the device

2014-12-03 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c

[PATCH v12 04/19] input: cyapa: add gen5 trackpad device basic functions support

2014-12-03 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse

RE: [PATCH v12 01/19] input: cyapa: modify code to following kernel code style

2014-12-03 Thread Dudley Du
] Sent: 2014?12?4? 12:58 To: Dudley Du Cc: linux-kernel@vger.kernel.org; dmitry.torok...@gmail.com Subject: Re: [PATCH v12 01/19] input: cyapa: modify code to following kernel code style Dudley, On Wed, Dec 03, 2014 at 05:30:07PM +0800, Dudley Du wrote: This patch modified the code to fix

RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

2014-11-26 Thread Dudley Du
age- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2014?11?27? 4:03 > To: Dudley Du > Cc: linux-kernel@vger.kernel.org > Subject: Re: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer > C720 > > Dudley, > > On Wed, Nov 26, 2014 at

RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

2014-11-26 Thread Dudley Du
- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2014?11?27? 4:03 To: Dudley Du Cc: linux-kernel@vger.kernel.org Subject: Re: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720 Dudley, On Wed, Nov 26, 2014 at 06:16:00AM +, Dudley Du wrote: More info

RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

2014-11-25 Thread Dudley Du
More info: I did all testings based on kernel 3.14.0 on Acer C70. Thanks, Dudley > -Original Message- > From: Dudley Du > Sent: 2014?11?26? 14:01 > To: 'Jeremiah Mahler' > Cc: 'linux-kernel@vger.kernel.org' > Subject: RE: [BUG] [PATCH] next: cyapa: fix inop touchpad af

RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

2014-11-25 Thread Dudley Du
More info: I did all testings based on kernel 3.14.0 on Acer C70. Thanks, Dudley -Original Message- From: Dudley Du Sent: 2014?11?26? 14:01 To: 'Jeremiah Mahler' Cc: 'linux-kernel@vger.kernel.org' Subject: RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer C720

RE: [PATCH v11 00/19] input: cyapa: instruction of cyapa patches

2014-11-23 Thread Dudley Du
Jeremiah, Thank you very much for your information. I will look into this issue. Could you send me the system log if possible when you encounter this issue. Thanks Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2014?11?21? 16:56 > T

RE: [PATCH v11 00/19] input: cyapa: instruction of cyapa patches

2014-11-23 Thread Dudley Du
Jeremiah, Thank you very much for your information. I will look into this issue. Could you send me the system log if possible when you encounter this issue. Thanks Dudley -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2014?11?21? 16:56 To: Dudley Du Cc

[PATCH v11 16/19] input: cyapa: add gen5 trackpad device read firmware image function support

2014-11-19 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen5.c | 155

[PATCH v11 19/19] input: cyapa: add acpi device id supported

2014-11-19 Thread Dudley Du
Add acpi device tree supported. acpi device id "CYAP" is for old gen3 trackpad devices. acpi device id "CYAP0001" is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[PATCH v11 18/19] input: cyapa: add gen5 trackpad device read raw data function support

2014-11-19 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138 insertions(+) diff --git

[PATCH v11 15/19] input: cyapa: add gen3 trackpad device read firmware image function support

2014-11-19 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 67 1 file changed, 67 insertions(+) diff

[PATCH v11 17/19] input: cyapa: add read sensors raw data debugfs interface support

2014-11-19 Thread Dudley Du
cause when there is performance gap happened. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 105 drivers/input/mouse/cyapa.h | 4 ++ 2 files changed, 109 insertions(+) diff --git a/drivers/input/mouse/cyapa.c

[PATCH v11 14/19] input: cyapa: add read firmware image debugfs interface support

2014-11-19 Thread Dudley Du
recovery. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 179 +++- drivers/input/mouse/cyapa.h | 10 +++ 2 files changed, 188 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse

[PATCH v11 13/19] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-11-19 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff

[PATCH v11 12/19] input: cyapa: add gen5 trackpad device read baseline function support

2014-11-19 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 621 +++ 2

[PATCH v11 11/19] input: cyapa: add gen5 trackpad device firmware update function support

2014-11-19 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v11 10/19] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-11-19 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 58 1 file changed, 58 insertions(+) diff

[PATCH v11 07/19] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-11-19 Thread Dudley Du
. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 301 1 file changed, 301 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 64bb067..305dffe 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

[PATCH v11 09/19] input: cyapa: add gen3 trackpad device read baseline function support

2014-11-19 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71 insertions(+) diff --git

[PATCH v11 06/19] input: cyapa: add runtime power management interfaces supported for the device

2014-11-19 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 167

[PATCH v11 08/19] input: cyapa: add gen3 trackpad device firmware update function support

2014-11-19 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 284 +++ 1 file changed, 284 insertions(+) diff

[PATCH v11 01/19] input: cyapa: modify code to following kernel code style

2014-11-19 Thread Dudley Du
This patch modified the code to fix the patch check warning issue with latest checkpatch.sh tool, and also changed the return variable name from "ret" to "error" when there is only one error path to follow code style. TEST=test on Chromebooks. Signed-off-by: Dudley Du ---

[PATCH v11 03/19] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-11-19 Thread Dudley Du
functions that working with kernel and input subsystem, and also supplies the interfaces that the specific devices' component can connect and work together with as one driver. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile |3 +- drivers/input/mouse

[PATCH v11 05/19] input: cyapa: add power management interfaces supported for the device

2014-11-19 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 105

[PATCH v11 04/19] input: cyapa: add gen5 trackpad device basic functions support

2014-11-19 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse/cyapa_gen5.c | 1658

[PATCH v11 00/19] input: cyapa: instruction of cyapa patches

2014-11-19 Thread Dudley Du
V11 patches have below main updates compared with v10 patches: 1) Add add acpi device id supported for old gen3 and new gen5 trackpad devices. 2) Fix the unable to update firmware issue when cyapa_open is not called which means the irq for firwmare update process is not enabled. This fix by

[PATCH v11 02/19] input: cyapa: add device resource management infrastructure support

2014-11-19 Thread Dudley Du
. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 77 + 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index c35f398..06c94a3 100644 --- a/drivers/input/mouse/cyapa.c +++ b

[PATCH v11 02/19] input: cyapa: add device resource management infrastructure support

2014-11-19 Thread Dudley Du
. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 77 + 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index c35f398..06c94a3 100644 --- a/drivers

[PATCH v11 05/19] input: cyapa: add power management interfaces supported for the device

2014-11-19 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c

[PATCH v11 04/19] input: cyapa: add gen5 trackpad device basic functions support

2014-11-19 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse

[PATCH v11 00/19] input: cyapa: instruction of cyapa patches

2014-11-19 Thread Dudley Du
V11 patches have below main updates compared with v10 patches: 1) Add add acpi device id supported for old gen3 and new gen5 trackpad devices. 2) Fix the unable to update firmware issue when cyapa_open is not called which means the irq for firwmare update process is not enabled. This fix by

[PATCH v11 01/19] input: cyapa: modify code to following kernel code style

2014-11-19 Thread Dudley Du
This patch modified the code to fix the patch check warning issue with latest checkpatch.sh tool, and also changed the return variable name from ret to error when there is only one error path to follow code style. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com

[PATCH v11 03/19] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-11-19 Thread Dudley Du
functions that working with kernel and input subsystem, and also supplies the interfaces that the specific devices' component can connect and work together with as one driver. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Makefile |3

[PATCH v11 06/19] input: cyapa: add runtime power management interfaces supported for the device

2014-11-19 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input

[PATCH v11 08/19] input: cyapa: add gen3 trackpad device firmware update function support

2014-11-19 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 284 +++ 1 file changed

[PATCH v11 07/19] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-11-19 Thread Dudley Du
. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 301 1 file changed, 301 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 64bb067..305dffe 100644 --- a/drivers/input/mouse

[PATCH v11 09/19] input: cyapa: add gen3 trackpad device read baseline function support

2014-11-19 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71

[PATCH v11 10/19] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-11-19 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 58 1 file changed, 58

[PATCH v11 13/19] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-11-19 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

[PATCH v11 12/19] input: cyapa: add gen5 trackpad device read baseline function support

2014-11-19 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 621

[PATCH v11 11/19] input: cyapa: add gen5 trackpad device firmware update function support

2014-11-19 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v11 17/19] input: cyapa: add read sensors raw data debugfs interface support

2014-11-19 Thread Dudley Du
cause when there is performance gap happened. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 105 drivers/input/mouse/cyapa.h | 4 ++ 2 files changed, 109 insertions(+) diff --git

[PATCH v11 14/19] input: cyapa: add read firmware image debugfs interface support

2014-11-19 Thread Dudley Du
recovery. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 179 +++- drivers/input/mouse/cyapa.h | 10 +++ 2 files changed, 188 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c b

[PATCH v11 16/19] input: cyapa: add gen5 trackpad device read firmware image function support

2014-11-19 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen5.c | 155

[PATCH v11 19/19] input: cyapa: add acpi device id supported

2014-11-19 Thread Dudley Du
Add acpi device tree supported. acpi device id CYAP is for old gen3 trackpad devices. acpi device id CYAP0001 is for new gen5 trackpad devices. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[PATCH v11 18/19] input: cyapa: add gen5 trackpad device read raw data function support

2014-11-19 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138

[PATCH v11 15/19] input: cyapa: add gen3 trackpad device read firmware image function support

2014-11-19 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du dudley.duli...@gmail.com --- drivers/input/mouse/cyapa_gen3.c | 67 1 file changed

[PATCH v10 17/18] input: cyapa: add read sensors raw data debugfs interface support

2014-11-13 Thread Dudley Du
cause when there is performance gap happened. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 90 + drivers/input/mouse/cyapa.h | 4 ++ 2 files changed, 94 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b

[PATCH v10 18/18] input: cyapa: add gen5 trackpad device read raw data function support

2014-11-13 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138 insertions(+) diff --git

<    1   2   3   4   5   6   7   8   >