linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] input: cyapa: intruction of cyapa patches
@ 2014-10-15  7:19 Dudley Du
  2014-10-15  7:19 ` [PATCH 01/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver Dudley Du
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Dudley Du @ 2014-10-15  7:19 UTC (permalink / raw)
  To: dmitry.torokhov, rydberg
  Cc: Dudley Du, bleung, patrikf, linux-input, linux-kernel

Based on Dmitry's comments, I made v8 patches of cyapa trackpad device
with below updates compared with v7 patches:
1) [PATCH v8 01/13] - Remove the async thread for device detect in
   proble routine, now the device detect process is completly done within
   the device proble routine.
2) [PATCH v8 01/13] - Split the irq cmd hander function to separated
   function cyapa_default_irq_cmd_handler() and set it to interface
   cyapa_default_ops.irq_cmd_handler.
3) [PATCH v8 06/13] - Add cyapa->gen check in cyapa_gen3_irq_cmd_handler()
   to avoid miss-enter when device protocol is still in detecting.

   
V7 patches have below updates compared with v6 patches:
1) [PATCH v7 01/13] - Split the irq cmd hander function to separated
   function cyapa_default_irq_cmd_handler() and set it to interface
   cyapa_default_ops.irq_cmd_handler.
2) [PATCH v7 06/13] - Add cyapa->gen check in cyapa_gen3_irq_cmd_handler()
   to avoid miss-enter when device protocol is still in detecting.


V6 patches have below updates compared with v5 patches:
1) Remove patch 14 of the lid filtering from the cyapa driver.

V5 patches have below updates compared with v4 patches:
1) Uses get_device()/put_device() instead of kobject_get()/kobject_put();
2) Fix memories freed before debugfs entries issue;
3) Make cyapa_debugs_root valid in driver module level
   in module_init()/moudle_exit() ;
4) Fix i2c_transfer() may return partial transfer issues.
5) Add cyapa->removed flag to avoid detecting thread may still running
   when driver module is removed.
6) Fix the meanings of some comments and return error code not clear issue.

This patch set is 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 that required by users and customers.
Because the earlier gen3 and the latest gen5 trackpad devies using
two different chipsets, and have different protocol and interfaces.
If supported these two trackpad devices in two different drivers, then
it will be difficult to manage productions and later firmware updates.
it will cause customer don't know which one to use and update
because these two trackpad devices have been used and integrated
in same one productions at a time, so must to support these two trackpad
devices in same on driver.

The new architecture is made of:
cyapa.c - the core of the architecture, supply interfaces and
functions to system and read trackpad devices.
cyapa.h - header file including macros and data structure definitions.
cyapa_gen3.c - functions support for gen3 trackpad devices,
cyapa_gen5.c - functions support for gen5 trackpad devices.

Beside this introduction patch, it has 14 patches listed as below.
For these patches each one is patched based on previous one.

patch 1/13: re-architecture cyapa driver with core functions,
and applying the device detecting function in async thread to speed
up system boot time.

patch 2/13: add cyapa driver power management interfaces support.

patch 3/13: add cyapa driver runtime power management interfaces support.

patch 4/13: add cyapa key function interfaces in sysfs system.
Including read firmware version, get production ID, read baseline,
re-calibrate trackpad baselines and do trackpad firmware update.

patch 5/13: add read firmware image and read raw trackpad device'
sensors' raw data interface in debugfs system.

patch 6/13: add gen3 trackpad device basic functions support.

patch 7/13: add gen3 trackpad device firmware update function support.

patch 8/13: add gen3 trackpad device report baseline and do force
re-calibrate functions support.

patch 9/13: add gen3 trackpad device read firmware image function support.

patch 10/13: add gen5 trackpad device basic functions support.

patch 11/13: add gen5 trackpad device firmware update function support.

patch 12/13: add gen5 trackpad device report baseline and do force
re-calibrate functions support.

patch 13/13: add gen5 trackpad device read firmware image and report
sensors' raw data values functions support.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-10-20  2:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15  7:19 [PATCH 00/13] input: cyapa: intruction of cyapa patches Dudley Du
2014-10-15  7:19 ` [PATCH 01/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver Dudley Du
2014-10-15  7:19 ` [PATCH 02/13] input: cyapa: add cyapa driver power management interfaces support Dudley Du
2014-10-15  7:19 ` [PATCH 03/13] input: cyapa: add cyapa driver runtime " Dudley Du
2014-10-15  7:19 ` [PATCH 04/13] input: cyapa: add cyapa key function interfaces in sysfs system Dudley Du
2014-10-15  7:19 ` [PATCH 05/13] input: cyapa: add read firmware image and raw data interfaces in debugfs system Dudley Du
2014-10-15  7:19 ` [PATCH 06/13] input: cyapa: add gen3 trackpad device basic functions support Dudley Du
2014-10-15  7:19 ` [PATCH 07/13] input: cyapa: add gen3 trackpad device firmware update function support Dudley Du
2014-10-15  7:19 ` [PATCH 08/13] input: cyapa: add gen3 trackpad device baseline and calibrate functions support Dudley Du
2014-10-15  7:19 ` [PATCH 09/13] input: cyapa: add gen3 trackpad device read firmware image function support Dudley Du
2014-10-15  7:19 ` [PATCH 10/13] input: cyapa: add gen5 trackpad device basic functions support Dudley Du
2014-10-15  7:19 ` [PATCH 11/13] input: cyapa: add gen5 trackpad device firmware update function support Dudley Du
2014-10-15  7:19 ` [PATCH 12/13] input: cyapa: add gen5 trackpad device baseline and calibrate functions support Dudley Du
2014-10-15  7:19 ` [PATCH 13/13] input: cyapa: add gen5 trackpad device read firmware image and raw data " Dudley Du
2014-10-15  7:37 ` [PATCH 00/13] input: cyapa: intruction of cyapa patches Dudley Du
2014-10-20  1:15 ` Dudley Du

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).