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

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

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

2015-10-12 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 <dmitry.torok...@gmail.com> Reviewed-by: Sudip Mukherjee <sudipm.mukher...@gmail.com> Signed-off-by:

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,

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

[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 <d...@cypress.com> --- Documentation/devicetree/bindings/input/cypress,cyapa.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

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.kernel.org; linux

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

[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): input: cyapa: add

[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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 28 drivers/input/mouse/cyapa.h | 1 + 2 files changed, 29 insertions(+) diff

[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 d...@cypress.com --- .../devicetree/bindings/input/cypress,cyapa.txt| 44

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

[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): input: cyapa: add

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 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...@euromail.se; ble

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-in...@vger.kernel.org; linux

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

2015-06-25 Thread Dudley Du
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 proximity function support for gen5 and gen6 modules

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

2015-06-25 Thread Dudley Du
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 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
-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 deletions(-) diff --git

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

[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

[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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 79 +++- drivers/input

[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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 19

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

[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

[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 d...@cypress.com --- 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

[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 d...@cypress.com --- .../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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 101 +++ drivers/input/mouse/cyapa.h | 4 ++ drivers/input

[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
-by: Dudley Du d...@cypress.com --- 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 deletions

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

2015-06-14 Thread Dudley Du
13? 14: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 device su

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.k

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.kernel.org; linux

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

2015-06-14 Thread Dudley Du
Jeremiah, Thanks for the review. I made the patch based on dtor-next's code based. I will make the next v1 patches based on the linux-next to avoid this problem. Thanks, Dudley -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2015?6?13? 11:54 To: Dudley Du

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

2015-06-14 Thread Dudley Du
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 module support in driver Dudley

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

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

[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 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 d...@cypress.com

[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 d...@cypress.com --- .../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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 79 +++- drivers/input

[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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 19

[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 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 d...@cypress.com --- 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

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

[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 d...@cypress.com

[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 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 d...@cypress.com --- drivers/input/mouse/cyapa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input

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

2015-03-01 Thread Dudley Du
vious 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/input/mouse/cyapa_gen3.c

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] 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 Uytterhoeven Subject

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

2015-03-01 Thread Dudley Du
definition of 'get_unaligned_le16' was here. Reported-by: kbuild test robot kbuild-...@01.org Signed-off-by: Dudley Du d...@cypress.com --- 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/input

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

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.kernel.org Subject: Re: [PATCH 1

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 Subject: Re: [PATCH 1/2

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

[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 d...@cypress.com --- drivers/input/mouse/cyapa_gen5.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa_gen5.c b

[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 d...@cypress.com --- drivers/input/mouse/cyapa_gen5.c | 80 1 file changed, 41 insertions(+), 39 deletions(-) diff --git

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

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...@euromail.se; ble...@google.com

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: [PATCH v18 01/12] input: cyapa

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: [PATCH v18 04/12] input: cyapa

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: [PATCH v18 12/12] input: cyapa

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.org; linux-kernel

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: [PATCH v18 09/12] input: cyapa

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

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

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

[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

[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

  1   2   3   4   5   6   7   8   >