Staging: IIO: lis3l02dq ring buffer and data ready trigger support
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 18 Aug 2009 17:06:28 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:25 +0000 (12:02 -0700)
commit14cd9a73d97e3c1063fa1b2b02ef32ac8a914e11
tree03e4dd0eb66d47f79d02bf6810151dd02c3da625
parent2235acb21890cdd3bc189720b4e98fc1b5c3b268
Staging: IIO: lis3l02dq ring buffer and data ready trigger support

Example of relatively common case of device sampling
based on internal clock and providing a data ready
signal to indicate that new data is available to be
read out.

Generic trigger approach used to allow other devices
to be sampled 'at the same time' as this the accelerometer.
This is very useful in various motion estimation algorithms.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/Makefile
drivers/staging/iio/accel/lis3l02dq.h
drivers/staging/iio/accel/lis3l02dq_ring.c [new file with mode: 0644]