public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] OMAP: tsc2005: Configuration and stability changes
@ 2009-02-16 13:49 Phil Carmody
  2009-02-16 13:49 ` [PATCH 1/2] OMAP: tsc2005: Bringing driver's configuration (e.g. of IRQ/SPI) up to date Phil Carmody
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Carmody @ 2009-02-16 13:49 UTC (permalink / raw)
  To: linux-omap; +Cc: ext-phil.2.carmody

I have attempted to separate what looked like it might be a painful big 
patch into two logically distinct smaller patches. Fortunately no lines
of code are touched by both patches, so it's possible to consider their
changes independently. 0001 is relative to the current master HEAD. 
 
Firstly, 0001 addresses changes in the structure of the driver and brings
the driver up to date with respect to TI's datasheet errata (March 2008),
but doesn't change the bahaviour of the state machine at all.

Secondly, 0002 modifies the state machine behavior for improved stability.
It uses PENDAV mode, rather than DAV mode, which provides a regular stream
of interrupts while the pen is down. In order to compensate for IRQs which
can't be handled synchronously, a saturating counting scheme is added, and 
if there are any IRQs that haven't yet been handled when an SPI read 
completes, or the pen-up timeout expires, then another SPI read is started.
For additional stability, the batch delay and pen-up timeout are increased
in order to limit the rate of the interrupts.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-18  0:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-16 13:49 [PATCH 0/2] OMAP: tsc2005: Configuration and stability changes Phil Carmody
2009-02-16 13:49 ` [PATCH 1/2] OMAP: tsc2005: Bringing driver's configuration (e.g. of IRQ/SPI) up to date Phil Carmody
2009-02-16 13:49   ` [PATCH 2/2] OMAP: tsc2005: Change state machine to be more stable Phil Carmody
2009-02-17 17:43     ` Trilok Soni
2009-02-18  0:16       ` Tony Lindgren
2009-02-17 17:48   ` [PATCH 1/2] OMAP: tsc2005: Bringing driver's configuration (e.g. of IRQ/SPI) up to date Trilok Soni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox