development kernel tree: Changes to 'stable'

git at git.openmoko.org git at git.openmoko.org
Fri Aug 15 12:51:20 CEST 2008


 drivers/input/misc/lis302dl.c |  241 +++++++++++++++++++++++++++++++++++++++--
 include/linux/lis302dl.h      |    8 +-
 2 files changed, 235 insertions(+), 14 deletions(-)

New commits:
commit 2d61a7406ec89893cdb4246d3f0144818278a5d8
Author: Andy Green <andy at openmoko.com>
Date:   Fri Aug 15 11:51:04 2008 +0100

    checkpatch-accel-fixes.patch
    
    style cleanups for accel threshold setting patch
    
    Signed-off-by: Andy Green <andy at openmoko.com>

commit 69acbd477fb7024d2cfa3702036b92ecb6c8e7b5
Author: Simon Kagstrom <simon.kagstrom at gmail.com>
Date:   Fri Aug 15 11:50:56 2008 +0100

    interface for configuring freefall/wakeup interrupts for the accelerometers
    
    Hi!
    
    First: Unfortunately, the freerunner currently wakes up immediately on
    suspend when the accelerometer IRQ is selected as a wakeup source. I'm
    posting this for comments and if someone else wants to have a look at
    this problem.
    
    The patch should be safe to apply even though the sleep portion doesn't
    work - as long as it's configured it will not disturb anything.
    
    // Simon
    --
    lis302dl-configure-wakeup-interrupts.patch
    
    From: simon.kagstrom <simon.kagstrom at gmail.com>
    
    First: Unfortunately, the freerunner currently wakes up immediately on
    suspend when the accelerometer IRQ is selected as a wakeup source.
    
    
    Add configuration of wakeup/freefall interrupts through a sysfs
    interface. Configuration is done through echoing a value of the
    form
    
       X Y Z THRESHOLD DURATION SPEC
    
    to freefall_wakeup_1/2. X, Y and Z are threshold values, given as a
    value > 0, < 0 or 0 to specify if an interrupt should be generated for
    high or low thresholds or neither (off). THRESHOLD specifies the
    threshold that must be exceeded. DURATION specifies the time in
    milliseconds for which the acceleration should be measured. SPEC is
    either '1' or '0' and specifies if the thresholds should be taken all
    together or one at a time ('and' or 'or' mode).
    
    Echoing '0' to the file turns off the interrupts.
    
    Example:
    
      echo "1 1 1 60 60 0" > freefall_wakeup_1   # Turn on x,y,z, 60ms/60 threshold, or-mode
      echo "0" > freefall_wakeup_1 # Turn off interrupt
    
    The hardware supports two simulataneous wakeup sources to be configured,
    but the freerunner only connects one of the interrupt outputs. The patch
    exports both. Similarly, only the "top" accelerometer can be used as a
    wake-up source, and it's not possible to generate DATA_READY interrupts
    while the wakeup interrupts are active.
    
    Signed-off-by: Simon Kagstrom <simon.kagstrom at gmail.com>





More information about the commitlog mailing list