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

2015-01-15 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 | 184

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

2015-01-15 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 v18 00/12] input: cyapa: instruction of cyapa patches

2015-01-15 Thread Dudley Du
.: It will cause customer don't know which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one driver

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

2015-01-15 Thread Dudley Du
.: It will cause customer don't know which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one driver

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 640

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 391

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 59 1 file changed, 59

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 72 1 file changed, 72 insertions

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 309 +++ 1 file changed, 309

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13 insertions

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

2015-01-15 Thread Dudley Du
. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/cyapa.c | 310 1 file changed, 310 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 43fa0cb..5f9b24a 100644 --- a/drivers/input/mouse/cyapa.c

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 127

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

2015-01-15 Thread Dudley Du
the correct protocol to work with the attached trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/Makefile |2 +- drivers/input/mouse/cyapa.c | 13 + drivers/input/mouse/cyapa.h |1 + drivers/input/mouse/cyapa_gen5.c

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

2015-01-15 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 d...@cypress.com --- drivers/input/mouse/Kconfig | 10 - drivers

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

2015-01-13 Thread Dudley Du
Hi Dmitry, Jeremiah, Besides the the compile error, do you have any other comments on input cyapa v17 pathces? Thanks, Dudley > -Original Message- > From: Dudley Du > Sent: 2015年1月5日 9:57 > To: 'Jeremiah Mahler' > Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; bl

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

2015-01-13 Thread Dudley Du
Hi Dmitry, Jeremiah, Besides the the compile error, do you have any other comments on input cyapa v17 pathces? Thanks, Dudley -Original Message- From: Dudley Du Sent: 2015年1月5日 9:57 To: 'Jeremiah Mahler' Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; David

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

2015-01-04 Thread Dudley Du
c const struct dev_pm_ops cyapa_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(cyapa_suspend, cyapa_resume) SET_RUNTIME_PM_OPS(cyapa_runtime_suspend, cyapa_runtime_resume, NULL) }; Thanks, dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2015年1月1日 0:11 > To: Dudley Du > Cc

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

2015-01-04 Thread Dudley Du
(cyapa_suspend, cyapa_resume) SET_RUNTIME_PM_OPS(cyapa_runtime_suspend, cyapa_runtime_resume, NULL) }; Thanks, dudley -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2015年1月1日 0:11 To: Dudley Du Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com

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

2014-12-30 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 | 127

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

2014-12-30 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 | 180

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

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

2014-12-30 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 | 1678

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

2014-12-30 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 | 291 +++ 1 file changed, 291 insertions(+) diff

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

2014-12-30 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 | 72 1 file changed, 72 insertions(+) diff --git

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

2014-12-30 Thread Dudley Du
. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 302 1 file changed, 302 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 080b93f..e4d1a4d 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

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

2014-12-30 Thread Dudley Du
which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one driver input: cyapa: add

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

2014-12-30 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 | 390

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

2014-12-30 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 | 59 1 file changed, 59 insertions(+) diff

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

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

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

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

2014-12-30 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 | 640 +++ 2

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 640

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13 insertions

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 59 1 file changed, 59

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

2014-12-30 Thread Dudley Du
which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one driver input: cyapa: add

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 390

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

2014-12-30 Thread Dudley Du
. Signed-off-by: Dudley Du d...@cypress.com --- drivers/input/mouse/cyapa.c | 302 1 file changed, 302 insertions(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 080b93f..e4d1a4d 100644 --- a/drivers/input/mouse/cyapa.c

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 291 +++ 1 file changed, 291

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 72 1 file changed, 72 insertions

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

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

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/Makefile |3 +- drivers

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse

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

2014-12-30 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 127

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

2014-12-29 Thread Dudley Du
Dmitry, Thanks a lot for your review and detail comments. Please see my replies below. Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2014?12?30? 9:06 > To: Dudley Du > Cc: jmmah...@gmail.com; rydb...@e

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

2014-12-29 Thread Dudley Du
Dmitry, Thanks a lot for your review and detail comments. Please see my replies below. Thanks, Dudley -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2014?12?30? 9:06 To: Dudley Du Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com

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

2014-12-21 Thread Dudley Du
Got it. Thanks, Dmitry. Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2014?12?22? 10:40 > To: Dudley Du > Cc: Jeremiah Mahler; rydb...@euromail.se; ble...@google.com; David Solda; > linux-in...@vger.kernel.org; linux-kern

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

2014-12-21 Thread Dudley Du
apa, + NULL, NULL, NULL); goto out; } Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2014?12?20? 15:32 > To: Jeremiah Mahler; Dudley Du; rydb...@euromail

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

