[PATCH v16 10/12] input: cyapa: add gen5 trackpad device read baseline

2014-12-17 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 | 640

[PATCH v16 12/12] input: cyapa: add acpi device id support

2014-12-17 Thread Dudley Du
Add acpi device tree support. 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 v16 09/12] input: cyapa: add gen5 trackpad device firmware update

2014-12-17 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 | 1 + drivers/input/mouse/cyapa_gen5.c | 385

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

2014-12-17 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 v16 11/12] input: cyapa: add gen5 trackpad device force

2014-12-17 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 v16 07/12] input: cyapa: add gen3 trackpad device read baseline

2014-12-17 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 | 72 1 file changed, 72

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

2014-12-17 Thread Dudley Du
...@outlook.com instead to send these patches manually. Thanks, Dudley -Original Message- From: Dudley Du [mailto:du...@outlook.com] Sent: 2014年12月17日 17:55 To: dmitry.torok...@gmail.com; jmmah...@gmail.com; rydb...@euromail.se Cc: ble...@google.com; David Solda; linux

[PATCH v16 04/12] input: cyapa: add runtime power management interfaces

2014-12-17 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 v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-17 Thread Dudley Du
V16 patches have below updates, details of other updates see history list: 1) Fix all miss-spelling and space issue. 2) Rename variables and functions with much more clearer names. 3) Initialize and document tries near where it will be used. 4) Modify cmd buffer to struct for more descriptive way.

[PATCH v16 05/12] input: cyapa: add sysfs interfaces support in the cyapa

2014-12-17 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 3bcfce3..406f38b 100644 --- a/drivers/input/mouse

[PATCH v16 03/12] input: cyapa: add power management interfaces support

2014-12-17 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 v16 08/12] input: cyapa: add gen3 trackpad device force

2014-12-17 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 | 59 1 file changed, 59

[PATCH v16 06/12] input: cyapa: add gen3 trackpad device firmware update

2014-12-17 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 | 288 +++ 1 file changed

RE: [PATCH v16 01/12] input: cyapa: re-design driver to support

