Re: [PATCH] touchscreen: Cypress TTSP G3 MTDEV Core Driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Henrik Rydberg
Date: Monday, November 15, 2010 - 9:46 am

On 11/09/2010 07:25 PM, Kevin McNeely wrote:




Thanks for your submission. Please find comments on MT inline. On a general
note, it is strongly recommended that this driver be converted to the MT slots
(type B) protocol.



I take it the gesture functionality is not in use in this driver?



Given how this mapping is used, it could possibly be dropped altogether. See
further comment on cyttsp_init_tch_map().




It seems the device does not report contact width, so it is better not reported
at all.



Apart from the ids, what information is used from the previous frame?



What does this initialization actually do?



Calling cyttsp_get_xydata() four times with special arguments would make this
function unnecessary.




This value does not seem to be reported by the device and should be dropped.



Reporting tracking id here unfortunately does not work very well. With the type
A protocol, ids not reported will automatically be removed, and



checking for zero touch like this only applies for drivers not reporting
tracking id.



Since the device does its own tracking, the driver would benefit greatly from
using the type B protocol.




How about expanding this loop with special arguments instead?



These do not seem to be used anywhere.



Neither do these.

Thanks,
Henrik
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] touchscreen: Cypress TTSP G3 MTDEV Core Driver, Kevin McNeely, (Tue Nov 9, 11:25 am)
Re: [PATCH] touchscreen: Cypress TTSP G3 MTDEV Core Driver, Henrik Rydberg, (Mon Nov 15, 9:46 am)
RE: [PATCH] touchscreen: Cypress TTSP G3 MTDEV Core Driver, Kevin McNeely, (Fri Nov 19, 10:39 am)
Re: [PATCH] touchscreen: Cypress TTSP G3 MTDEV Core Driver, Dmitry Torokhov, (Wed Dec 1, 5:34 pm)