2014-12-21 Thread Dudley Du
out; } Thanks, Dudley -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2014?12?20? 15:32 To: Jeremiah Mahler; Dudley Du; rydb...@euromail.se; ble...@google.com; David Solda; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org

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

2014-12-21 Thread Dudley Du
Got it. Thanks, Dmitry. Dudley -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: 2014?12?22? 10:40 To: Dudley Du Cc: Jeremiah Mahler; rydb...@euromail.se; ble...@google.com; David Solda; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org

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

2014-12-18 Thread Dudley Du
Benson, Jeremiah, Thank you for the help and confirm. Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2014?12?19? 6:14 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; >

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

2014-12-18 Thread Dudley Du
Jeremiah, I re-sent the v16 patches through the new internal email server with my emal d...@cypress.com. Could you help check if all patches were fine and not broken. Thanks, Dudley > -Original Message- > From: Dudley Du [mailto:d...@cypress.com] > Sent: 2014?12?

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

2014-12-18 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 | 1677

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

2014-12-18 Thread Dudley Du
.: It will cause customer don't know which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one

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

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

2014-12-18 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 | 59 1 file changed, 59 insertions(+) diff

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

2014-12-18 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 v16 12/12] input: cyapa: add acpi device id support

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

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

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

2014-12-18 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 | 288 +++ 1 file changed, 288 insertions(+) diff

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

2014-12-18 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 | 72 1 file changed, 72 insertions(+) diff --git

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

2014-12-18 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 | 385

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

2014-12-18 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..406f38b 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input

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

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

2014-12-18 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 | 640 +++ 2

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

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

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 640

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 385

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

2014-12-18 Thread Dudley Du
. Signed-off-by: Dudley Du d...@cypress.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/cyapa.c

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 288 +++ 1 file changed, 288

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 72 1 file changed, 72 insertions

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 111

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 13 + 1 file changed, 13 insertions

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/cyapa_gen3.c | 59 1 file changed, 59

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

2014-12-18 Thread Dudley Du
.: It will cause customer don't know which one trackpad device firmware image to use and update when it has been used and integrated in same one productions, so here we support these two trackpad devices in same on driver. Dudley Du (12): input: cyapa: re-design driver to support multi-trackpad in one

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

2014-12-18 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 d...@cypress.com --- drivers/input/mouse/Makefile |3 +- drivers

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

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

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

2014-12-18 Thread Dudley Du
Jeremiah, I re-sent the v16 patches through the new internal email server with my emal d...@cypress.com. Could you help check if all patches were fine and not broken. Thanks, Dudley -Original Message- From: Dudley Du [mailto:d...@cypress.com] Sent: 2014?12?18? 18:01

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

2014-12-18 Thread Dudley Du
Benson, Jeremiah, Thank you for the help and confirm. Dudley -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2014?12?19? 6:14 To: Dudley Du Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; David Solda; linux-in...@vger.kernel.org

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; > Davi

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

[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 --- drivers/input/mouse/cyapa.c | 171

[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 --- 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/cyapa.c +++ b/drivers/input

[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 --- drivers/input/mouse/cyapa.c | 111

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

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

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; Dav

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

[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 --- 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 --- drivers/input/mouse/Kconfig | 1 + drivers/input/mouse/cyapa_gen5.c | 385

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

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

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

2014-12-17 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 v16 01/12] input: cyapa: re-design driver to support

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

<    1   2   3   4   5   6   7   8   >