RE: [PATCH] input: cyapa: fix the report events may lost issue during set power mode

2016-03-02 Thread Dudley Du
Hi Dmitry, Is there any update on this patch? Looking forward to your response. Thanks, Dudley > -Original Message- > From: Dudley Du [mailto:d...@cypress.com] > Sent: 2016?1?14? 13:41 > To: dmitry.torok...@gmail.com; eugene...@gmail.com > Cc: Dudley Du; ble...@go

RE: [PATCH] input: cyapa: fix the report events may lost issue during set power mode

2016-02-22 Thread Dudley Du
Hi Dmitry, Is there any update on this patch? Thanks, Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2016?1?15? 13:34 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; eugene...@gmail.com; ble...@google.com; > linux-in...@vger

[PATCH] input: cyapa: fix the copy paste error on electrodes_rx value

2015-10-11 Thread Dudley Du
Fix the copy paste error on the electrodes_rx value set code which will cause the electrodes_rx value be always set to the value of electrodes_y. Reviewed-by: Dmitry Torokhov Reviewed-by: Sudip Mukherjee Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen6.c | 8 +++- 1 file

RE: [PATCH] Input: cyapa: remove variable overwriting

2015-10-11 Thread Dudley Du
> -Original Message- > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Sent: 2015?9?29? 14:48 > To: Dmitry Torokhov > Cc: Dudley Du; lkml; linux-in...@vger.kernel.org > Subject: Re: [PATCH] Input: cyapa: remove variable overwriting > > On Mon, Sep 28,

[PATCH] Documentation: cypress,cyapa.txt: correct the I2C address of Gen3 touchpads to 0x67

2015-09-17 Thread Dudley Du
All of the Gen3 touchpads are fixed with I2C address 0x67, so correct the reg value description from 0x24 to 0x67. Signed-off-by: Dudley Du --- Documentation/devicetree/bindings/input/cypress,cyapa.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree

RE: [PATCH 1/3] input: cyapa: add regulator vcc support

2015-07-30 Thread Dudley Du
Dmitry, Thank your very much. Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?7?31? 2:33 > To: Dudley Du > Cc: mark.rutl...@arm.com; robh...@kernel.org; ble...@google.com; > jmmah...@gmail.com; devicet...@vger

[PATCH 2/3] input: cyapa: add of match device support and description document

2015-07-23 Thread Dudley Du
Add of_match_device mechanism support for Cypress trackpad device, and add the sample description document on how to adding the trackpad device node in the device tree. Signed-off-by: Dudley Du --- .../devicetree/bindings/input/cypress,cyapa.txt| 44 ++ .../devicetree

[PATCH 1/3] input: cyapa: add regulator vcc support

2015-07-23 Thread Dudley Du
Add power management regulator vcc support. It's described to be supported in the cypress,cyapa.txt document. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 28 drivers/input/mouse/cyapa.h | 1 + 2 files changed, 29 insertions(+) diff --git a/dr

[PATCH 3/3] input: cyapa: fix output unwanted warning issue

2015-07-23 Thread Dudley Du
Avoid the driver generate warning message when the cyapa driver working with the old Gen5 trackpad device which does not support the proximity function. Those old Gen5 trackpad device all have the platform version less than 2. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 11

[PATCH 0/3] cyapa patches instruction

2015-07-23 Thread Dudley Du
These patches are made based on Dmitry's next tree. It's aimed to add regulator vcc and of match device tree supported, and also fix the output unwanted wanring message issue when working with old Gen5 Trackpad device that doesn't support the proximity function. Dudley Du (3): in

RE: [PATCH v1 6/7] input: cyapa: add of match device support and description document

2015-07-20 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?7?21? 8:15 > To: Dudley Du > Cc: mark.rutl...@arm.com; robh...@kernel.org; rydb...@euromail.se; > ble...@google.com; jmmah...@gmail.com; devicet...@vger.kernel.org; > linux-

