]> git.baikalelectronics.ru Git - kernel.git/commit
iio: accel: kxcjk-1013: Support thresholds
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 22 Aug 2014 19:01:00 +0000 (20:01 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 26 Aug 2014 20:07:35 +0000 (21:07 +0100)
commit53573dbf902014621452dc390e674729a2f3a6a0
tree8c4a6a15c70acc82384d9d01673d1f5c4fdcd49f
parent969560f223e3e6a3dc1be6b6110963b919c6b40e
iio: accel: kxcjk-1013: Support thresholds

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: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxcjk-1013.c