From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755823AbZHVMAc (ORCPT ); Sat, 22 Aug 2009 08:00:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755800AbZHVMAc (ORCPT ); Sat, 22 Aug 2009 08:00:32 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49994 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755767AbZHVMAb (ORCPT ); Sat, 22 Aug 2009 08:00:31 -0400 Date: Fri, 21 Aug 2009 16:16:14 +0200 From: Pavel Machek To: Mike Rapoport Cc: Eric Miao , linux-arm-kernel@lists.arm.linux.org.uk, kernel list , linux-input@atrey.karlin.mff.cuni.cz Subject: Re: [PATCH] [ARM] pxa/em-x270: add synaptics_i2c touchpad Message-ID: <20090821141614.GC1456@ucw.cz> References: <4A65207A.8070909@gmail.com> <20090729150859.GK1534@ucw.cz> <4A7071CD.9020303@compulab.co.il> <20090804131455.GG18974@elf.ucw.cz> <4A792913.8040006@compulab.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A792913.8040006@compulab.co.il> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > >>>>> This patch set adds synaptics_i2c touchpad device registration for the exeda > >>>>> platform together with voltage reulator glue needed to enable the touchpad > >>>>> controller. > >>>>> > >>> Hmm, t-mobile g1 uses synaptics touchpad connected over i2c, too... Is > >>> there chance they are compatible or at least similar? > >> The touchpad controller I have uses the same RMI protocol that g1 does, but it > >> supports different register set. Besides, g1 has a *touchscreen* and exeda has > >> 1.5cm x 1.5cm *touchpad*. > > > > Can we get some code shared? It still looks similar enough. > > The controller detection and basic initialization (report rate, filtering, Z > Clip) seems to be the same. But afterwards things begin to diverge. For > instance, g1 reads and parses 15 bytes of data, whilst my touchpad has only 9 > data registers. > It seems to me that it should be possible to share initialization and basic > register access, and have different work functions and input events reporting. > > Probably if we had full implementation of Synaptics RMI protocol we could have > single driver for all RMI-compatible Synaptics devices. RMI states that device > can report what functionality it supports and based on that it should be > possible to provide appropriate event parsing and reporting. Thanks for info. It seems like merging them is project far ahead... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html