Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754332AbaF3GlD (ORCPT ); Mon, 30 Jun 2014 02:41:03 -0400 Received: from relay-s04-hub005.domainlocalhost.com ([74.115.207.216]:23102 "EHLO relay-S04-HUB005.domainlocalhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbaF3GlA (ORCPT ); Mon, 30 Jun 2014 02:41:00 -0400 From: Dudley Du To: Alan Stern , Dmitry Torokhov , "patrikf@google.com" , "Rafael J. Wysocki" CC: Benson Leung , Daniel Kurtz , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver Thread-Topic: [PATCH v2 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver Thread-Index: Ac+ULjhEwkp8lgV3RSWLQ2Yycfo9ag== Date: Mon, 30 Jun 2014 06:40:46 +0000 Message-ID: <77BC725C9062764F874D79F51E1F1A8F4C902BF0@S04-MBX01-01.s04.local> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.30.12.155] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id s5U6f6jt009548 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 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_gen3.c - functions supported for gen3 trackpad devices, cyapa_gen5.c - functions supported 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/14: re-architecture cyapa driver with core functions, and applying the device detecting function in async thread to speed up system boot time. patch 2/14: add cyapa driver power management interfaces supported. patch 3/14: add cyapa driver runtime power management interfaces supported. patch 4/14: 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/14: add read firmware image and read raw trackpad device' sensors' raw data interface in debugfs system. patch 6/14: add gen3 trackpad device basic functions supported. patch 7/14: add gen3 trackpad device firmware update function supported. patch 8/14: add gen3 trackpad device report baseline and do force re-calibrate functions supported. patch 9/14: add gen3 trackpad device read firmware image function supported. patch 10/14: add gen5 trackpad device basic functions supported. patch 11/14: add gen5 trackpad device firmware update function supported. patch 12/14: add gen5 trackpad device report baseline and do force re-calibrate functions supported. patch 13/14: add gen5 trackpad device read firmware image and report sensors' raw data values functions supported. patch 14/14: add function to monitor LID close event to off trackpad device. This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?