• S
    iio: accel: kxcjk-1013: Support thresholds · b4b491c0
    Srinivas Pandruvada 提交于
    This chip has a motion detect capability. Using IIO events to
    specify thresholds and pushing events.
    In addition a new trigger of type any-motion is added, which
    pushes data to buffer only when there is any movement.
    
    Change list:
    Comments addressed for
    Re: [PATCH 5/6] iio: accel: kxcjk-1013: Support thresholds
    Date: 07/20/2014
    
    - Both motion detect and data ready can be enabled together
    - Sending RISING/FALLING events based on int status
    - Separate interrupt configuration for data ready and motion detect
    Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    Signed-off-by: NJonathan Cameron <jic23@kernel.org>
    b4b491c0
kxcjk-1013.c 31.8 KB