From patchwork Tue Aug 14 18:44:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 177415 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C97E62C0083 for ; Wed, 15 Aug 2012 04:45:02 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T1M6l-0005KQ-F1; Tue, 14 Aug 2012 18:44:51 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T1M6j-0005KH-C9 for kernel-team@lists.ubuntu.com; Tue, 14 Aug 2012 18:44:49 +0000 Received: from c-50-136-208-221.hsd1.ca.comcast.net ([50.136.208.221] helo=[192.168.1.7]) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1T1M6i-0007aZ-Tu; Tue, 14 Aug 2012 18:44:49 +0000 Message-ID: <1344969889.31588.51.camel@fourier> Subject: [Quantal][PULL v2] Cypress PS/2 Trackpad driver From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Date: Tue, 14 Aug 2012 11:44:49 -0700 In-Reply-To: <1344882872.13390.27.camel@fourier> References: <1344882872.13390.27.camel@fourier> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com [ *PULL v2: just more whitespace fixes in "code style cleanup" ] This patch set provides a driver for the Cypress PS/2 Trackpad found in the Dell XPS 13, XPS 15, and other laptop models. The driver has been tested extensively in the "Sputnik Project" ISO and kernel PPA. I have verified that the driver doesn't adversely affect non-Cypress trackpads by testing various laptops with Synaptics and Elantech trackpads. I will submit the driver to mainline on behalf of Cypress, but we'd like to see it land in Ubuntu sooner rather than later. SRU for Precise to follow inclusion in Quantal. Bug reference: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/978807 'Cypress Trackpad' incorrectly detected as 'ImPS/2 Generic Wheel Mouse' in 'Dell XPS 13 Ultrabook' Thanks, -Kamal ---------- The following changes since commit 0937d042b97a9540b5488ab172aa14b53e80014b: UBUNTU: Ubuntu-3.5.0-10.10 (2012-08-12 13:18:25 -0700) are available in the git repository at: git://kernel.ubuntu.com/kamal/ubuntu-quantal.git cypress-for-quantal for you to fetch changes up to c7d8134e5da65df7abfbc3db95f1233cff5301fd: UBUNTU: SAUCE: [Config] add MOUSE_PS2_CYPRESS=y (2012-08-14 11:13:34 -0700) ---------------------------------------------------------------- Cypress Semiconductor Corporation (2): UBUNTU: SAUCE: input: Cypress PS/2 Trackpad mouse driver UBUNTU: SAUCE: input: Cypress PS/2 Trackpad link driver into psmouse-base Kamal Mostafa (5): UBUNTU: SAUCE: input: Cypress PS/2 Trackpad code style cleanup UBUNTU: SAUCE: input: Cypress PS/2 Trackpad eliminate dead code UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix no-config stubs UBUNTU: SAUCE: input: Cypress PS/2 Trackpad set default debug_level=0 UBUNTU: SAUCE: [Config] add MOUSE_PS2_CYPRESS=y debian.master/config/config.common.ubuntu | 1 + drivers/input/mouse/Kconfig | 10 + drivers/input/mouse/Makefile | 1 + drivers/input/mouse/cypress_ps2.c | 943 +++++++++++++++++++++++++++++ drivers/input/mouse/cypress_ps2.h | 220 +++++++ drivers/input/mouse/psmouse-base.c | 40 ++ drivers/input/mouse/psmouse.h | 2 + 7 files changed, 1217 insertions(+) create mode 100644 drivers/input/mouse/cypress_ps2.c create mode 100644 drivers/input/mouse/cypress_ps2.h