RE: [PATCH v1 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-07-20 Thread Dudley Du
Dmitry, Yes, It cannot report the distance per-contact. Thanks for the update. Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?7?21? 8:07 > To: Dudley Du > Cc: mark.rutl...@arm.com; robh...@kernel.org; rydb

RE: [PATCH v1 0/7] input: cyapa: instruction of cyapa patches.patch

2015-06-25 Thread Dudley Du
report proximity data/vent for Gen5 and Gen6 trackpad devices. Dudley Du (7): input: cyapa: change strings of gen5 to pip in the name when they are shared input: cyapa: add gen6 device module support in driver input: cyapa: add proximity function support for gen5 and gen6 modules

[PATCH v1 1/7] input: cyapa: change strings of gen5 to pip in the name when they are shared

2015-06-15 Thread Dudley Du
book. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 34 +- drivers/input/mouse/cyapa.h | 136 - drivers/input/mouse/cyapa_gen3.c |4 +- drivers/input/mouse/cyapa_gen5.c | 1103 ++ 4 files changed, 673 insertions(+), 604 deleti

[PATCH v1 7/7] input: cyapa: add CYAP0002 Gen6 device for ACPI configuration

2015-06-15 Thread Dudley Du
Add CYTP0002 name for Gen6 device for ACPI configuration TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 7b6d6d4..7f674aa 100644 --- a/drivers

[PATCH v1 6/7] input: cyapa: add of match device support and description document

2015-06-15 Thread Dudley Du
Add of_match_device mechanism support for Cypress trackpad device, and add the sample description document of adding the trackpad device node in device tree. TEST=test on Chromebook. Signed-off-by: Dudley Du --- .../devicetree/bindings/input/cypress,cyapa.txt| 44

[PATCH v1 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-15 Thread Dudley Du
processing to re-initialize the trackpad device. It would be helpful in firmware debugging. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 101 +++ drivers/input/mouse/cyapa.h | 4 ++ drivers/input/mouse/cyapa_gen3.c

[PATCH v1 2/7] input: cyapa: add gen6 device module support in driver

2015-06-15 Thread Dudley Du
then set the correct protocol to work with the attached trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile | 2 +- drivers/input/mouse/cyapa.c | 22 ++ drivers/input/mouse/cyapa.h | 15 + drivers/input/mouse/cyapa_gen5.c

[PATCH v1 4/7] input: cyapa: fully support runtime suspend power management

2015-06-15 Thread Dudley Du
Fix the the runtime suspend power management not working issue when system starts up and before user touches the trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 79 +++- drivers/input/mouse/cyapa.h

[PATCH v1 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-06-15 Thread Dudley Du
Gen5 and Gen6 trackpad devices are able to detect and report object proximity data/events, add this function support in the cyapa driver through the MTB protocol ABS_MT_DISTANCE event. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 19

[PATCH v1 0/7] instruction of cyapa gen6 and proximity patches

2015-06-15 Thread Dudley Du
detail description of the new interrupt and proximity interfaces in patch v1 5/7. This patch series is mainly aimed to add new gen6 trackpad devices support, and also new function to report proximity data/vent for Gen5 and Gen6 trackpad devices. Dudley Du (7): input: cyapa: change strings of

RE: [PATCH 2/7] input: cyapa: add gen6 device module support in driver

2015-06-14 Thread Dudley Du
4:57 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; mark.rutl...@arm.com; robh...@kernel.org; > rydb...@euromail.se; ble...@google.com; devicet...@vger.kernel.org; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/7] input: cyapa: add gen6 device mod

RE: [PATCH 6/7] input: cyapa: add of match device support and description document

2015-06-14 Thread Dudley Du
13? 11:54 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; mark.rutl...@arm.com; robh...@kernel.org; > rydb...@euromail.se; ble...@google.com; devicet...@vger.kernel.org; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 6/7] input: cyapa: add of match devi

RE: [PATCH 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-14 Thread Dudley Du
. Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?6?12? 19:10 > To: Dudley Du > Cc: mark.rutl...@arm.com; robh...@kernel.org; rydb...@euromail.se; > ble...@google.com; jmmah...@gmail.com; devicet...@vger.kern

[PATCH 6/7] input: cyapa: add of match device support and description document

2015-06-12 Thread Dudley Du
Add of_match_device machanism support for Cypress trackpad device, and add the sample description document of adding the trackpad device node in DT. TEST=test on Chromebook. Signed-off-by: Dudley Du --- .../devicetree/bindings/input/cypress,cyapa.txt| 44

[PATCH 4/7] input: cyapa: fully support runtime suspend power management

2015-06-12 Thread Dudley Du
Fix the the runtime suspend power management not working issue when system starts up and before user touches the trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 79 +++- drivers/input/mouse/cyapa.h

[PATCH 1/7] input: cyapa: change strings of gen5 to pip in the name when they are shared

2015-06-12 Thread Dudley Du
Change strings 'gen5' to 'pip' for all macros, varibales and functions when they are shared to be used in for gen5 and gen6 modules. The change of these strings is aimed to keep name definition much more clear and readable. TEST=test on Chromebook. Signed-off-by: Dudley Du

[PATCH 7/7] input: cyapa: add CYAP0002 Gen6 device for ACPI configuration

2015-06-12 Thread Dudley Du
Add CYTP0002 name for Gen6 device for ACPI configuration TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index 7e7613f..24302d6 100644 --- a/drivers

[PATCH 2/7] input: cyapa: add gen6 device module support in driver

2015-06-12 Thread Dudley Du
then set the correct protocol to work with the attached trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/Makefile | 2 +- drivers/input/mouse/cyapa.c | 22 ++ drivers/input/mouse/cyapa.h | 15 + drivers/input/mouse/cyapa_gen5.c

[PATCH 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-12 Thread Dudley Du
Add proximity and interrupt control interfaces in sysfs device node. The proximity interface is used to disable/enable proximity function in device. The interrupt interface is used to disbale/enable interrupt from device. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse

[PATCH 0/7] instruction of cyapa gen6 and proximity patches

2015-06-12 Thread Dudley Du
gen6 trackpad devices support, and also new function to report proximity data/vent for Gen5 and Gen6 trackpad devices. Dudley Du (7): input: cyapa: change strings of gen5 to pip in the name when they are shared input: cyapa: add gen6 device module support in driver input: cyapa: add

[PATCH 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-06-12 Thread Dudley Du
Gen5 and Gen6 trackpad devices are able to detect and report object proximity data/events, add this function support in the cyapa driver through the MTB protocl ABS_MT_DISTANCE event. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 19

[PATCH] input: cyapa: fix update suspend scanrate set to max 1000 issue

2015-04-19 Thread Dudley Du
Fix update suspend scareate always set to max 1000 issue, the root cause is the missed using max_t as min_t. TEST=test on Chromebook. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/cyapa.c b

[PATCH] input: cyapa: fix unaligned functions redefinition error

2015-03-01 Thread Dudley Du
note: previous definition of 'get_unaligned_le16' was here". Reported-by: kbuild test robot Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 2 +- drivers/input/mouse/cyapa_gen5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/inpu

RE: [PATCH] Input: cyapa - Remove superfluous type check in cyapa_gen5_read_idac_data()

2015-03-01 Thread Dudley Du
Thanks for the check. This fix is verified okay. Dudley > -Original Message- > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > Sent: 2015年2月12日 22:16 > To: Dmitry Torokhov; Dudley Du > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Geert > Uytt

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: 2015?1?22? 17:55 > To: Jeremiah Mahler; Dudley Du; dmitry.torok...@gmail.com; > rydb...@euromail.se; ble...@google.com; linux-in...@vger.kernel.org; > linux-kernel@vger.kernel.org >

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
> -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2015?1?22? 17:31 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; > dan.carpen...@oracle.com; linux-in...@vger.kernel.org; > linux-kernel@vger.ker

[PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-21 Thread Dudley Du
Fixes the sparse warning issue of the incorrect type in assignment which found by the kbuild test robot. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 80 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/drivers/input

[PATCH 2/2] input: cyapa: fix variable dereferenced before check 'gen5_pip->resp_len' issue

2015-01-21 Thread Dudley Du
Fixes the warning issue of the variable dereferenced before check 'gen5_pip->resp_len' report by dan Carpenter. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa_gen5.c b/

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

2015-01-18 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?1?18? 16:27 > To: Dudley Du > Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [P

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

2015-01-18 Thread Dudley Du
Dmitry, Thank you very much. Thanks, Dudley > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?1?18? 16:35 > To: Jeremiah Mahler; Dudley Du; rydb...@euromail.se; ble...@google.com; > David Solda; linux-in...@vger.kernel.or

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

2015-01-18 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?1?18? 16:28 > To: Dudley Du > Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [P

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

2015-01-18 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?1?18? 16:32 > To: Dudley Du > Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [P

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

2015-01-18 Thread Dudley Du
Jeremiah, Thanks. If there is something that I could do, please let me know. Thanks, Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2015?1?18? 6:46 > To: David Solda > Cc: Dudley Du; dmitry.torok...@gmail.com; rydb...@eur

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

2015-01-18 Thread Dudley Du
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 2015?1?19? 8:27 > To: Dudley Du > Cc: jmmah...@gmail.com; rydb...@euromail.se; ble...@google.com; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [P

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

2015-01-15 Thread Dudley Du
n set 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 |

[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 --- drivers/input/mouse/Kconfig | 10 - drivers/input/

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

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

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

2015-01-15 Thread Dudley Du
hromebooks. Signed-off-by: Dudley Du --- 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 +++ b/dri

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

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

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

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

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

[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

[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
dates. e.g.: 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 mul

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...@eurom

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

2015-01-04 Thread Dudley Du
static 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 &g

[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

[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

[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/

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

2014-12-30 Thread Dudley Du
n set 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 |

[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 a

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

2014-12-30 Thread Dudley Du
hromebooks. 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/dri

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

2014-12-30 Thread Dudley Du
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 in

[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

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 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
ta(cyapa, + 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...@eur

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

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? 1

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

2014-12-18 Thread Dudley Du
n set 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 |

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

2014-12-18 Thread Dudley Du
. e.g.: 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-

[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/

[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

[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 a

[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
hromebooks. 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/dri

[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

[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/

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

[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
hromebooks. 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/dri

[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

[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 a

  1   2   3   4   >