Add report baseline and force calibrate functions supported for gen3
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen3.c
Add read firmware image function supported for gen3 trackpad device,
which its function is supplied through cyapa core read_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c
index
Add firmware image update function supported for gen5 trackpad device,
which its function is supplied through cyapa core update_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index
Add report baseline and force calibrate functions supported for gen5
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen5.c
Add read firmware image function supported for gen5 trackpad device,
which its function is supplied through cyapa core read_fw interface.
Through this interface, upper layer application can read out, check
and backup the firmware image in trackpad device before updated
with new one when new
Add the function to monitor lid close event to suspend and resume
trackpad device.
Because system suspend takes some time to trigger from user space,
and in that time, the lid panel of the laptop may couple with the
active trackpad. This may generate stray input events, which may
in turn cancel
Hi All,
Sorry for the disturb again.
The 14 caypa V2 patches I re-sent through 14:41 to 14:45 at 2014/6/30 still
have some of them corrupted by the mail server.
Please ignore them. I will try to fix them.
Thanks,
Dudley
This message and any attachments may contain Cypress (or its subsidiaries)
Hi Patrik,
Thanks for your patient and detail instructions.
I will try to fix these issues and resubmit again.
Thanks,
Dudley
-Original Message-
From: Patrik Fimml [mailto:patr...@chromium.org]
Sent: Tuesday, July 01, 2014 4:00 AM
To: Dudley Du
Cc: Dmitry Torokhov; Rafael J
Add key basic function interfaces in cyapa driver in sysfs system,
these interfaces are commonly used in pre- and after production, and
for trackpad device state checking, manage and firmware image updating.
These interfaces including firmware_version and product_id interfaces
for reading firmware
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 Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c
Add firmware image update function supported for gen5 trackpad device,
which its function is supplied through cyapa core update_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index 6b8441f..e484569
Add read firmware image function supported for gen3 trackpad device,
which its function is supplied through cyapa core read_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c
index 9ffdbc1..e903e62
Add read_fw and raw_data debugfs interfaces for easier issues location
and collection when report by user.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 3b80de6..b5dc9f9 100644
--- a/drivers/input/mouse/cyapa.c
Add read firmware image function supported for gen5 trackpad device,
which its function is supplied through cyapa core read_fw interface.
Through this interface, upper layer application can read out, check
and backup the firmware image in trackpad device before updated
with new one when new
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 Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git
Add the function to monitor lid close event to suspend and resume
trackpad device.
Because system suspend takes some time to trigger from user space,
and in that time, the lid panel of the laptop may couple with the
active trackpad. This may generate stray input events, which may
in turn cancel
Add report baseline and force calibrate functions supported for gen5
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa_gen5.c
ouse/cyapa_gen3.c
new file mode 100644
index 000..5345a9e
--- /dev/null
+++ b/drivers/input/mouse/cyapa_gen3.c
@@ -0,0 +1,734 @@
+/*
+ * Cypress APA trackpad with I2C interface
+ *
+ * Author: Dudley Du
+ * Further cleanup and restructuring by:
+ * Daniel Kurtz
+ * Benson Leung
+ *
+
Add report baseline and force calibrate functions supported for gen3
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa_gen3.c
Add firmware image update function supported for gen3 trackpad device,
which its function is supplied through cyapa core update_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c
index
This patch set is made based on kernel 3.15.0-rc8.
It's aimed to re-architecture the cyapa driver to support
old gen3 trackpad device and new gen5 trackpad device in one
cyapa driver for easily productions support based on
customers' requirements, and add sysfs functions and interfaces
supported
This patch set is made based on kernel 3.15.0-rc8.
It's aimed to re-architecture the cyapa driver to support
old gen3 trackpad device and new gen5 trackpad device in one
cyapa driver for easily productions support based on
customers' requirements, and add sysfs functions and interfaces
supported
Add report baseline and force calibrate functions supported for gen3
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen3.c
Add firmware image update function supported for gen3 trackpad device,
which its function is supplied through cyapa core update_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c
/mouse/cyapa_gen3.c
@@ -0,0 +1,734 @@
+/*
+ * Cypress APA trackpad with I2C interface
+ *
+ * Author: Dudley Du d...@cypress.com
+ * Further cleanup and restructuring by:
+ * Daniel Kurtz djku...@chromium.org
+ * Benson Leung ble...@chromium.org
+ *
+ * Copyright (C) 2011-2012 Cypress
Add the function to monitor lid close event to suspend and resume
trackpad device.
Because system suspend takes some time to trigger from user space,
and in that time, the lid panel of the laptop may couple with the
active trackpad. This may generate stray input events, which may
in turn cancel
Add report baseline and force calibrate functions supported for gen5
trackpad device, which these functions are supplied through
cyapa core baseline and calibrate interfaces.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen5.c
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 Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git
Add read firmware image function supported for gen5 trackpad device,
which its function is supplied through cyapa core read_fw interface.
Through this interface, upper layer application can read out, check
and backup the firmware image in trackpad device before updated
with new one when new
Add read_fw and raw_data debugfs interfaces for easier issues location
and collection when report by user.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index 3b80de6..b5dc9f9 100644
---
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 Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git
Add firmware image update function supported for gen5 trackpad device,
which its function is supplied through cyapa core update_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index
Add read firmware image function supported for gen3 trackpad device,
which its function is supplied through cyapa core read_fw interface.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c
index
Add key basic function interfaces in cyapa driver in sysfs system,
these interfaces are commonly used in pre- and after production, and
for trackpad device state checking, manage and firmware image updating.
These interfaces including firmware_version and product_id interfaces
for reading firmware
Torokhov [mailto:dmitry.torok...@gmail.com]
> Sent: Tuesday, May 20, 2014 11:43 AM
> To: Dudley Du
> Cc: Benson Leung; Daniel Kurtz; David Solda; linux-in...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 4/6] input: cyapa: enable/disable trackpad device based
>
Hi Dmitry,
Thanks for your advice, I will organize it and resubmit it as v2.
Thanks,
Dudley
> -Original Message-
> From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
> Sent: Tuesday, May 20, 2014 11:48 AM
> To: Dudley Du
> Cc: Benson Leung; Daniel Kurtz; Dav
Hi Dmitry,
Thanks for your advice, I will organize it and resubmit it as v2.
Thanks,
Dudley
-Original Message-
From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com]
Sent: Tuesday, May 20, 2014 11:48 AM
To: Dudley Du
Cc: Benson Leung; Daniel Kurtz; David Solda; linux
[mailto:dmitry.torok...@gmail.com]
Sent: Tuesday, May 20, 2014 11:43 AM
To: Dudley Du
Cc: Benson Leung; Daniel Kurtz; David Solda; linux-in...@vger.kernel.org;
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/6] input: cyapa: enable/disable trackpad device based
on LID state
Hi Dudley,
On Wed
Hi Dmitry,
Could you help review the patches of input: cyapa for re-architecture and
supporting new trackpad devices, I'm really looking forward your responses.
Thanks,
Dudley
> This patch set is made based on kernel 3.14.0. It's aimed to re-architecture
> the cyapa driver to support the old
Hi Dmitry,
Could you help review the patches of input: cyapa for re-architecture and
supporting new trackpad devices, I'm really looking forward your responses.
Thanks,
Dudley
This patch set is made based on kernel 3.14.0. It's aimed to re-architecture
the cyapa driver to support the old
Rely on EV_SW and SW_LID bits to identify a LID device, and hook
up our filter to listen for SW_LID events to enable/disable touchpad when
LID is open/closed.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index
In order to save power when the trackpad device is not used, the sleep power
mode and runtime power mode must be supported.
And the enter sleep time can be configured in the sysfs system.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c
This patch set is made based on kernel 3.14.0. It's aimed to re-architecture
the cyapa driver to support the old gen3 trackpad device and new gen5 trackpad
device in one cyapa driver for easily products support based on customers'
requirements, and add sysfs functions and interfaces supported
This patch set is made based on kernel 3.14.0. It's aimed to re-architecture
the cyapa driver to support the old gen3 trackpad device and new gen5 trackpad
device in one cyapa driver for easily products support based on customers'
requirements, and add sysfs functions and interfaces supported
In order to save power when the trackpad device is not used, the sleep power
mode and runtime power mode must be supported.
And the enter sleep time can be configured in the sysfs system.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git
Rely on EV_SW and SW_LID bits to identify a LID device, and hook
up our filter to listen for SW_LID events to enable/disable touchpad when
LID is open/closed.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa.c
This patch set is made based on kernel 3.14.0. It's aimed to
re-architecture the cyapa driver to support the old gen3 trackpad
device and new gen5 trackpad device in one cyapa driver for
easily products support based on customers' requirements,
and add sysfs functions and interfaces supported that
In order to save power when the trackpad device is not used, the sleep power
mode and runtime power mode must be supported. And the enter sleep time can
be configured in the sysfs system.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c
Rely on EV_SW and SW_LID bits to identify a LID device, and hook
up our filter to listen for SW_LID events to enable/disable touchpad when
LID is open/closed.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley
---
diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c
index
Rely on EV_SW and SW_LID bits to identify a LID device, and hook
up our filter to listen for SW_LID events to enable/disable touchpad when
LID is open/closed.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git a/drivers/input/mouse/cyapa.c
This patch set is made based on kernel 3.14.0. It's aimed to
re-architecture the cyapa driver to support the old gen3 trackpad
device and new gen5 trackpad device in one cyapa driver for
easily products support based on customers' requirements,
and add sysfs functions and interfaces supported that
In order to save power when the trackpad device is not used, the sleep power
mode and runtime power mode must be supported. And the enter sleep time can
be configured in the sysfs system.
TEST=test on Chomebooks.
Signed-off-by: Du, Dudley d...@cypress.com
---
diff --git
linux-input/msg24095.html
> ... is a PREREQUISITE for this driver.
>
> This [PATCH v7] version differs from my previous submitted version[5]:
>
> Changes as recommended by Henrik Rydberg and Dudley Du:
>
> - cypress_get_finger_count() returns -1 to indicate invalid packet
> (Dudley
for this driver.
This [PATCH v7] version differs from my previous submitted version[5]:
Changes as recommended by Henrik Rydberg and Dudley Du:
- cypress_get_finger_count() returns -1 to indicate invalid packet
(Dudley, this is a variation on your return 6 proposal -- OK?).
It's okay
inics.net/lists/linux-input/msg24047.html
> > [4] PATCH v5: http://www.spinics.net/lists/linux-input/msg24096.html
> > [5] cmdbuf patch:
> > http://www.spinics.net/lists/linux-input/msg24095.html
> >
> > -- >8 --
> > From: Dudley Du
> > Subject: [PATCH v
: Dudley Du d...@cypress.com
Subject: [PATCH v6] input: Cypress PS/2 Trackpad psmouse driver
Input/mouse driver for Cypress PS/2 Trackpad.
Original code contributed by Dudley Du (Cypress Semiconductor
Corporation), modified by Kamal Mostafa and Kyle Fazzari.
BugLink: http
Hi Henrik, Kamal,
Thanks for your review.
And I add some comments in below.
Thanks.
Dudley Du
d...@cypress.com
> Hi Henrik-
>
> Thanks again for your review. The forthcoming PATCH v4 includes the majority
> of your change requests, except where noted below (and consider
Hi Henrik, Kamal,
Thanks for your review.
And I add some comments in below.
Thanks.
Dudley Du
d...@cypress.com
Hi Henrik-
Thanks again for your review. The forthcoming PATCH v4 includes the majority
of your change requests, except where noted below (and considering my email
Subject
Hi Henrik,
Okay, agree.
Thanks.
Best Wishes,
Dudley Du
d...@cypress.com
-Original Message-
From: Henrik Rydberg [mailto:rydb...@euromail.se]
Sent: Monday, December 03, 2012 2:31 PM
To: Dudley Du
Cc: Kamal Mostafa; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org;
Dmitry
method to calculate the slots, not using latest interface
input_mt_assign_slots() here.
What's your idea about it?
Thanks.
Best Wishes,
Dudley Du
d...@cypress.com
-Original Message-
From: Dudley Du
Sent: Monday, December 03, 2012 11:21 AM
To: 'Kamal Mostafa'; linux-in...@vger.kernel.org
and trackpad still working
fine.
So I want to know what situation is in your test to this function,
could you help describe your test steps to me, so we can figure out this issue.
Thanks.
Best Wishes,
Dudley Du
d...@cyrpess.com
>From: Cypress Semiconductor Corporation
>
>Input/mou
> Instead of SEMI_MT, present a full mt interface with simulated contact
> positions for >=3 fingers. Enables e.g. multi-finger tap and drag.
>
> Signed-off-by: Kamal Mostafa
> ---
> drivers/input/mouse/cypress_ps2.c | 16
> drivers/input/mouse/cypress_ps2.h | 14
Instead of SEMI_MT, present a full mt interface with simulated contact
positions for =3 fingers. Enables e.g. multi-finger tap and drag.
Signed-off-by: Kamal Mostafa ka...@canonical.com
---
drivers/input/mouse/cypress_ps2.c | 16
drivers/input/mouse/cypress_ps2.h |
and trackpad still working
fine.
So I want to know what situation is in your test to this function,
could you help describe your test steps to me, so we can figure out this issue.
Thanks.
Best Wishes,
Dudley Du
d...@cyrpess.com
From: Cypress Semiconductor Corporation customerc...@cypress.com
Input
method to calculate the slots, not using latest interface
input_mt_assign_slots() here.
What's your idea about it?
Thanks.
Best Wishes,
Dudley Du
d...@cypress.com
-Original Message-
From: Dudley Du
Sent: Monday, December 03, 2012 11:21 AM
To: 'Kamal Mostafa'; linux-in...@vger.kernel.org
Hi Henrik,
Okay, agree.
Thanks.
Best Wishes,
Dudley Du
d...@cypress.com
-Original Message-
From: Henrik Rydberg [mailto:rydb...@euromail.se]
Sent: Monday, December 03, 2012 2:31 PM
To: Dudley Du
Cc: Kamal Mostafa; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org;
Dmitry
701 - 766 of 766 matches
Mail list logo