Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249Ab3CBD5i (ORCPT ); Fri, 1 Mar 2013 22:57:38 -0500 Received: from mail-ob0-f177.google.com ([209.85.214.177]:33509 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747Ab3CBD5f (ORCPT ); Fri, 1 Mar 2013 22:57:35 -0500 MIME-Version: 1.0 In-Reply-To: <1362187254-9227-2-git-send-email-bleung@chromium.org> References: <1362187254-9227-1-git-send-email-bleung@chromium.org> <1362187254-9227-2-git-send-email-bleung@chromium.org> Date: Fri, 1 Mar 2013 19:57:34 -0800 X-Google-Sender-Auth: C74tok-U0WTHRlAME8IvW-xkKAM Message-ID: Subject: Re: [PATCH 1/2] Input: atmel_mxt_ts - add device id for touchpad variant From: Olof Johansson To: Benson Leung Cc: miletus@chromium.org, dmitry.torokhov@gmail.com, matthew.garrett@nebula.com, rydberg@euromail.se, djkurtz@chromium.org, jy0922.shim@samsung.com, wfp5p@virginia.edu, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1589 Lines: 41 (sorry for duplicate post to some of you, my mail client defaulted to HTML email for some reason). 2013/3/1 Benson Leung > > From: Daniel Kurtz > > This same driver can be used by atmel based touchscreens and touchpads > (buttonpads) by instantiating the i2c device as a "atmel_mxt_tp". > > This will cause the driver to perform some touchpad specific > initializations, such as: > * register input device name "Atmel maXTouch Touchpad" instead of > Touchscreen. > * register BTN_LEFT & BTN_TOOL_* event types. > * register axis resolution (as a fixed constant, for now) > * register BUTTONPAD property > * process GPIO buttons using reportid T19 > > For now, the left mouse button is mapped to GPIO3. Going forward, > platform data should specify the configuration of the buttons. > They can be configured via a future platform data change to > specify optional middle and right buttons, as well as other possible > uses for the GPIO object T19. > > Signed-off-by: Daniel Kurtz > Signed-off-by: Benson Leung > > Change-Id: Ia82e75d85111c94f6c3fb423181df0fa4b964fc4 Please remember to remove Change-Id on future patch postings. Tested with native Linux Mint +mainline kernel earlier today, so: Tested-by: Olof Johansson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/