Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71
Add force re-calibrate function supported for gen5 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 65
1 file changed, 65
Add acpi device tree supported.
acpi device id CYAP is for old gen3 trackpad devices.
acpi device id CYAP0001 is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
the correct protocol to work with the attached
trackpad device.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Makefile |2 +-
drivers/input/mouse/cyapa.c | 13 +
drivers/input/mouse/cyapa.h |1 +
drivers/input/mouse
V13 patches have below updates, details of other updates see history list:
1) Remove all debugfs interface, including read_fw and raw_data interfaces.
2) This patches are made based linux next-20141208.
This patch series is aimed to re-design the cyapa driver to support
old gen3 trackpad devices
?12?10? 12:10
To: Dudley Du
Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com;
David Solda; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: Re: [PATCH v13 00/12] input: cyapa: instruction of cyapa patches
Dudley, all,
On Tue, Dec 09, 2014 at 05:11:32PM
Dmitry,
Thank you very much for the effort.
I will re-post the series based on the your updated next branch when it ready.
Thanks,
Dudley
> -Original Message-
> From: dmitry.torok...@gmail.com [mailto:dmitry.torok...@gmail.com]
> Sent: 2014?12?5? 1:32
> To: Dudley Du
&g
> -Original Message-
> From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
> Sent: 2014年12月5日 1:47
> To: Dudley Du
> Cc: Dudley Du; rydb...@euromail.se; ble...@google.com;
> linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v9 15/
-Original Message-
From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
Sent: 2014年12月5日 1:47
To: Dudley Du
Cc: Dudley Du; rydb...@euromail.se; ble...@google.com;
linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: Re: [PATCH v9 15/18] input: cyapa: add gen3
Dmitry,
Thank you very much for the effort.
I will re-post the series based on the your updated next branch when it ready.
Thanks,
Dudley
-Original Message-
From: dmitry.torok...@gmail.com [mailto:dmitry.torok...@gmail.com]
Sent: 2014?12?5? 1:32
To: Dudley Du
Cc: Jeremiah Mahler
il.com]
> Sent: 2014?12?4? 12:58
> To: Dudley Du
> Cc: linux-kernel@vger.kernel.org; dmitry.torok...@gmail.com
> Subject: Re: [PATCH v12 01/19] input: cyapa: modify code to following kernel
> code
> style
>
> Dudley,
>
> On Wed, Dec 03, 2014 at 05:30:07PM +0800, Dudl
the correct protocol to work with the attached
trackpad device.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/Makefile |2 +-
drivers/input/mouse/cyapa.c | 13 +
drivers/input/mouse/cyapa.h |1 +
drivers/input/mouse/cyapa_gen5.c | 1659
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
Add acpi device tree supported.
acpi device id "CYAP" is for old gen3 trackpad devices.
acpi device id "CYAP0001" is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138 insertions(+)
diff --git
cause when there is performance gap happened.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 90 +
drivers/input/mouse/cyapa.h | 4 ++
2 files changed, 94 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b
Add read firmware image function supported for gen3 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 67
1 file changed, 67 insertions(+)
diff
Add read firmware image function supported for gen5 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.h | 1 +
drivers/input/mouse/cyapa_gen5.c | 155
Add firmware image update function supported for gen5 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/Kconfig | 2 +-
drivers/input/mouse/cyapa_gen5.c | 290
Add read baseline function supported for gen5 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.h | 2 +
drivers/input/mouse/cyapa_gen5.c | 621 +++
2
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
recovery.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 182 +++-
drivers/input/mouse/cyapa.h | 10 +++
2 files changed, 191 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse
.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 327
1 file changed, 327 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 59e197c..25b1a3e 100644
--- a/drivers/input/mouse/cyapa.c
+++ b/drivers/input
Add firmware image update function supported for gen3 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 284 +++
1 file changed, 284 insertions(+)
diff
Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71 insertions(+)
diff --git
Add force re-calibrate function supported for gen3 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 58
1 file changed, 58 insertions(+)
diff
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
Add runtime_suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the runtime power
management strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 167
.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 77 ++---
1 file changed, 44 insertions(+), 33 deletions(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index c9fdf6d..d8f1dfe 100644
--- a/drivers/input/mouse/cyapa.c
+++ b
This patch modified the code to fix the patch check warning issue with latest
checkpatch.sh tool, and also changed the return variable name from "ret" to
"error" when there is only one error path to follow code style.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
V12 patches have below main updates compared with v10 patches:
1) Add check that when TP is detected but not operational, do not exit driver
immediately, but wait and export the update_fw interface for recovering.
2) Re-arrange the function codes, remove unnesseary protype definitions in
the
V12 patches have below main updates compared with v10 patches:
1) Add check that when TP is detected but not operational, do not exit driver
immediately, but wait and export the update_fw interface for recovering.
2) Re-arrange the function codes, remove unnesseary protype definitions in
the
This patch modified the code to fix the patch check warning issue with latest
checkpatch.sh tool, and also changed the return variable name from ret to
error when there is only one error path to follow code style.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 77 ++---
1 file changed, 44 insertions(+), 33 deletions(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index c9fdf6d..d8f1dfe 100644
--- a/drivers
Add runtime_suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the runtime power
management strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input
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
Add force re-calibrate function supported for gen3 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 58
1 file changed, 58
Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71
.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 327
1 file changed, 327 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 59e197c..25b1a3e 100644
--- a/drivers/input/mouse
Add firmware image update function supported for gen3 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 284 +++
1 file changed
Add read baseline function supported for gen5 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 2 +
drivers/input/mouse/cyapa_gen5.c | 621
Add force re-calibrate function supported for gen5 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 65
1 file changed, 65
recovery.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 182 +++-
drivers/input/mouse/cyapa.h | 10 +++
2 files changed, 191 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/cyapa.c b
Add firmware image update function supported for gen5 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Kconfig | 2 +-
drivers/input/mouse/cyapa_gen5.c | 290
Add read firmware image function supported for gen5 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 1 +
drivers/input/mouse/cyapa_gen5.c | 155
Add read firmware image function supported for gen3 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 67
1 file changed
cause when there is performance gap happened.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 90 +
drivers/input/mouse/cyapa.h | 4 ++
2 files changed, 94 insertions(+)
diff --git
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138
Add acpi device tree supported.
acpi device id CYAP is for old gen3 trackpad devices.
acpi device id CYAP0001 is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
Add suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the power management
strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c
the correct protocol to work with the attached
trackpad device.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Makefile |2 +-
drivers/input/mouse/cyapa.c | 13 +
drivers/input/mouse/cyapa.h |1 +
drivers/input/mouse
]
Sent: 2014?12?4? 12:58
To: Dudley Du
Cc: linux-kernel@vger.kernel.org; dmitry.torok...@gmail.com
Subject: Re: [PATCH v12 01/19] input: cyapa: modify code to following kernel
code
style
Dudley,
On Wed, Dec 03, 2014 at 05:30:07PM +0800, Dudley Du wrote:
This patch modified the code to fix
age-
> From: Jeremiah Mahler [mailto:jmmah...@gmail.com]
> Sent: 2014?11?27? 4:03
> To: Dudley Du
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer
> C720
>
> Dudley,
>
> On Wed, Nov 26, 2014 at
-
From: Jeremiah Mahler [mailto:jmmah...@gmail.com]
Sent: 2014?11?27? 4:03
To: Dudley Du
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer
C720
Dudley,
On Wed, Nov 26, 2014 at 06:16:00AM +, Dudley Du wrote:
More info
More info: I did all testings based on kernel 3.14.0 on Acer C70.
Thanks,
Dudley
> -Original Message-
> From: Dudley Du
> Sent: 2014?11?26? 14:01
> To: 'Jeremiah Mahler'
> Cc: 'linux-kernel@vger.kernel.org'
> Subject: RE: [BUG] [PATCH] next: cyapa: fix inop touchpad af
More info: I did all testings based on kernel 3.14.0 on Acer C70.
Thanks,
Dudley
-Original Message-
From: Dudley Du
Sent: 2014?11?26? 14:01
To: 'Jeremiah Mahler'
Cc: 'linux-kernel@vger.kernel.org'
Subject: RE: [BUG] [PATCH] next: cyapa: fix inop touchpad after resume on Acer
C720
Jeremiah,
Thank you very much for your information.
I will look into this issue.
Could you send me the system log if possible when you encounter this issue.
Thanks
Dudley
> -Original Message-
> From: Jeremiah Mahler [mailto:jmmah...@gmail.com]
> Sent: 2014?11?21? 16:56
> T
Jeremiah,
Thank you very much for your information.
I will look into this issue.
Could you send me the system log if possible when you encounter this issue.
Thanks
Dudley
-Original Message-
From: Jeremiah Mahler [mailto:jmmah...@gmail.com]
Sent: 2014?11?21? 16:56
To: Dudley Du
Cc
Add read firmware image function supported for gen5 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.h | 1 +
drivers/input/mouse/cyapa_gen5.c | 155
Add acpi device tree supported.
acpi device id "CYAP" is for old gen3 trackpad devices.
acpi device id "CYAP0001" is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138 insertions(+)
diff --git
Add read firmware image function supported for gen3 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 67
1 file changed, 67 insertions(+)
diff
cause when there is performance gap happened.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 105
drivers/input/mouse/cyapa.h | 4 ++
2 files changed, 109 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c
recovery.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 179 +++-
drivers/input/mouse/cyapa.h | 10 +++
2 files changed, 188 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse
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
Add read baseline function supported for gen5 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.h | 2 +
drivers/input/mouse/cyapa_gen5.c | 621 +++
2
Add firmware image update function supported for gen5 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/Kconfig | 2 +-
drivers/input/mouse/cyapa_gen5.c | 290
Add force re-calibrate function supported for gen3 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 58
1 file changed, 58 insertions(+)
diff
.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 301
1 file changed, 301 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 64bb067..305dffe 100644
--- a/drivers/input/mouse/cyapa.c
+++ b/drivers/input
Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71 insertions(+)
diff --git
Add runtime_suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the runtime power
management strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 167
Add firmware image update function supported for gen3 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen3.c | 284 +++
1 file changed, 284 insertions(+)
diff
This patch modified the code to fix the patch check warning issue with latest
checkpatch.sh tool, and also changed the return variable name from "ret" to
"error" when there is only one error path to follow code style.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
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
Add suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the power management
strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 105
the correct protocol to work with the attached
trackpad device.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/Makefile |2 +-
drivers/input/mouse/cyapa.c | 13 +
drivers/input/mouse/cyapa.h |1 +
drivers/input/mouse/cyapa_gen5.c | 1658
V11 patches have below main updates compared with v10 patches:
1) Add add acpi device id supported for old gen3 and new gen5 trackpad devices.
2) Fix the unable to update firmware issue when cyapa_open is not called
which means the irq for firwmare update process is not enabled. This fix
by
.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 77 +
1 file changed, 43 insertions(+), 34 deletions(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index c35f398..06c94a3 100644
--- a/drivers/input/mouse/cyapa.c
+++ b
.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 77 +
1 file changed, 43 insertions(+), 34 deletions(-)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index c35f398..06c94a3 100644
--- a/drivers
Add suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the power management
strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c
the correct protocol to work with the attached
trackpad device.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Makefile |2 +-
drivers/input/mouse/cyapa.c | 13 +
drivers/input/mouse/cyapa.h |1 +
drivers/input/mouse
V11 patches have below main updates compared with v10 patches:
1) Add add acpi device id supported for old gen3 and new gen5 trackpad devices.
2) Fix the unable to update firmware issue when cyapa_open is not called
which means the irq for firwmare update process is not enabled. This fix
by
This patch modified the code to fix the patch check warning issue with latest
checkpatch.sh tool, and also changed the return variable name from ret to
error when there is only one error path to follow code style.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
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
Add runtime_suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the runtime power
management strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input
Add firmware image update function supported for gen3 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 284 +++
1 file changed
.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 301
1 file changed, 301 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 64bb067..305dffe 100644
--- a/drivers/input/mouse
Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71
Add force re-calibrate function supported for gen3 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 58
1 file changed, 58
Add force re-calibrate function supported for gen5 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 65
1 file changed, 65
Add read baseline function supported for gen5 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 2 +
drivers/input/mouse/cyapa_gen5.c | 621
Add firmware image update function supported for gen5 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Kconfig | 2 +-
drivers/input/mouse/cyapa_gen5.c | 290
cause when there is performance gap happened.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 105
drivers/input/mouse/cyapa.h | 4 ++
2 files changed, 109 insertions(+)
diff --git
recovery.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 179 +++-
drivers/input/mouse/cyapa.h | 10 +++
2 files changed, 188 insertions(+), 1 deletion(-)
diff --git a/drivers/input/mouse/cyapa.c b
Add read firmware image function supported for gen5 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 1 +
drivers/input/mouse/cyapa_gen5.c | 155
Add acpi device tree supported.
acpi device id CYAP is for old gen3 trackpad devices.
acpi device id CYAP0001 is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138
Add read firmware image function supported for gen3 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 67
1 file changed
cause when there is performance gap happened.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa.c | 90 +
drivers/input/mouse/cyapa.h | 4 ++
2 files changed, 94 insertions(+)
diff --git a/drivers/input/mouse/cyapa.c b
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138 insertions(+)
diff --git
301 - 400 of 766 matches
Mail list logo