2014-12-17 Thread Dudley Du
-Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2014?12?17? 23:05 To: DuDudley Cc: Dudley Du; dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; David Solda Subject: Re: [PATCH

RE: [PATCH v15 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-16 Thread Dudley Du
> -Original Message- > From: linux-input-ow...@vger.kernel.org > [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Benson Leung > Sent: 2014年12月17日 4:25 > To: Jeremiah Mahler; Dudley Du; Dmitry Torokhov; Henrik Rydberg; Benson Leung; > linux-in...@vger.kernel

RE: [PATCH v15 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-16 Thread Dudley Du
-Original Message- From: linux-input-ow...@vger.kernel.org [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Benson Leung Sent: 2014年12月17日 4:25 To: Jeremiah Mahler; Dudley Du; Dmitry Torokhov; Henrik Rydberg; Benson Leung; linux-in...@vger.kernel.org; linux-kernel

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

2014-12-15 Thread Dudley Du
On Behalf Of Jeremiah Mahler > Sent: 2014?12?15? 22: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 v15 00/12] input: cyapa: instruction of cyapa patche

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

2014-12-15 Thread Dudley Du
Mahler Sent: 2014?12?15? 22: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 v15 00/12] input: cyapa: instruction of cyapa patches Dudley, On Mon, Dec 15, 2014

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

2014-12-14 Thread Dudley Du
On Behalf Of Dudley Du > Sent: 2014?12?15? 14:23 > To: dmitry.torok...@gmail.com; rydb...@euromail.se > Cc: Dudley Du; ble...@google.com; David Solda; linux-in...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [PATCH v15 00/12] input: cyapa: instruction of cyapa patches &g

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

2014-12-14 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 v15 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-14 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 v15 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-14 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 v15 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-14 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 v15 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-14 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 v15 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-14 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 | 1 + drivers/input/mouse/cyapa_gen5.c | 292

[PATCH v15 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-14 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 | 171

[PATCH v15 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-14 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 v15 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-14 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 3bcfce3..dac3996 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

[PATCH v15 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-14 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 v15 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-14 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 | 1660

[PATCH v15 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-14 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 v15 00/12] input: cyapa: instruction of cyapa patches

2014-12-14 Thread Dudley Du
V15 patches have below updates, details of other updates see history list: 1) Fix all warning errors of sparse tool when running with "make C=1". 2) Change variable name "unique_str" to "product_id" for clearer meanings. This patch series is aimed to re-design the cyapa driver to support old

RE: [PATCH v14 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-14 Thread Dudley Du
Thanks for your remove and comments. Dudley > -Original Message- > From: linux-input-ow...@vger.kernel.org > [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Jeremiah Mahler > Sent: 2014?12?13? 19:16 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; rydb..

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

2014-12-14 Thread Dudley Du
Jeremiah Mahler > Sent: 2014?12?13? 18:18 > To: Dudley Du > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v14 00/12] input: cyapa: instruction of cyapa patches > > Dudley, > > On Fri, Dec 12, 2014 at 10:27:30AM +0800, Dudley Du wrote: &

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

2014-12-14 Thread Dudley Du
Sent: 2014?12?13? 18:18 To: Dudley Du Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v14 00/12] input: cyapa: instruction of cyapa patches Dudley, On Fri, Dec 12, 2014 at 10:27:30AM +0800, Dudley Du wrote: V14 patches have below updates, details of other

RE: [PATCH v14 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-14 Thread Dudley Du
Thanks for your remove and comments. Dudley -Original Message- From: linux-input-ow...@vger.kernel.org [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of Jeremiah Mahler Sent: 2014?12?13? 19:16 To: Dudley Du Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com

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

2014-12-14 Thread Dudley Du
V15 patches have below updates, details of other updates see history list: 1) Fix all warning errors of sparse tool when running with make C=1. 2) Change variable name unique_str to product_id for clearer meanings. This patch series is aimed to re-design the cyapa driver to support old gen3

[PATCH v15 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-14 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 v15 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-14 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 v15 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-14 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 v15 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-14 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 3bcfce3..dac3996 100644 --- a/drivers/input/mouse

[PATCH v15 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-14 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 v15 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-14 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 v15 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-14 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 v15 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-14 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 | 1 + drivers/input/mouse/cyapa_gen5.c | 292

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

2014-12-14 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 v15 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-14 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 v15 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-14 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 v15 12/12] input: cyapa: add acpi device id supported

2014-12-14 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

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

2014-12-14 Thread Dudley Du
Of Dudley Du Sent: 2014?12?15? 14:23 To: dmitry.torok...@gmail.com; rydb...@euromail.se Cc: Dudley Du; ble...@google.com; David Solda; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [PATCH v15 00/12] input: cyapa: instruction of cyapa patches V15 patches have below updates

[PATCH v14 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-11 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 v14 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-11 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 v14 12/12] input: cyapa: add acpi device id supported

2014-12-11 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 v14 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-11 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 v14 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-11 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 | 1 + drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v14 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-11 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 | 171

[PATCH v14 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-11 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 v14 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-11 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 v14 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-11 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 f19754c..ff8cd9b 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

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

2014-12-11 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 | 1660

[PATCH v14 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-11 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 v14 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-11 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 v14 00/12] input: cyapa: instruction of cyapa patches

2014-12-11 Thread Dudley Du
V14 patches have below updates, details of other updates see history list: 1) Correct 9 miss spelling issues of "bufferred" to "buffered". 2) Fix the upgrade issue of removing MOUSE_CYAPA config when make oldconfig by replase "depends on I2C && CRC_ITU_T" with "depends on I2C"

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

2014-12-11 Thread Dudley Du
V14 patches have below updates, details of other updates see history list: 1) Correct 9 miss spelling issues of bufferred to buffered. 2) Fix the upgrade issue of removing MOUSE_CYAPA config when make oldconfig by replase depends on I2C CRC_ITU_T with depends on I2C select

[PATCH v14 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-11 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 v14 02/12] input: cyapa: add gen5 trackpad device basic functions support

2014-12-11 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 v14 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-11 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 v14 07/12] input: cyapa: add gen3 trackpad device read baseline function support

2014-12-11 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 v14 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-11 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 f19754c..ff8cd9b 100644 --- a/drivers/input/mouse

[PATCH v14 08/12] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-12-11 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 v14 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-11 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 v14 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-11 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 | 1 + drivers/input/mouse/cyapa_gen5.c | 290

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

2014-12-11 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 v14 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-11 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 v14 11/12] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-12-11 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 v14 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-11 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

RE: [PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-10 Thread Dudley Du
ernel.org] On Behalf Of Jeremiah Mahler > Sent: 2014?12?10? 16:55 > To: Dudley Du > Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org > Subject: Re: [PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware > update function support > > Dudley, > > On T

RE: [PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-10 Thread Dudley Du
] On Behalf Of Jeremiah Mahler Sent: 2014?12?10? 16:55 To: Dudley Du Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org Subject: Re: [PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support Dudley, On Tue, Dec 09, 2014 at 07:33:03PM -0800, Jeremiah

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

2014-12-09 Thread Dudley Du
er > Sent: 2014?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,

[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

[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 --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse/cyapa_gen5.c | 1660

[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 --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13

[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 --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff

[PATCH v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-09 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 v13 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-09 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 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 --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71 insertions(+) diff --git

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

2014-12-09 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 v13 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-09 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 v13 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-09 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 v13 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-09 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 v13 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-09 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 f19754c..ff8cd9b 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

[PATCH v13 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-09 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 | 171

[PATCH v13 04/12] input: cyapa: add runtime power management interfaces supported for the device

2014-12-09 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 v13 03/12] input: cyapa: add power management interfaces supported for the device

2014-12-09 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 v13 01/12] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-12-09 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 v13 06/12] input: cyapa: add gen3 trackpad device firmware update function support

2014-12-09 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 v13 05/12] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-12-09 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 f19754c..ff8cd9b 100644 --- a/drivers/input/mouse

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

2014-12-09 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 v13 09/12] input: cyapa: add gen5 trackpad device firmware update function support

2014-12-09 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 v13 10/12] input: cyapa: add gen5 trackpad device read baseline function support

2014-12-09 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

<    1   2   3   4   5   6   7   8   >