Re: [PATCH] [ARM] pxa/em-x270: add synaptics_i2c touchpad
From: Pavel Machek <hidden>
Date: 2009-08-22 12:00:32
Also in:
lkml
Hi!
quoted
quoted
quoted
quoted
quoted
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