[PATCH 5/5]: lis302dl-wakeup-configuration.patch

Andy Green andy at openmoko.com
Fri Oct 17 12:28:57 CEST 2008

Hash: SHA1

Somebody in the thread at some point said:

| So is it only the "top" accelerometer that can wake up the phone ? Or
| could it be changed to be the "bottom" one instead ?
| (I do not know in which cases it would be usefull, but there might be...
| well there is at least the case where one accelerometer is not working
| correctly)

It's a different question, each of the two chips itself has two
interrupt pins coming out of the chip, so for pins anyway there is sort
of top.int1, top.in2, bot.int1 and bot.int2.

On A5 we tied the int1 and int2 interrupts on each chip together, and
routed these combined interrupt signals to the CPU.  But we missed that
the bottom accel's combined interrupt signal went on a CPU pin that is
not able to wake, so for A5 only top accel can wake.

On A6 we just used int1 interrupt from each chip alone to the CPU, but
we took care that the interrupts from both chips go to CPU pins that can
operate as wake sources.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list