Touchscreen controller temperature patch

Malcolm malcolm.parsons at gmail.com
Thu Nov 15 17:19:07 CET 2007


On Nov 15, 2007 3:54 PM, Stefan Sperling <stsp at stsp.name> wrote:
> On Thu, Nov 15, 2007 at 11:50:04AM +0000, Malcolm wrote:
> > On Nov 14, 2007 11:24 PM, John S. Skogtvedt <jss2k2 at getmail.no> wrote:
> >
> > > The patch isn't 100% clean. I'm not sure about overloading the
> > > FIFO_POWER case and and 3 bits of the temperature (20.12 fixed point) is
> > > lost. But that probably shouldn't matter, the temperature isn't that
> > > accurate anyway.
> >
> > Use FIFO_TOUCH.
>
> Is there command space left in FIFO_TOUCH?

FIFO_TOUCH is 8bits x, 8bits y, 1 bit touched.
So only 17bits are used.
Plenty of space left for a bit saying whether or not it's a temperature reading.

> It would also be great if we could suspend when the lid is closed
> some day, I guess FIFO_POWER might also be useful for that?

Yes.

-- 
Malcolm Parsons


More information about the dslinux-devel mailing list